TWI490515B - Automatic test equipment and clock synchronization method - Google Patents

Automatic test equipment and clock synchronization method Download PDF

Info

Publication number
TWI490515B
TWI490515B TW102147460A TW102147460A TWI490515B TW I490515 B TWI490515 B TW I490515B TW 102147460 A TW102147460 A TW 102147460A TW 102147460 A TW102147460 A TW 102147460A TW I490515 B TWI490515 B TW I490515B
Authority
TW
Taiwan
Prior art keywords
clock
time interval
module
detecting module
synchronization
Prior art date
Application number
TW102147460A
Other languages
Chinese (zh)
Other versions
TW201525496A (en
Inventor
kai lun Yang
Shin Wen Lin
Original Assignee
Chroma Ate Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chroma Ate Inc filed Critical Chroma Ate Inc
Priority to TW102147460A priority Critical patent/TWI490515B/en
Application granted granted Critical
Publication of TWI490515B publication Critical patent/TWI490515B/en
Publication of TW201525496A publication Critical patent/TW201525496A/en

Links

Description

自動測試設備以及時脈同步方法Automatic test equipment and clock synchronization method

本發明有關於一種自動測試設備以及時脈同步方法,且特別是有關於一種可快速同步不同檢測模組之時脈的自動測試設備以及時脈同步方法。The invention relates to an automatic test device and a clock synchronization method, and in particular to an automatic test device and a clock synchronization method for quickly synchronizing clocks of different detection modules.

自動測試設備(automatic test equipment,ATE),例如半導體積體電路(integrated circuit,IC)測試機台,常會遇到在同一顆積體電路下有不同測試速度要求,造成自動測試設備中的各個檢測模組的訊號產生頻率偏移或相位偏移,使得各個檢測模組的時脈(clock rate,亦稱時脈速度)產生不同步的現象。Automatic test equipment (ATE), such as semiconductor integrated circuit (IC) test machines, often encounter different test speed requirements under the same integrated circuit, resulting in various tests in automatic test equipment. The signal of the module generates a frequency offset or a phase offset, so that the clock rate (also known as the clock speed) of each detection module is not synchronized.

當自動測試設備對上述之積體電路檢測完畢後,需要將自動測試設備中的各個檢測模組的時脈進行同步,否則無下進行下一階段的檢測程序。After the automatic test equipment detects the above-mentioned integrated circuit, it is necessary to synchronize the clocks of the respective detection modules in the automatic test equipment, otherwise the next stage of the detection process is not performed.

然而,習知的自動測試設備的同步架構大多是以延緩或加快各個檢測模組的時脈來進行同步,除了控制複雜且繁複而需花費較多時間來進行同步之外,各個檢測模組的時脈對應於時間軸上時也無法很精確的對準同步,造成後續 的檢測程序可能會因此而失準。However, the synchronization architecture of the conventional automatic test equipment mostly synchronizes by delaying or accelerating the clock of each detection module. In addition to complicated and complicated control, it takes time to synchronize, and each detection module When the clock corresponds to the time axis, the alignment synchronization cannot be accurately performed, resulting in subsequent The test procedure may be inaccurate.

有鑒於以上的問題,本揭露提出一種自動測試設備以及時脈同步方法,其透過對自動測試設備中的多個檢測模組執行同步程序,使得執行完同步程序的所述多個檢測模組的時脈可以同步於預設時脈。In view of the above problems, the present disclosure provides an automatic test device and a clock synchronization method, which perform a synchronization process on a plurality of detection modules in an automatic test device, so that the plurality of detection modules of the synchronization program are executed. The clock can be synchronized to the preset clock.

根據本揭露一實施例中的一種自動測試設備,此自動測試設備包括第一檢測模組、第二檢測模組、時脈產生模組以及處理模組。其中,處理模組電性連接第一檢測模組、第二檢測模組與時脈產生模組。第一檢測模組操作於第一初始時脈。第二檢測模組操作於第二初始時脈。時脈產生模組用以產生預設時脈。處理模組用以對第一檢測模組與第二檢測模組提供觸發訊號,此觸發訊號用以指示第一檢測模組與第二檢測模組執行同步程序。其中,於同步程序中,第一檢測模組在第一時間間隔內重設第一檢測模組的時脈,並在第一時間間隔結束後參考預設時脈設定第一檢測模組的時脈為第一時脈;第二檢測模組在第二時間間隔內重設第二檢測模組的時脈,並在第二時間間隔結束後參考預設時脈設定第二檢測模組的時脈為第二時脈。According to an embodiment of the present disclosure, an automatic test device includes a first detection module, a second detection module, a clock generation module, and a processing module. The processing module is electrically connected to the first detecting module, the second detecting module and the clock generating module. The first detection module operates on the first initial clock. The second detection module operates on the second initial clock. The clock generation module is used to generate a preset clock. The processing module is configured to provide a trigger signal to the first detecting module and the second detecting module, where the trigger signal is used to instruct the first detecting module and the second detecting module to perform a synchronization process. In the synchronization process, the first detection module resets the clock of the first detection module in the first time interval, and sets the time of the first detection module by referring to the preset clock after the end of the first time interval. The pulse is the first clock; the second detecting module resets the clock of the second detecting module in the second time interval, and sets the time of the second detecting module with reference to the preset clock after the second time interval ends. The pulse is the second clock.

根據本揭露一實施例中的一種時脈同步方法,此時脈同步方法適用於自動測試設備,且此自動測試設備至少包括第一檢測模組與第二檢測模組。其中,第一檢測模組與 第二檢測模組分別操作於第一初始時脈與第二初始時脈。時脈同步方法的步驟流程依序如下所述。首先,提供預設時脈。接著,產生觸發訊號,此觸發訊號用以指示第一檢測模組與第二檢測模組執行同步程序。最後,於同步程序中,第一檢測模組在第一時間間隔內重設第一檢測模組的時脈,並在第一時間間隔結束後參考預設時脈設定第一檢測模組的時脈為第一時脈。同一時間,於同步程序中,第二檢測模組在第二時間間隔內重設第二檢測模組的時脈,並在第二時間間隔結束後參考預設時脈設定第二檢測模組的時脈為第二時脈。According to a clock synchronization method in an embodiment of the present disclosure, the pulse synchronization method is applicable to an automatic test device, and the automatic test device includes at least a first detection module and a second detection module. Wherein, the first detection module and The second detecting module operates on the first initial clock and the second initial clock, respectively. The flow of the steps of the clock synchronization method is as follows. First, provide a preset clock. Then, a trigger signal is generated, and the trigger signal is used to instruct the first detection module and the second detection module to perform a synchronization process. Finally, in the synchronization process, the first detection module resets the clock of the first detection module in the first time interval, and sets the time of the first detection module with reference to the preset clock after the end of the first time interval. The pulse is the first clock. At the same time, in the synchronization process, the second detection module resets the clock of the second detection module in the second time interval, and sets the second detection module with reference to the preset clock after the second time interval ends. The clock is the second clock.

綜合以上所述,本揭露提供一種自動測試設備以及時脈同步方法,其透過提供一個穩定的預設時脈,並且在自動測試設備中的多個檢測模組於執行同步程序時,這些檢測模組會在各自的時間間隔內重設各自的時脈,並且在各自的時間間隔結束之後將各自的初始時脈設定為預設時脈,據以使得執行完同步程序後的所述多個檢測模組的時脈皆會同步於預設時脈。In summary, the present disclosure provides an automatic test device and a clock synchronization method, which provide a stable preset clock, and when a plurality of detection modules in an automatic test device execute a synchronization program, the detection modes are The groups reset their respective clocks in their respective time intervals, and set their respective initial clocks as preset clocks after the respective time intervals have ended, so that the plurality of detections after the synchronization procedure is executed The clock of the module will be synchronized to the preset clock.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

1‧‧‧自動測試設備1‧‧‧Automatic test equipment

10‧‧‧第一檢測模組10‧‧‧First detection module

12‧‧‧第二檢測模組12‧‧‧Second test module

14‧‧‧時脈產生模組14‧‧‧ clock generation module

16‧‧‧處理模組16‧‧‧Processing module

T1‧‧‧第一時間間隔T1‧‧‧ first time interval

T2‧‧‧第二時間間隔T2‧‧‧ second time interval

t1~t5‧‧‧時間點T1~t5‧‧‧ time point

S300~S304‧‧‧步驟流程S300~S304‧‧‧Step process

第1圖係為根據本揭露一實施例之自動測試設備的功 能方塊圖。Figure 1 is a diagram showing the work of an automatic test equipment according to an embodiment of the present disclosure. Can block diagram.

第2圖係為根據第1圖之自動測試設備於執行同步程序時的波形示意圖。Fig. 2 is a waveform diagram of the automatic test apparatus according to Fig. 1 when the synchronization procedure is executed.

第3圖係為根據本揭露一實施例之時脈同步方法的步驟流程圖。Figure 3 is a flow chart showing the steps of the clock synchronization method according to an embodiment of the present disclosure.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

〔自動測試設備之一實施例〕[An example of an automatic test equipment]

請一併參照第1圖與第2圖,第1圖係為根據本揭露一實施例之自動測試設備的功能方塊圖;第2圖係為根據第1圖之自動測試設備於執行同步程序時的波形示意圖。如第1圖所示,自動測試設備1主要包括第一檢測模組10、第二檢測模組12、時脈產生模組14以及處理模組16。其中,處理模組16電性連接第一檢測模組10、第二檢測模組12與時脈產生模組14。以下將分別就自動測試設備1中的各部功能模組作詳細的說明。Please refer to FIG. 1 and FIG. 2 together. FIG. 1 is a functional block diagram of an automatic test equipment according to an embodiment of the present disclosure; and FIG. 2 is a diagram of an automatic test apparatus according to FIG. 1 when performing a synchronization procedure. Waveform diagram. As shown in FIG. 1 , the automatic test equipment 1 mainly includes a first detection module 10 , a second detection module 12 , a clock generation module 14 , and a processing module 16 . The processing module 16 is electrically connected to the first detecting module 10, the second detecting module 12, and the clock generating module 14. The function modules of each part of the automatic test equipment 1 will be described in detail below.

第一檢測模組10用以檢測一個第一待測裝置 (device under test,DUT),並且是在操作於第一初始時脈(例如第2圖中的第一檢測模組10在時間點t1之前的時脈)時對第一待測裝置進行檢測。第二檢測模組12用以檢測一個第二待測裝置,並且是在操作於第二初始時脈(例如第2圖中的第一檢測模組10在時間點t1之前的時脈)時對第二待測裝置進行檢測。於實務上,上述的待測裝置可以為一種顯示卡或網路卡(network card,亦稱網路介面卡)等介面卡(interface card)中的晶片,但不以此為限。The first detecting module 10 is configured to detect a first device to be tested (device under test, DUT), and detecting the first device under test when operating at the first initial clock (for example, the clock of the first detecting module 10 in FIG. 2 before time point t1). The second detecting module 12 is configured to detect a second device to be tested, and is operated when the second initial clock (for example, the clock of the first detecting module 10 in FIG. 2 before the time point t1) The second device under test performs detection. In practice, the device to be tested may be a chip in an interface card such as a display card or a network card (network interface card), but is not limited thereto.

此外,本發明在此不加以限制檢測模組的數量以及檢測模組所能檢測的待測裝置之類型,換句話說,第一檢測模組10與第二檢測模組12可同時檢測相同類型的待測裝置。於本發明實施例中,由於第一檢測模組10於檢測第一待測裝置時的第一初始時脈的頻率小於第二檢測模組12於檢測第二待測裝置時的第二初始時脈的頻率,使得第一檢測模組10的第一初始時脈不同步於第二檢測模組12的第二初始時脈。In addition, the present invention does not limit the number of detection modules and the type of devices to be tested that can be detected by the detection module. In other words, the first detection module 10 and the second detection module 12 can simultaneously detect the same type. Device to be tested. In the embodiment of the present invention, the frequency of the first initial clock when the first detecting module 10 detects the first device to be tested is smaller than the second initial time when the second detecting module 12 detects the second device to be tested. The frequency of the pulse is such that the first initial clock of the first detection module 10 is not synchronized with the second initial clock of the second detection module 12.

時脈產生模組14用以產生預設時脈。於實務上,時脈產生模組14為一種振盪器(oscillator),且此振盪器可以依據自動測試設備1的實際需求而逕行調整所輸出時脈的週期,換句話說,預設時脈的週期為一種可變週期。The clock generation module 14 is configured to generate a preset clock. In practice, the clock generation module 14 is an oscillator, and the oscillator can adjust the period of the output clock according to the actual demand of the automatic test equipment 1, in other words, the preset clock. The period is a variable period.

處理模組16用以對第一檢測模組10與第二檢測模組12提供一個觸發訊號(如第2圖中的時間點t1~時間點t2 之方波),此觸發訊號用以指示第一檢測模組10與第二檢測模組12執行同步程序(sync procedure)。於實務上,處理模組16可以為一種中央處理器(central processing unit,CPU)或是微控制器(micro control unit,MCU),但不以此為限。值得注意的是,觸發訊號的波形可以為任意波形,且觸發訊號的脈寬係為預設時脈的週期的整數倍。於本發明實施例中,觸發訊號的波形係為一種方波,且觸發訊號的脈寬係為一個週期的預設時脈。此外,觸發訊號可以係由檢測人員觸發自動測試設備1的輸入模組(例如旋鈕、按鈕或觸控面板)所產生,或者係由自動測試設備1中的作業系統依據設定所產生,本發明在此不加以限制。The processing module 16 is configured to provide a trigger signal to the first detecting module 10 and the second detecting module 12 (such as the time point t1 to the time point t2 in FIG. 2) The trigger signal is used to instruct the first detecting module 10 and the second detecting module 12 to execute a sync procedure. In practice, the processing module 16 can be a central processing unit (CPU) or a micro control unit (MCU), but is not limited thereto. It should be noted that the waveform of the trigger signal can be an arbitrary waveform, and the pulse width of the trigger signal is an integer multiple of the period of the preset clock. In the embodiment of the present invention, the waveform of the trigger signal is a square wave, and the pulse width of the trigger signal is a preset clock of one cycle. In addition, the trigger signal may be generated by an inspector triggering an input module (such as a knob, a button or a touch panel) of the automatic test device 1 or generated by an operating system in the automatic test device 1 according to the setting. This is not limited.

在實際的操作中,當第一檢測模組10與第二檢測模組12接收到由處理模組16所提供的觸發訊號後,第一檢測模組10與第二檢測模組12會開始執行同步程序。於此同步程序中第一檢測模組10會在第一時間間隔T1(即第2圖中的時間點t2~時間點t5之時間區間)內重設第一檢測模組10的時脈,並在第一時間間隔T1結束後參考預設時脈設定第一檢測模組10的時脈為第一時脈(即第2圖中的第一檢測模組10在時間點t5之後的時脈),使得第一檢測模組10在時間點t5之後的第一時脈可以同步於預設時脈。In the actual operation, after the first detection module 10 and the second detection module 12 receive the trigger signal provided by the processing module 16, the first detection module 10 and the second detection module 12 will start executing. Synchronization program. In the synchronization process, the first detecting module 10 resets the clock of the first detecting module 10 in the first time interval T1 (ie, the time interval from the time point t2 to the time point t5 in FIG. 2), and After the first time interval T1 is completed, the clock of the first detecting module 10 is set as the first clock by referring to the preset clock (ie, the clock of the first detecting module 10 in FIG. 2 after the time point t5). Therefore, the first clock of the first detecting module 10 after the time point t5 can be synchronized with the preset clock.

另一方面,於此同步程序中,第二檢測模組12在第二時間間隔T2(即第2圖中的時間點t3~時間點t4之時間 區間)內會重設第二檢測模組12的時脈,並在第二時間間隔T2結束後參考預設時脈設定第二檢測模組12的時脈為第二時脈(即第2圖中的第二檢測模組12在時間點t4之後的時脈),使得第二檢測模組12在時間點t4之後的第二時脈可以同步於預設時脈。藉此,第一檢測模組10在時間點t5之後的第一時脈與第二檢測模組12在時間點t5之後的第二時脈皆會同步於預設時脈,據以使得自動測試設備1中第一檢測模組10與第二檢測模組12得以進行下一階段的檢測程序。On the other hand, in this synchronization procedure, the second detection module 12 is at the second time interval T2 (ie, the time from the time point t3 to the time point t4 in FIG. 2). In the interval, the clock of the second detecting module 12 is reset, and after the second time interval T2 ends, the clock of the second detecting module 12 is set as the second clock by referring to the preset clock (ie, FIG. 2) The second detection module 12 is in the clock after time point t4, so that the second clock of the second detection module 12 after the time point t4 can be synchronized with the preset clock. Therefore, the first clock of the first detecting module 10 after the time point t5 and the second clock of the second detecting module 12 after the time point t5 are synchronized with the preset clock, so that the automatic test is performed. The first detection module 10 and the second detection module 12 in the device 1 can perform the detection process of the next stage.

需一提的是,於本發明實施例中,在第一檢測模組10與第二檢測模組12接收到觸發訊號而開始執行同步程序的時間區間係定義為同步時間間隔(即第2圖中的時間點t2~時間點t5的時間區間),此同步時間間隔係接續在觸發訊號結束之後,且此同步時間間隔的長度大於等於初始時脈較慢的時間間隔,於本實施例中初始時脈較慢的時間間隔係為第一時間間隔T1。此外,此同步時間間隔會大於等於觸發訊號的脈寬,且此同步時間間隔可以依據自動測試設備1於檢測待測裝置時的實際需求與複雜度而任意地增加或減少。It should be noted that, in the embodiment of the present invention, the time interval in which the first detection module 10 and the second detection module 12 receive the trigger signal and start the synchronization process is defined as the synchronization time interval (ie, FIG. 2). The time interval from the time point t2 to the time point t5), the synchronization time interval is continued after the end of the trigger signal, and the length of the synchronization time interval is greater than or equal to the time interval at which the initial clock is slow, which is initially set in this embodiment. The time interval in which the clock is slow is the first time interval T1. In addition, the synchronization time interval may be greater than or equal to the pulse width of the trigger signal, and the synchronization time interval may be arbitrarily increased or decreased according to the actual demand and complexity of the automatic test equipment 1 when detecting the device under test.

值得注意的是,第一時間間隔T1內具有至少二個週期的第一初始時脈,第二時間間隔T2內具有至少二個週期的第二初始時脈。其中,第一檢測模組10於第一時間間隔T1內的第一個週期的時脈(即於第一時間間隔T1內中第一個出現的第一初始時脈)與第二檢測模組12於第二時間間隔T2 內的第一個週期的時脈(即於第二時間間隔T2內中第一個出現的第二初始時脈)係分別用以指示第一檢測模組10與第二檢測模組12進行重置(reset)。第一檢測模組10於第一時間間隔T1內的第二個週期的時脈(即於第一時間間隔T1內中第二個出現的第一初始時脈)與第二檢測模組12於第二時間間隔T2內的第二個週期的時脈(即於第二時間間隔T2內中第二個出現的第二初始時脈)係分別用以指示第一檢測模組10與第二檢測模組12進行設定(set)。It should be noted that the first time interval T1 has at least two cycles of the first initial clock, and the second time interval T2 has at least two periods of the second initial clock. The first detection module 10 is in the first period of the first time interval T1 (ie, the first initial clock occurring in the first time interval T1) and the second detection module. 12 at the second time interval T2 The clock of the first period (ie, the second initial clock that occurs in the second time interval T2) is used to indicate that the first detection module 10 and the second detection module 12 are heavy. Set (reset). The clock of the second period of the first detecting module 10 in the first time interval T1 (that is, the first initial clock occurring in the second time interval T1) and the second detecting module 12 The clock of the second period in the second time interval T2 (ie, the second initial clock occurring in the second time interval T2) is used to indicate the first detection module 10 and the second detection, respectively. The module 12 performs a set.

更詳細來說,於第一檢測模組10與第二檢測模組12進行重置時,會分別清除第一檢測模組10中的暫存器的資料與第二檢測模組12中的暫存器的資料;於第一檢測模組10與第二檢測模組12進行設定時,會將第一檢測模組10中的暫存器的資料與第二檢測模組12中的暫存器的資料設定為原先的初始值。藉此,於同步時間間隔內,第一檢測模組10與第二檢測模組12會分別以第一初始時脈與第二初始時脈操作至少二個週期,並於操作結束後將第一初始時脈與第二初始時脈設定為預設時脈進行操作,據以使得第一檢測模組10的時脈與第二檢測模組12的時脈於同步時間間隔之後會彼此同步。In more detail, when the first detecting module 10 and the second detecting module 12 are reset, the data of the temporary register in the first detecting module 10 and the temporary in the second detecting module 12 are respectively cleared. The data of the register is set in the first detecting module 10 and the second detecting module 12, and the data of the register in the first detecting module 10 and the register in the second detecting module 12 The data is set to the original initial value. Therefore, during the synchronization time interval, the first detection module 10 and the second detection module 12 respectively operate at the first initial clock and the second initial clock for at least two cycles, and will be first after the operation ends. The initial clock and the second initial clock are set to operate as preset clocks, so that the clock of the first detecting module 10 and the clock of the second detecting module 12 are synchronized with each other after the synchronization time interval.

於本發明實施例中,第一時間間隔T1內具有二個週期的第一初始時脈,第二時間間隔T2內具有二個週期的第二初始時脈,且由於第一檢測模組10的第一初始時脈小於 第二檢測模組12的第二初始時脈,故第一時間間隔T1會大於第二時間間隔T2。In the embodiment of the present invention, the first initial clock has two periods in the first time interval T1, and the second initial clock has two periods in the second time interval T2, and the first detecting module 10 is The first initial clock is less than The second initial clock of the second detection module 12, so the first time interval T1 will be greater than the second time interval T2.

〔時脈同步方法之實施例〕[Embodiment of Clock Synchronization Method]

請一併參照第1圖、第2圖與第3圖,第3圖係為根據本揭露一實施例之時脈同步方法的步驟流程圖。如第3圖所示,此時脈同步方法適用於第1圖之自動測試設備1,且此自動測試設備1至少包括第一檢測模組10與第二檢測模組12,且第一檢測模組10與第二檢測模組12於執行時脈同步方法之前係分別操作於第一初始時脈與第二初始時脈。以下將分別就時脈同步方法中的各步驟流程作詳細的說明。Please refer to FIG. 1 , FIG. 2 and FIG. 3 together. FIG. 3 is a flow chart of the steps of the clock synchronization method according to an embodiment of the present disclosure. As shown in FIG. 3, the pulse synchronization method is applied to the automatic test equipment 1 of FIG. 1 , and the automatic test equipment 1 includes at least a first detection module 10 and a second detection module 12, and the first detection mode. The group 10 and the second detection module 12 respectively operate on the first initial clock and the second initial clock before performing the clock synchronization method. The steps of each step in the clock synchronization method will be described in detail below.

在步驟S300中,自動測試設備1會提供預設時脈。在步驟S302中,自動測試設備1會產生觸發訊號,其中此觸發訊號用以指示第一檢測模組10與第二檢測模組12執行同步程序。在步驟S304中,第一檢測模組10會開始執行同步程序,此時第一檢測模組10會在第一時間間隔T1內重設第一檢測模組10的時脈,並在第一時間間隔T1結束後參考上述的預設時脈設定第一檢測模組10的時脈為第一時脈。另一方面,在步驟S306中,第二檢測模組12亦會開始執行同步程序,此時第二檢測模組12會在第二時間間隔T2內重設第二檢測模組12的時脈,並在第二時間間隔T2結束後參考上述的預設時脈設定第二檢測模組12的時脈為第二時脈。藉此,第一檢測模組10於執行完同步程序後的第一時脈與第 二檢測模組12於執行完同步程序後的第二時脈皆會同步於預設時脈。In step S300, the automatic test equipment 1 provides a preset clock. In step S302, the automatic test device 1 generates a trigger signal, wherein the trigger signal is used to instruct the first detection module 10 and the second detection module 12 to perform a synchronization process. In step S304, the first detecting module 10 starts to execute the synchronization process. At this time, the first detecting module 10 resets the clock of the first detecting module 10 in the first time interval T1, and at the first time. After the interval T1 ends, the clock of the first detecting module 10 is set as the first clock by referring to the preset clock. On the other hand, in step S306, the second detecting module 12 also starts to execute the synchronization process. At this time, the second detecting module 12 resets the clock of the second detecting module 12 in the second time interval T2. And after the second time interval T2 ends, the clock of the second detecting module 12 is set as the second clock with reference to the preset clock. Thereby, the first clock and the first detection module 10 after executing the synchronization procedure The second clock after the second detection module 12 executes the synchronization program is synchronized with the preset clock.

值得注意的是,第一時間間隔T1內具有至少二個週期的第一初始時脈,第二時間間隔T2內具有至少二個週期的第二初始時脈。此外,第一檢測模組10於第一時間間隔T1內的第一個週期的時脈與第二檢測模組12於第二時間間隔T2內的第一個週期的時脈係分別用以指示第一檢測模組10與第二檢測模組12進行重置;第一檢測模組10於第一時間間隔T1內的第二個週期的時脈與第二檢測模組12於第二時間間隔T2內的第二個週期的時脈係分別用以指示第一檢測模組10與第二檢測模組12進行設定。It should be noted that the first time interval T1 has at least two cycles of the first initial clock, and the second time interval T2 has at least two periods of the second initial clock. In addition, the clock of the first period of the first detecting module 10 during the first time interval T1 and the clock system of the first period of the second detecting module 12 during the second time interval T2 are respectively used to indicate The first detecting module 10 and the second detecting module 12 are reset; the clock of the second period of the first detecting module 10 in the first time interval T1 and the second detecting module 12 are at the second time interval. The clock of the second period in T2 is used to instruct the first detection module 10 and the second detection module 12 to perform setting.

此外,觸發訊號的波形係為任意波形,且觸發訊號的脈寬係為預設時脈的週期的整數倍。另外,當第一檢測模組10的第一初始時脈之頻率小於第二檢測模組12的第二初始時脈之頻率時,第一時間間隔T1會大於第二時間間隔T2。In addition, the waveform of the trigger signal is an arbitrary waveform, and the pulse width of the trigger signal is an integer multiple of the period of the preset clock. In addition, when the frequency of the first initial clock of the first detecting module 10 is less than the frequency of the second initial clock of the second detecting module 12, the first time interval T1 is greater than the second time interval T2.

於本發明實施例中,第一檢測模組10與第二檢測模組12於執行同步程序時的時間區間係定義為同步時間間隔,此同步時間間隔係接續在觸發訊號結束之後,且此同步時間間隔的長度大於等於初始時脈較慢的時間間隔。此外,同步時間間隔大於等於觸發訊號的脈寬。In the embodiment of the present invention, the time interval when the first detecting module 10 and the second detecting module 12 execute the synchronization program is defined as a synchronization time interval, and the synchronization time interval is continued after the trigger signal ends, and the synchronization is performed. The length of the time interval is greater than or equal to the time interval at which the initial clock is slower. In addition, the synchronization time interval is greater than or equal to the pulse width of the trigger signal.

〔實施例的可能功效〕[Possible effects of the examples]

綜合以上所述,本發明實施例提供一種自動測試設備以及時脈同步方法,其透過提供一個穩定的預設時脈,並且在自動測試設備中的多個檢測模組於執行同步程序時,這些檢測模組會在各自的時間間隔內重設各自的時脈,並且在各自的時間間隔結束之後將各自的初始時脈設定為預設時脈,據以使得執行完同步程序後的所述多個檢測模組的時脈皆會同步於預設時脈。藉此,本發明實施例之自動測試設備以及時脈同步方法在要執行下一階段的檢測程序時,可以不需要重新啟動自動測試設備,即可在極短的時間內對自動測試設備中的所述多個檢測模組的時脈進行同步,以方便檢測人員可持續地進行下一階段的檢測程序,十分具有實用性。In summary, the embodiments of the present invention provide an automatic test device and a clock synchronization method, which provide a stable preset clock, and when multiple detection modules in an automatic test device execute a synchronization program, these The detection module resets the respective clocks in their respective time intervals, and sets the respective initial clocks as preset clocks after the end of the respective time intervals, so that the plurality of times after the execution of the synchronization procedure is performed The clocks of each detection module are synchronized with the preset clock. Therefore, the automatic test equipment and the clock synchronization method of the embodiment of the present invention can perform the next stage of the detection process, and can restart the automatic test equipment in a very short time. The clocks of the plurality of detection modules are synchronized to facilitate the detection personnel to continuously carry out the detection process of the next stage, which is very practical.

雖然本發明以上述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the above embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

T1‧‧‧第一時間間隔T1‧‧‧ first time interval

T2‧‧‧第二時間間隔T2‧‧‧ second time interval

t1~t5‧‧‧時間點T1~t5‧‧‧ time point

Claims (8)

一種時脈同步方法,適用於一自動測試設備,該自動測試設備至少包括一第一檢測模組與一第二檢測模組,該第一檢測模組與該第二檢測模組分別操作於一第一初始時脈與一第二初始時脈,該同步方法包括:提供一預設時脈;產生一觸發訊號,該觸發訊號用以指示該第一檢測模組與該第二檢測模組執行一同步程序;於該同步程序中,該第一檢測模組在一第一時間間隔內重設該第一檢測模組的時脈,並在該第一時間間隔結束後參考該預設時脈設定該第一檢測模組的時脈為一第一時脈,該第一時脈同步於該預設時脈;以及於該同步程序中,該第二檢測模組在一第二時間間隔內重設該第二檢測模組的時脈,並在該第二時間間隔結束後參考該預設時脈設定該第二檢測模組的時脈為一第二時脈,該第二時脈同步於該預設時脈。 A clock synchronization method is applicable to an automatic test device. The automatic test device includes at least a first detection module and a second detection module. The first detection module and the second detection module respectively operate on a The first initial clock and the second initial clock, the synchronization method includes: providing a preset clock; generating a trigger signal, the trigger signal is used to instruct the first detecting module and the second detecting module to execute a synchronization program, in the synchronization process, the first detection module resets the clock of the first detection module in a first time interval, and refers to the preset clock after the first time interval ends. Setting the clock of the first detecting module to be a first clock, the first clock is synchronized with the preset clock; and in the synchronizing program, the second detecting module is in a second time interval Resetting the clock of the second detecting module, and setting the clock of the second detecting module to a second clock according to the preset clock after the second time interval ends, the second clock synchronization At the preset clock. 如請求項1所述之時脈同步方法,其中該第一時間間隔內具有至少二個週期的該第一初始時脈,該第二時間間隔內具有至少二個週期的該第二初始時脈,且該第一檢測模組於該第一時間間隔內的第一個週期的時脈與該第二檢測模組於該第二時間間隔內的第一個週期的時脈係分別用以指示該第一檢測模組與該第二檢測模組進行重置,該第 一檢測模組於該第一時間間隔內的第二個週期的時脈與該第二檢測模組於該第二時間間隔內的第二個週期的時脈係分別用以指示該第一檢測模組與該第二檢測模組進行設定。 The clock synchronization method of claim 1, wherein the first initial time interval has at least two periods in the first time interval, and the second initial clock period has at least two periods in the second time interval And the clock of the first period of the first detecting module in the first time interval and the clock system of the first period of the second detecting module in the second time interval are respectively used to indicate The first detecting module and the second detecting module are reset, the first The clock of the second period of the detecting module in the first time interval and the clock system of the second period of the second detecting module in the second time interval are respectively used to indicate the first detecting The module is set with the second detection module. 如請求項1所述之時脈同步方法,其中當該第一初始時脈的頻率小於該第二初始時脈的頻率時,該第一時間間隔大於該第二時間間隔。 The clock synchronization method of claim 1, wherein the first time interval is greater than the second time interval when the frequency of the first initial clock is less than the frequency of the second initial clock. 如請求項1所述之時脈同步方法,其中該第一檢測模組與該第二檢測模組於執行該同步程序時的時間區間係定義為一同步時間間隔,該同步時間間隔係接續在該觸發訊號結束之後,且該同步時間間隔的長度大於等於初始時脈較慢的時間間隔。 The clock synchronization method of claim 1, wherein the time interval when the first detection module and the second detection module execute the synchronization program is defined as a synchronization time interval, and the synchronization time interval is continued After the trigger signal ends, the length of the synchronization time interval is greater than or equal to the time interval at which the initial clock is slow. 一種自動測試設備,包括:一第一檢測模組,操作於一第一初始時脈;一第二檢測模組,操作於一第二初始時脈;一時脈產生模組,用以產生一預設時脈;以及一處理模組,電性連接該第一檢測模組、該第二檢測模組與該時脈產生模組,用以對該第一檢測模組與該第二檢測模組提供一觸發訊號,該觸發訊號用以指示該第一檢測模組與該第二檢測模組執行一同步程序;其中,於該同步程序中,該第一檢測模組在一第一時間間隔內重設該第一檢測模組的時脈,並在該第一時間間 隔結束後參考該預設時脈設定該第一檢測模組的時脈為一第一時脈,該第二檢測模組在一第二時間間隔內重設該第二檢測模組的時脈,並在該第二時間間隔結束後參考該預設時脈設定該第二檢測模組的時脈為一第二時脈,其中該第一時脈與該第二時脈同步於該預設時脈。 An automatic testing device includes: a first detecting module operating on a first initial clock; a second detecting module operating in a second initial clock; and a clock generating module for generating a pre- And a processing module electrically connected to the first detecting module, the second detecting module and the clock generating module, for the first detecting module and the second detecting module Providing a trigger signal for instructing the first detection module and the second detection module to perform a synchronization process; wherein, in the synchronization process, the first detection module is within a first time interval Reset the clock of the first detection module, and during the first time Referring to the preset clock, the clock of the first detecting module is set as a first clock, and the second detecting module resets the clock of the second detecting module in a second time interval. And setting the clock of the second detecting module to a second clock by using the preset clock after the second time interval ends, wherein the first clock and the second clock are synchronized with the preset Clock. 如請求項6所述之自動測試設備,其中該第一時間間隔內具有至少二個週期的該第一初始時脈,該第二時間間隔內具有至少二個週期的該第二初始時脈,且該第一檢測模組於該第一時間間隔內的第一個週期的時脈與該第二檢測模組於該第二時間間隔內的第一個週期的時脈係分別用以指示該第一檢測模組與該第二檢測模組進行重置,該第一檢測模組於該第一時間間隔內的第二個週期的時脈與該第二檢測模組於該第二時間間隔內的第二個週期的時脈係分別用以指示該第一檢測模組與該第二檢測模組進行設定。 The automatic test device of claim 6, wherein the first time interval has at least two cycles of the first initial clock, and the second time interval has at least two cycles of the second initial clock, And the clock of the first period of the first detecting module in the first time interval and the clock system of the first period of the second detecting module in the second time interval are respectively used to indicate the The first detecting module and the second detecting module are reset, and the clock of the second period of the first detecting module in the first time interval and the second time interval of the second detecting module are The clock of the second period is used to indicate that the first detection module and the second detection module are set. 如請求項6所述之自動測試設備,其中當該第一初始時脈的頻率小於該第二初始時脈的頻率時,該第一時間間隔大於該第二時間間隔。 The automatic test device of claim 6, wherein the first time interval is greater than the second time interval when the frequency of the first initial clock is less than the frequency of the second initial clock. 如請求項6所述之自動測試設備,其中該第一檢測模組與該第二檢測模組於執行該同步程序時的時間區間係定義為一同步時間間隔,該同步時間間隔係接續在該觸發訊號 結束之後,且該同步時間間隔的長度大於等於初始時脈較慢的時間間隔。The automatic test device of claim 6, wherein the time interval between the first detection module and the second detection module when the synchronization program is executed is defined as a synchronization time interval, and the synchronization time interval is followed by Trigger signal After the end, and the length of the synchronization time interval is greater than or equal to the time interval at which the initial clock is slow.
TW102147460A 2013-12-20 2013-12-20 Automatic test equipment and clock synchronization method TWI490515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102147460A TWI490515B (en) 2013-12-20 2013-12-20 Automatic test equipment and clock synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102147460A TWI490515B (en) 2013-12-20 2013-12-20 Automatic test equipment and clock synchronization method

Publications (2)

Publication Number Publication Date
TWI490515B true TWI490515B (en) 2015-07-01
TW201525496A TW201525496A (en) 2015-07-01

Family

ID=54151529

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102147460A TWI490515B (en) 2013-12-20 2013-12-20 Automatic test equipment and clock synchronization method

Country Status (1)

Country Link
TW (1) TWI490515B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292016B1 (en) * 1995-10-16 2001-09-18 Altera Corporation Programmable logic with on-chip DLL or PLL to distribute clock
US20020158677A1 (en) * 2001-04-27 2002-10-31 Markus Rohleder Circuit for synchronizing signals during the exchange of information between circuits
TWI237750B (en) * 2003-01-21 2005-08-11 Samsung Electronics Co Ltd Apparatus to generate a bit clock and a method of generating the bit clock
US7253670B2 (en) * 2004-11-29 2007-08-07 Renesas Technology Corp. Phase synchronization circuit and semiconductor integrated circuit
TWI347506B (en) * 2007-11-13 2011-08-21 Asustek Comp Inc Clock synchronization device, clock synchronization method and clock generation device using the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6292016B1 (en) * 1995-10-16 2001-09-18 Altera Corporation Programmable logic with on-chip DLL or PLL to distribute clock
US20020158677A1 (en) * 2001-04-27 2002-10-31 Markus Rohleder Circuit for synchronizing signals during the exchange of information between circuits
TWI237750B (en) * 2003-01-21 2005-08-11 Samsung Electronics Co Ltd Apparatus to generate a bit clock and a method of generating the bit clock
US7253670B2 (en) * 2004-11-29 2007-08-07 Renesas Technology Corp. Phase synchronization circuit and semiconductor integrated circuit
TWI347506B (en) * 2007-11-13 2011-08-21 Asustek Comp Inc Clock synchronization device, clock synchronization method and clock generation device using the same

Also Published As

Publication number Publication date
TW201525496A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
US6327684B1 (en) Method of testing at-speed circuits having asynchronous clocks and controller for use therewith
US9264049B2 (en) Synchronous on-chip clock controllers
US7202656B1 (en) Methods and structure for improved high-speed TDF testing using on-chip PLL
EP3002593B1 (en) Multi-scope control and synchronization system
JP3918039B2 (en) Delay fault test circuit and related method
CN114024643B (en) Accurate control method and system for execution time of each function in ATE (automatic test equipment)
KR19990077898A (en) Semiconductor test device
CN107463759B (en) Simulation verification device and simulation verification method of timer
KR102148043B1 (en) Flexible test site synchronization
TWI490515B (en) Automatic test equipment and clock synchronization method
US6715093B1 (en) Method for triggering an asynchronous event by creating a lowest common denominator clock
TWI494579B (en) Time measurement module and method for semiconductor automatic test equipment
US20220260635A1 (en) Circuit for transferring data from one clock domain to another
JP2010175413A (en) Measuring system
CN104730362A (en) Automatic test equipment and clock rate synchronizing method
US5661731A (en) Method for shrinking a clock cycle when testing high speed microprocessor designs
US6891421B2 (en) Method and apparatus for on die clock shrink burst mode
US6246971B1 (en) Testing asynchronous circuits
CN218825232U (en) Control system
JP2885179B2 (en) LCD interface signal inspection method and device
CN115629298A (en) Method and device for capturing abnormal synchronous trigger signal in ATE (automatic test equipment)
JP2999803B2 (en) Method for synchronizing multiple sweep devices
JP3067850U (en) Semiconductor test equipment
JPH10319930A (en) Horizontal frequency detection circuit
CN117850540A (en) Clock synchronization method and device for chip tester, electronic equipment and storage medium