TW200925986A - Method for extracting signal state - Google Patents

Method for extracting signal state Download PDF

Info

Publication number
TW200925986A
TW200925986A TW96146356A TW96146356A TW200925986A TW 200925986 A TW200925986 A TW 200925986A TW 96146356 A TW96146356 A TW 96146356A TW 96146356 A TW96146356 A TW 96146356A TW 200925986 A TW200925986 A TW 200925986A
Authority
TW
Taiwan
Prior art keywords
signal
state
matrix
timing
transition
Prior art date
Application number
TW96146356A
Other languages
Chinese (zh)
Other versions
TWI346894B (en
Inventor
ren-long Liu
Shabg-Yi Wang
Yu-Ching Liao
Mu-Tsung Chen
Original Assignee
Asustek Comp 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 Asustek Comp Inc filed Critical Asustek Comp Inc
Priority to TW096146356A priority Critical patent/TWI346894B/en
Publication of TW200925986A publication Critical patent/TW200925986A/en
Application granted granted Critical
Publication of TWI346894B publication Critical patent/TWI346894B/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A method for extracting signal states is provided. In the present invention, first, a plurality of transition edges of signals is coded for obtaining a plurality of state numbers. Afterwards, each transition time in signals is combined with its corresponding state number for obtaining each timing matrix of signals separately. Then, according to order of the transition time, timing matrixes of signals are combined to a merging timing matrix. Finally, according to order of the merging timing matrix, the state numbers are extracted for obtaining a merging state matrix with timing order.

Description

200925986 ltwf.doc/p 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種量測訊號的方法,且特別是有關 於一種為了自動量測訊號狀態,而擷取出訊號狀態的方法。 【先前技術】 ❹ ❹ 在量測電氣訊號上,目前常使用數位示波器將電壓訊 號轉換為可在二維平面上顯示的數位訊號,以便操作人員 進行分析。一般資料的傳輸是採用資料訊號(datasignal) 配合時脈訊號(clock signal)來傳送資料,依據時脈訊號 的上升邊緣(raising edge)或下降邊緣(falling edge)來 進行觸發(trigger)。 舉例來說’ ® 1料示為習知的—種訊號波形示意 圖。請參照圖1 ’時脈訊號的上升邊緣與下降邊緣分別 和資料訊號社升邊緣與下降邊緣形細㈣序區間即 設定時間TSur、保持時間Thr、設定時間Tsuf以及保持時 號之間〜Μ寸—㈣時序關(timing e刪mint),於 是時脈=與資料訊號之間的設定時間與滿 足所規㈣預設值,以正確地姆料。 然而’在進行電氣訊號量 號量相當魔大,操作人員自於待測的訊 間出現特定狀態組合。換時間來等待訊號之 綜上所述 謝:搜尋形成::個時;區間==須在魔大的訊 般以人為的觀察與搜尋判斷而言,常因 200925986200925986 ltwf.doc/p IX. Description of the Invention: [Technical Field] The present invention relates to a method for measuring a signal, and more particularly to a method for extracting a signal state for automatically measuring a signal state . [Prior Art] ❹ ❹ On the measurement of electrical signals, digital oscilloscopes are often used to convert voltage signals into digital signals that can be displayed on a two-dimensional plane for the operator to analyze. The general data transmission uses data signal (datasignal) with clock signal to transmit data, and triggers according to the rising edge or falling edge of the clock signal. For example, ' ® 1 is shown as a well-known signal waveform diagram. Please refer to Figure 1 for the rising edge and falling edge of the clock signal and the data signal rising edge and falling edge shape (four) sequence interval, that is, the setting time TSur, the holding time Thr, the setting time Tsuf and the holding time number. - (d) Timing e-cutting (timing e-deletion), so the clock = set time between the data signal and meet the prescribed (four) preset value, in order to correct the material. However, the amount of electrical signal is quite large, and the operator has a specific combination of states from the time to be tested. Change the time to wait for the signal. In summary, the search:: formation time; interval == must be in the big news, human observation and search judgment, often due to 200925986

Ltwf.doc/p 龐大的訊號量、訊號延遲時間過短或訊號狀態組合的多變 性’讓操作人員無法應付以致於重要資訊被忽略或跳過, 甚至遺失。如此情況不斷地反覆發生,將造成人力與時間 的浪費。 【發明内容】 本發明提供一種擷取訊號狀態的方法,將不同訊號的 轉態邊緣狀態擷取出,並依照時間順序排列,以便於能夠 @ 自動搜尋特定狀態組合。 本發明提出一種擷取訊號狀態的方法。首先接收第一 訊號與第二訊號,其中第一訊號與第二訊號分別包括多個 轉態時間。接著,將這些轉態時間的不同型態轉態邊緣進 行不同編碼’以獲得多個狀態號碼。之後,分別根據該第 一訊號與該第二訊號的轉態時間,與所對應的狀態號碼作 組合,以分別獲得第一時序矩陣與第二時序矩陣。再依據 這些轉態時間的順序,將第一時序矩陣與第二時序矩陣組 合為合併時序矩陣。最後,由該合併時序矩陣取出該些狀 ❹ 態號碼,而獲得合併狀態矩陣。 在本發明之一實施例中’上述依據這些轉態時間的順 序’將第一時序矩陣與第二時序矩陣組合為合併時序矩陣 的步驟,包括將第一時序矩陣與第二時序矩陣,組合為合 併時序矩陣之後,依據這些轉態時間的順序,重新排序合 併時序矩陣。 在本發明之一實施例中,上述在接收第一訊號以及第 二訊號之後,更包括根據該第一訊號以及該第二訊號的轉 ltwfdoc/ρ 200925986 態邊緣,取得轉態時間。 在本發明之-實施例中,上述狀態號喝為小數號石馬。 而分別根據該第一訊號與該第二訊號的該些轉態時間,與 對應該些狀態號碼來組合的步驟中,包括將各個轉態時^ 標記在其所對應的小數號碼之前。 u曰 在本發明之一實施例中,由該合併時序矩陣依序取出 該些狀態號碼,而獲得一合併狀態矩陣的步驟之後,更包 ❹ 括自合併狀態矩陣中,搜尋特定狀態組合。之後,當自^ 併狀態=陣中,搜尋到特定狀態組合時, 至不波器上。另外,當無法搜尋到特定狀態組合時,則重 新接收第一訊號與第二訊號。 、 在本發明之一實施例中,擷取訊號狀態的方法,其中 ,收第訊號與一第一訊號的步驟之前,更包括建立狀 態編號資訊,用以提供不同轉態邊緣所進行不同編碼。其 ^,建立狀態編號資訊的步驟,包括提供第一、第二、第 三以及第四狀態號碼,分別對應第一訊號的上升邊緣蛊下 β _緣’以及第二訊號的上升邊緣與下降邊緣。 本發明是依照不同訊號的轉態邊緣為上升或下降邊 $來編,為不同的狀態號碼,並且依照轉態時間順序,將 這二狀^號碼組合為合併狀態矩陣,以在合併狀態矩陣中 自動搜尋特定狀態組合。據此可協助操作人員更快速且準 確地獲得所需要的特定訊號區段,相當方便。 為讓本發明之上述特徵和優點能更明顯易懂,下文特 ;ltwf.doc/p 200925986 舉較佳實施例’並配合所附圖式,作詳細說明如下。 【實施方式】 一般在魔大的訊號量中,使用人為來進行觀察與搜尋 特定狀態組合而言,是十分費時又費力。因此,為了加快 在魔大訊號量中搜尋特定狀態組合,本發明提出—種操取 訊號狀態的方法,以在所獲得的合併狀態矩陣中,自動搜 尋特定狀態組合,據以節省人力資源的耗費,並提高精破Ltwf.doc/p The huge amount of signal, the short delay of the signal or the variability of the combination of signal states' makes it impossible for the operator to cope with important information being ignored or skipped, or even lost. This situation will continue to occur repeatedly, which will result in waste of manpower and time. SUMMARY OF THE INVENTION The present invention provides a method for capturing signal status, extracting the transition edge states of different signals, and arranging them in chronological order so as to be able to automatically search for a specific state combination. The present invention proposes a method of extracting signal status. First, the first signal and the second signal are received, where the first signal and the second signal respectively comprise a plurality of transition times. Next, the different types of transition states of these transition times are coded differently to obtain multiple status numbers. Then, according to the transition time of the first signal and the second signal, the corresponding state number is combined to obtain the first timing matrix and the second timing matrix respectively. The first timing matrix and the second timing matrix are combined into a combined timing matrix according to the order of the transition times. Finally, the state numbers are retrieved from the merged timing matrix to obtain a merged state matrix. In one embodiment of the present invention, the step of combining the first timing matrix and the second timing matrix into a combined timing matrix in the order of the above-described transition times includes the first timing matrix and the second timing matrix, After combining the merged timing matrices, the merged timing matrices are reordered according to the order of these transition times. In an embodiment of the present invention, after receiving the first signal and the second signal, the method further includes obtaining a transition time according to the first signal and the edge of the second signal of the ltwfdoc/ρ 200925986 state. In the embodiment of the present invention, the above state number is a decimal number. And according to the transition time of the first signal and the second signal respectively, and the step of combining the corresponding state numbers, including marking each transition state before the corresponding decimal number. In an embodiment of the present invention, the state codes are sequentially fetched by the merge timing matrix to obtain a merged state matrix, and further, the self-merging state matrix is searched for a specific state combination. After that, when the specific state combination is found in the ^ and state = array, it is not on the wave. In addition, when a specific combination of states cannot be found, the first signal and the second signal are re-received. In an embodiment of the present invention, the method for capturing a signal state, wherein before the step of receiving the first signal and the first signal, the method further includes establishing status number information to provide different encodings for different transition edges. The step of establishing the status number information includes providing the first, second, third, and fourth status numbers corresponding to the rising edge of the first signal, the β-edge, and the rising edge and the falling edge of the second signal. . The invention is based on the transition edge of different signals as rising or falling edge $, is a different state number, and according to the transition time sequence, the two numbers are combined into a merged state matrix to be in the merged state matrix. Automatically search for specific status combinations. This facilitates the operator to obtain the specific signal segments required more quickly and accurately, which is quite convenient. In order to make the above features and advantages of the present invention more comprehensible, the following is a detailed description of the preferred embodiments of the present invention. [Embodiment] Generally, it is very time-consuming and laborious to use humans to observe and search for a specific state combination in the amount of the signal. Therefore, in order to speed up the search for a specific state combination in the magic signal quantity, the present invention proposes a method of operating the signal state to automatically search for a specific state combination in the obtained merged state matrix, thereby saving human resources. And improve the fine

在以下實施例中’本領域具有通常知識者可以電腦程 式的形式實現下述實施例,並利用電腦可讀取儲存媒體儲 存此一電腦程式,以利電腦系統執行擷取訊號狀態的方 法。另外,在以下實施例中,例如是透過示波器擷取時脈 訊號與資料訊號,並將兩個訊號的電壓矩陣資料透過通用 介面匯流排(General Purpose Interface Bus,GPIB )、通用 串列匯流排(Universal Serial Bus,USB)或無線區域網路 (Local Area Network, LAN)等傳輸介面傳送至電腦系統 中’以利系統執行擷取訊號狀態的方法。然在此僅為方便 說明,並不以此限制本發明的範圍。為了使本發明之内容 更為明瞭,以下特舉實施例作為本發明確實能夠據以實施 的範例。 圖2疋依照本發明一實施例所繪示之擷取訊號狀態系 統的方塊圖。請參照圖2 ,此系統包括示波器21〇與擷取 訊號狀態程式220。其中,操取訊號狀態程式22〇包括訊 號接收模組221、狀態編碼模組223、合併模組225、狀態 8 ltwf.doc/p 200925986 擷取模組227以及搜尋模組229。 訊號接收模組221是用來接收示波器210所擷取的多 個訊號。狀態編碼模組223是依據狀態編號資訊,將各個 訊號的不同的轉態邊緣編碼為不同的狀態號碼。合併模組 225則是用來組合各個訊號中轉態時間與狀態號碼,而分 別獲得各個訊號的時序矩陣,之後再依據轉態時間的先後 順序,組合這些時序矩陣為合併時序矩陣。 狀態擷取模組227是依據合併時序矩陣,取出狀態號 碼,而獲得具有時間順序的合併狀態矩陣。搜尋模組229 則是用以自合併狀態矩陣中,搜尋是否存在特定狀態組 合,當搜尋到特定狀態組合時,將特定狀態組合所對應的 轉態時間的區段,顯示至示波器21〇的中央,當無法搜尋 到特定狀態組合時,便驅使示波器21〇重新擷取訊號。 以下即搭配上述擷取訊號狀態系統詳細說明本發明 擷取訊號㈣的綠各步驟。w 3是依照本發明一實施例 所緣示之操取峨狀態的方法流程圖。請㈣參照圖2及 圖3。,首先’在步驟S31〇中,藉由訊號接收模組221自示 波器21G巾,接收時脈訊號以及資料訊號(即第—訊號與 第二訊號)。其中’時脈訊號與資料訊號分別具有多個轉 態時間’而每—個轉態邊緣時間皆對應-個轉態時間,轉 態邊ΐ例如由訊號的第一狀態(準位)變成第二狀態(準 Ϊ,、即二H成,第三狀態或者由第二狀態變成第-狀 缺=少兩個以上之狀態(準位)。詳細地說, 減接收模組221在接收到時脈訊號與資料訊號之後,會 200925986 ltwf.doc/p 依照預設規格’自動定位時脈訊號與資料訊號的轉態時 間’以取得各個轉態時間所對應的轉態邊緣。 接著’在步驟S320中,狀態編碼模組223即依據狀 態編碼資訊,將這些轉態時間所對應的不同轉態邊緣進行 不同編碼,以獲得多個狀態號碼。進一步地說,在進行編 碼或接收訊號之前,擷取訊號狀態程式220可事先建立狀 態編碼資訊。而狀態編碼資訊可由使用者事先進行定義, ❹ 或為系統所預設。由於兩種狀態切換的轉態邊緣包括了上 升邊緣與下降邊緣,因此,在建立狀態編碼資訊時,便可 提供四個狀態號碼就可以分別對應時脈訊號以及資料訊號 的上升邊緣以及下降邊緣。若有三個以上狀態的轉態邊^ 則而配合實際需要的狀態號碼個數,作不同編碼的設計。 在本實施例中狀態號瑪例如為小數號碼。舉例來說,在狀 態編碼資訊中,使用者(或為系統預設)將時脈訊號的上 升邊緣設置為0.2,下降邊緣設置為〇·4。另外,資料訊號 的上升邊緣則設置為(U,下降邊緣設置為〇3。因此,狀 ❿ 態編碼模組223即可依據狀態編碼資訊中的設定,將時脈 訊號與資料訊號的各個轉態邊緣一一編碼。 在將轉態邊緣編碼之後,如步驟S33〇所示,合併模 組225分別根據資料訊號與時脈訊號的轉態時間與其所對 應的狀態號碼組合,以分別獲得時脈訊號與資料訊號各自 的時脈時序矩陣(第一時序矩陣)與資料時脈矩陣(第U二時 序矩陣)。以狀態號碼為小數號瑪而言,合併模組225可將 各個轉態時間標記在其所對應的小數號碼之前,使得時脈In the following embodiments, those skilled in the art can implement the following embodiments in the form of a computer program, and use a computer readable storage medium to store the computer program for the computer system to perform the method of capturing the signal state. In addition, in the following embodiments, for example, the clock signal and the data signal are extracted through the oscilloscope, and the voltage matrix data of the two signals is transmitted through the General Purpose Interface Bus (GPIB) and the universal serial bus ( The Universal Serial Bus (USB) or the wireless local area network (LAN) transmission interface is transmitted to the computer system to facilitate the system to perform the signal acquisition state. However, the description is not intended to limit the scope of the invention. In order to make the content of the present invention clearer, the following specific embodiments are illustrative of the embodiments of the present invention. 2 is a block diagram of a captured signal state system in accordance with an embodiment of the invention. Referring to Figure 2, the system includes an oscilloscope 21 and a signal status program 220. The operation status program 22 includes a signal receiving module 221, a status encoding module 223, a merge module 225, a state 8 ltwf.doc/p 200925986 capture module 227, and a search module 229. The signal receiving module 221 is configured to receive a plurality of signals captured by the oscilloscope 210. The status encoding module 223 encodes different transition edges of the respective signals into different status numbers based on the status number information. The merging module 225 is used to combine the transition time and the status number of each signal, and obtain the timing matrix of each signal separately, and then combine these timing matrices into a combined timing matrix according to the order of the transition time. The state capture module 227 extracts the state number based on the merged timing matrix to obtain a chronological merged state matrix. The search module 229 is used to search for a specific state combination in the self-merging state matrix. When searching for a specific state combination, the segment of the transition time corresponding to the specific state combination is displayed to the center of the oscilloscope 21〇. When the specific state combination cannot be found, the oscilloscope 21 is driven to retake the signal. The following is a detailed description of the green steps of the capture signal (4) of the present invention in conjunction with the above-described capture signal status system. w 3 is a flow chart of a method of operating a state in accordance with an embodiment of the present invention. Please refer to Figure 2 and Figure 3. First, in step S31, the signal receiving module 221 receives the clock signal and the data signal (ie, the first signal and the second signal) from the oscilloscope 21G. The 'clock signal and the data signal respectively have multiple transition times' and each transition edge time corresponds to one transition time, and the transition edge is changed from the first state (level) of the signal to the second The state (predicted, that is, two H, the third state or from the second state to the first-shaped missing = less than two states (level). In detail, the subtraction receiving module 221 receives the clock After the signal and data signal, 200925986 ltwf.doc/p will automatically locate the transition time of the clock signal and the data signal according to the preset specification to obtain the transition edge corresponding to each transition time. Then 'in step S320 The state encoding module 223 separately encodes different transition edges corresponding to the transition times according to the state encoding information to obtain a plurality of state numbers. Further, before the encoding or receiving the signal, the signal is captured. The status program 220 can establish status code information in advance, and the status code information can be defined by the user in advance, or preset for the system. Since the transition states of the two state switches include The edge and the falling edge, therefore, when the state coded information is established, four state numbers can be provided to correspond to the rising edge and the falling edge of the clock signal and the data signal respectively. If there are more than three states, then In the embodiment, the state number is, for example, a decimal number. For example, in the state coded information, the user (or the system preset) will be in the clock. The rising edge of the signal is set to 0.2, and the falling edge is set to 〇·4. In addition, the rising edge of the data signal is set to (U, the falling edge is set to 〇3. Therefore, the state encoding module 223 can be encoded according to the state. In the setting of the information, the clock signal and the respective transition edges of the data signal are encoded one by one. After the transition edge is encoded, as shown in step S33, the merge module 225 converts according to the data signal and the clock signal respectively. The state time is combined with its corresponding state number to obtain the respective clock timing matrix (first timing matrix) of the clock signal and the data signal respectively. Data clock matrix (U-secondary matrix). When the status number is a decimal number, the merge module 225 can mark each transition time before the corresponding decimal number, so that the clock is made.

Itwf.doc/p 200925986 訊號與資料訊號分別獲付時脈時序矩陣與資料時序矩陣。 舉例來說,圖4A-圖4B是依照本發明一實施例所繪 示之時脈訊號與資料訊號中部分區段的編碼示意圖。請來 照圖4A及圖4B,依據狀態編瑪資訊’狀態編碼模組11] 將時脈訊號的上升邊緣編碼為小數號碼0.2,其下降邊緣 則編瑪為小數號碼0.4 ’而將資料訊號的上升邊緣編碼為 小數號碼0.1,其下降邊緣則編碼為小數號碼0.3。 在圖4A中,時脈訊號的轉態時間包括655、669、682、 0 696、709、723、736、750。以轉態時間655而言,其轉態 邊緣為上升邊緣。狀態編碼模組223將轉態時間655的轉 態邊緣編碼為0.2 ’之後,合併模組225再將轉態時間655 標記在其所對應的小數號碼0.2之前,而獲得655.2。其餘 以此類推’便可獲得時脈訊號的時脈時序矩陣(655.2, 669.4, 682.2, 696.4, 709.2, 723.4, 736.2, 750.4)。 另一方面’在圖4B中,資料訊號的轉態時間包括 660、674、687、701、714、728、755、782。以轉態時間 ❹ 660而言,其轉態邊緣為下降邊緣。狀態編碼模組223將 轉態時間660的轉態邊緣編碼為0.3,之後,合併模組225 再將轉態時間660標記在其所對應的小數號碼0.3之前, 而獲得660.3。其餘以此類推,便可獲得資料訊號的資料 時序矩陣(660.3, 674.1,687.3, 701.1,714.3, 728.1,755.3, 782.1)。 返回圖2及圖3,之後,在步驟S340中,合併模組 225再依據轉態時間的先後順序,將時脈時序矩陣與資料Itwf.doc/p 200925986 The signal and data signals are respectively assigned to the clock timing matrix and the data timing matrix. For example, FIG. 4A and FIG. 4B are schematic diagrams showing the encoding of a portion of a clock signal and a data signal according to an embodiment of the invention. Referring to FIG. 4A and FIG. 4B, the rising edge of the clock signal is encoded as the decimal number 0.2 according to the state-programming information state encoding module 11 , and the falling edge is encoded as the decimal number 0.4 ′ and the data signal is The rising edge is encoded as a decimal number of 0.1 and its falling edge is encoded as a decimal number of 0.3. In FIG. 4A, the transition time of the clock signal includes 655, 669, 682, 0 696, 709, 723, 736, 750. In terms of transition time 655, its transition edge is the rising edge. After the state encoding module 223 encodes the transition edge of the transition time 655 to 0.2 ′, the merge module 225 marks the transition time 655 before its corresponding decimal number 0.2 to obtain 655.2. The rest can be used to obtain the clock timing matrix of the clock signal (655.2, 669.4, 682.2, 696.4, 709.2, 723.4, 736.2, 750.4). On the other hand, in Fig. 4B, the transition time of the data signal includes 660, 674, 687, 701, 714, 728, 755, 782. In the case of the transition time ❹ 660, the transition edge is the falling edge. The state encoding module 223 encodes the transition edge of the transition time 660 to 0.3, after which the merge module 225 marks the transition time 660 before its corresponding decimal number of 0.3 to obtain 660.3. The rest, and so on, can obtain the data timing data matrix (660.3, 674.1, 687.3, 701.1, 714.3, 728.1, 755.3, 782.1). Returning to FIG. 2 and FIG. 3, afterwards, in step S340, the merging module 225 then sets the clock timing matrix and data according to the order of the transition time.

Itwf.doc/p 200925986 、序矩陣組合為合併時序矩陣。進一步地說,合併模組225 1先時脈時序矩p車與資料時序矩陣,组合為合併時序矩 陣之後#依據轉態時間的先後順序,將合併時序矩陣中 的讀重新排序。以圖4A與圖4B而言,合併模組225先 糾脈時序_與請時序矩陣組合成合併時序矩陣,再 依照整數所代表的轉態時間,按先後順序重新排列合併時 序矩陣中的元素。 ❹ 士舉例來说,圖5是依照本發明一實施例所繪示之合併 時序矩陣的示意圖。請參照圖5,在合併時序矩陣的元素 中’整數即是代表轉態時間’是用來分辨先後順序。而小 數號碼所代表為狀態號碼,用來分辨轉態邊緣為上升邊緣 或下降邊緣。 最後,在步驟S350中,狀態擷取模組227由合併時 序矩,取出取出各個狀態號碼,而獲得具有時間順序的合 併狀態矩陣。以圖5而言,狀態擷取模組227可自合併時 序矩陣中,將整數部分所代表的轉態時間刪除,而留下具 ❹ 树間先制序的狀賊碼,以麟合併狀祕陣,如^ 6所示,圖6是依照本發明一實施例所繪示之合併狀態矩 陣的示意圖。據此,操作人員便可視其需求來設定一特定 狀態組合,以藉由電腦程式在合併狀態矩陣中,自動搜查 是否存在此特定狀態組合。 一 以下再舉一例來說明自合併狀態矩陣中搜查特定狀 態組合的方式。圖7Α〜圖7C是依照本發明一實施例所繪 示之搜尋特定狀態組合的示意圖。請參照圖7Α〜圖7C,圖 7Α為操作人員欲搜尋的訊號狀態,藉由狀態編碼資訊可將 12 200925986 twfdoc/p 圖7A轉換為圖7B ’而獲得特定狀態組合(4, 1 2 3 4 1 2)。 ’’’’’’ 接著,透過搜尋模組229自合併狀態矩陣(請參照圖 6)中’搜哥是否存在特定狀態組合。當搜尋模組229搜尋 到特定狀態組合時,便將特定狀態組合所對應的轉態時間 的區& 710 (如圖7C所示),定位至示波器21〇的中央, 以方便操作人員進行分析。 、 相反地,若是搜尋模組229無法搜尋到特定狀態組合 Ό ,,搜尋模組229便可發送一通知訊息至示波器210,使 得示波器210重新擷取時脈訊號與資料訊號,以重覆上述 步驟S310〜S350。 值得注意的是,在上述實施例中所接收的訊號數量並 不侷限於兩個,可視使用者情況以及示波器21〇所能輸出 的,號數量,來決定揭取訊號狀態程式22〇所接收的訊號 數量。在此並不限定所接收的訊號的數量與種類。 综^^所述,在上述實施例中,在將轉態邊緣的狀態編 ❹=為狀態號碼之後,再依據各個轉態邊緣的轉態時間來排 序狀,號碼’而獲得具有時間順序的合併狀態矩陣。因此, ^可藉由程絲自動搜尋出操作人㈣需要的特定狀 L組合,以降低人為操作所發生的錯誤,不僅快速亦更準 確,並且可長時間進行監控,相當方便。 ,然本發明已以較佳實施例揭露如上,然其並非用以 =本發明’任何所屬技_域巾具有通常知識者,在不 發明之精神和範圍内,當可作些許之更動與潤飾, *本發明之保魏圍當視伽之巾請專職圍所界定者 13 twf.doc/p 200925986 為準。 【圖式簡單說明】 圖1所繪示為習知的一種訊號波形示意圖。 圖2是依照本發明一實施例所繪示之擷取訊號狀態系 統的方塊圖。 圖3是依照本發明一實施例所繪示之擷取訊號狀態的 方法流程圖。 圖4A〜圖4B是依照本發明一實施例所繪示之時脈訊 ❹ 號與資料訊號中部分區段的編碼示意圖。 圖5是依照本發明一實施例所繪示之合併時序矩陣的 示意圖。 圖6是依照本發明一實施例所繪示之合併狀態矩陣的 示意圖。 圖7A〜圖7C是依照本發明一實施例所繪示之搜尋訊 號狀態的示意圖。 【主要元件符號說明】 210 示波器 220 擷取訊號狀態程式 221 訊號接收模組 223 狀態編碼模組 225 合併模組 227 狀態擷取模組 229 搜尋模組 S310〜S350 :本發明一實施例之擷取訊號狀態的方法 各步驟Itwf.doc/p 200925986, the sequence matrix is combined into a merged time series matrix. Further, the merge module 225 1 first combines the clock timing moment p and the data timing matrix, and combines the merged sequence matrices to reorder the reads in the merged timing matrix according to the order of the transition time. 4A and FIG. 4B, the merging module 225 combines the modulating timing _ and the timing matrix into a combined timing matrix, and rearranges the elements in the merging matrix in order according to the transition time represented by the integer. For example, FIG. 5 is a schematic diagram of a combined timing matrix in accordance with an embodiment of the invention. Referring to Figure 5, the 'integer is the transition time' in the elements of the merged timing matrix is used to distinguish the order. The decimal number is represented by the status number, which is used to distinguish the transition edge as a rising edge or a falling edge. Finally, in step S350, the state capture module 227 extracts and retrieves each state number from the merged moments to obtain a chronological merged state matrix. As shown in FIG. 5, the state capturing module 227 can delete the transition time represented by the integer part from the merged time series matrix, and leave the thief code with the first order between the trees. As shown in FIG. 6, FIG. 6 is a schematic diagram of a merged state matrix according to an embodiment of the invention. Accordingly, the operator can set a specific combination of states according to his needs to automatically search for the existence of this particular combination of states in the merged state matrix by the computer program. One example below is to illustrate the way in which a particular state combination is searched from a merged state matrix. 7A-7C are schematic diagrams showing a search for a particular state combination, in accordance with an embodiment of the present invention. Referring to FIG. 7A to FIG. 7C, FIG. 7A shows the state of the signal to be searched by the operator, and the state code information can be used to convert 12200925986 twfdoc/p FIG. 7A into FIG. 7B' to obtain a specific state combination (4, 1 2 3 4). 1 2). Then, the search module 229 automatically merges the state matrix (see FIG. 6) to see if there is a specific state combination. When the search module 229 searches for a specific combination of states, the region & 710 (shown in FIG. 7C) of the transition time corresponding to the specific state combination is positioned to the center of the oscilloscope 21〇 for the operator to analyze. . Conversely, if the search module 229 cannot find a specific state combination, the search module 229 can send a notification message to the oscilloscope 210, so that the oscilloscope 210 can retrieve the clock signal and the data signal to repeat the above steps. S310~S350. It should be noted that the number of signals received in the above embodiment is not limited to two, and the number of the number that can be output by the oscilloscope 21 can be determined by the user and the number of signals received by the oscilloscope 21 to determine the received signal state program 22 The number of signals. The number and type of signals received are not limited here. In the above embodiment, after the state of the transition edge is edited to be the state number, the chronological merge is obtained by sorting the number according to the transition time of each transition edge. State matrix. Therefore, ^ can automatically search for the specific combination of L required by the operator (4) to reduce the errors caused by human operation, not only fast but also accurate, and can be monitored for a long time, which is quite convenient. However, the present invention has been disclosed in the above preferred embodiments, but it is not intended to be used in the present invention. Any of the prior art has a general knowledge, and may be modified and retouched without departing from the spirit and scope of the invention. , * The invention of the Weiwei Dangxiang Gaya towel please define the full-time enclosure 13 twf.doc/p 200925986. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a conventional signal waveform. 2 is a block diagram of a state signal system for capturing signals in accordance with an embodiment of the invention. FIG. 3 is a flow chart of a method for capturing a signal state according to an embodiment of the invention. 4A-4B are diagrams showing the encoding of a portion of a clock signal and a data signal according to an embodiment of the invention. FIG. 5 is a schematic diagram of a merged timing matrix according to an embodiment of the invention. FIG. 6 is a schematic diagram of a merged state matrix according to an embodiment of the invention. 7A-7C are schematic diagrams showing the state of a search signal according to an embodiment of the invention. [Main component symbol description] 210 oscilloscope 220 capture signal status program 221 signal receiving module 223 status encoding module 225 merge module 227 state capture module 229 search module S310~S350: capture in an embodiment of the present invention Signal status method steps

Claims (1)

ltwf.doc/p 200925986 十、申請專利範圍: 1. 一種擷取訊號狀態的方法,包括: 接收一第一訊號與一第二訊號,其中該第一訊號與該 第二訊號分別包括多個轉態時間; 將該些轉態時間的不同型態轉態邊緣進行不同編 碼’以獲得多個狀態號碼; 分別根據該第一訊號與該第二訊號的該些轉態時 間,與對應該些狀態號碼作組合,形成一第一時序矩陣與 一第二時序矩陣; 依據該些轉態時間的順序,組合該第一時序矩陣與該 第二時序矩陣為一合併時序矩陣;以及 由該合併時序矩陣取出該些狀態號碼,而獲得一合併 狀態矩陣。 2. 如申請專利範圍第1項所述之擷取訊號狀態的方 法,其中依據該些轉態時間的順序,組合該第一時序矩陣 與該第二時序矩陣為該合併時序矩陣的步驟,包括: 將該第一時序矩陣與該第二時序矩陣,組合為該合併 時序矩陣之後,再依據該些轉態時間的順序,重新排序該 合併時序矩陣。 •如申印專利範圍第1項所述之摘取訊號狀態的方 其中在接收該第一訊號與該第二訊號的步驟之後,更 包括: 根據該第—訊號以及該第二訊號 ,取得 些轉態時間。 15 ltwf.doc/p 200925986 4. 如申請專利範圍第1項所述之擷取訊號狀態的方 法’其中各該些狀態號碼為一小數號碼。 5. 如申請專利範圍第4項所述之擷取訊號狀態的方 法’其中分別根據該第一訊號與該第二訊號的該些轉態時 間’與對應該些狀態號碼來組合的步驟,包括: 將各該些轉態時間標記在其所對應的該小數號碼之 前。 ❹ 6.如申請專利範圍第1項所述之擷取訊號狀態的方 法’其中由該合併時序矩陣依序取出該些狀態號碼,而獲 得一合併狀態矩陣的步驟之後,更包括: 自該合併狀態矩陣中,搜尋是否存在一特定狀態組 合。 7. 如申請專利範圍第6項所述之擷取訊號狀態的方 法’其中在自該合併狀態矩陣中’搜尋是否存在該特定狀 態組合的步驟之後,更包括: 虽搜哥到該特定狀態組合時,將該特定狀態組合顯示 ❹ 至一示波器上;以及 當無法搜尋到該特定狀態組合時,重新接收該第一訊 號與該第二訊號。 8. 如申請專利範圍第1項所述之擷取訊號狀態的方 法,其中接收一第一訊號與一第二訊號的步驟之前,更包 括: 建立—狀態編號資訊,用以提供不同轉態邊緣以進行 不同編碼。 ltwf.doc/p 200925986 9.如申請專利範圍第8項所述之擷取訊號狀態的方 法,其中建立該狀態編號資訊的步驟,包括: 提供一第一狀態號碼、一第二狀態號碼、一第三狀態 號碼以及一第四狀態號碼,分別對應該第一訊號的一上升 邊緣與一下降邊緣,以及該第二訊號的該上升邊緣與該下 降邊緣。Ltwf.doc/p 200925986 X. Patent application scope: 1. A method for capturing a signal state, comprising: receiving a first signal and a second signal, wherein the first signal and the second signal respectively comprise multiple turns State time; different types of transition states of different transition states are coded differently to obtain a plurality of state numbers; respectively, according to the transition times of the first signal and the second signal, and corresponding states Combining numbers to form a first timing matrix and a second timing matrix; combining the first timing matrix and the second timing matrix into a combined timing matrix according to the order of the transition times; and combining The timing matrix takes the state numbers and obtains a merged state matrix. 2. The method for extracting a signal state as described in claim 1 , wherein the step of combining the first timing matrix and the second timing matrix into the combined timing matrix is performed according to the order of the transition times, The method includes: combining the first timing matrix and the second timing matrix into the merged timing matrix, and then reordering the merged timing matrix according to the order of the transition times. The method of extracting the signal state as described in item 1 of the patent application scope, after the step of receiving the first signal and the second signal, further comprises: obtaining some according to the first signal and the second signal Transition time. 15 ltwf.doc/p 200925986 4. The method of extracting the signal status as described in item 1 of the patent application, wherein each of the status numbers is a decimal number. 5. The method of combining the state of the signal as described in claim 4 of the patent application, wherein the steps of combining the first signal and the second signal are corresponding to the state numbers, including : Mark each of these transition times before the corresponding decimal number. ❹ 6. The method for extracting the signal state as described in claim 1 of the patent application, wherein the step of extracting the state numbers by the merged timing matrix to obtain a merged state matrix further comprises: In the state matrix, search for a specific combination of states. 7. The method of extracting the signal state as described in claim 6 of the patent application, wherein after searching for the existence of the specific state combination in the merged state matrix, the method further comprises: The specific state combination is displayed on an oscilloscope; and when the specific state combination cannot be found, the first signal and the second signal are re-received. 8. The method of claiming signal status as described in claim 1, wherein before receiving the first signal and the second signal, the method further comprises: establishing - status number information for providing different transition edges To make different encodings. Ltwf.doc/p 200925986 9. The method for extracting the signal status as described in claim 8 wherein the step of establishing the status number information comprises: providing a first status number, a second status number, and a The third state number and the fourth state number respectively correspond to a rising edge and a falling edge of the first signal, and the rising edge and the falling edge of the second signal. 1717
TW096146356A 2007-12-05 2007-12-05 Method for extracting signal state TWI346894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW096146356A TWI346894B (en) 2007-12-05 2007-12-05 Method for extracting signal state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW096146356A TWI346894B (en) 2007-12-05 2007-12-05 Method for extracting signal state

Publications (2)

Publication Number Publication Date
TW200925986A true TW200925986A (en) 2009-06-16
TWI346894B TWI346894B (en) 2011-08-11

Family

ID=44729551

Family Applications (1)

Application Number Title Priority Date Filing Date
TW096146356A TWI346894B (en) 2007-12-05 2007-12-05 Method for extracting signal state

Country Status (1)

Country Link
TW (1) TWI346894B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI467388B (en) * 2009-08-31 2015-01-01 Hon Hai Prec Ind Co Ltd An oscillograph and a method for identifying a signal time sequence of a serial bus by using the oscillograph

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI467388B (en) * 2009-08-31 2015-01-01 Hon Hai Prec Ind Co Ltd An oscillograph and a method for identifying a signal time sequence of a serial bus by using the oscillograph

Also Published As

Publication number Publication date
TWI346894B (en) 2011-08-11

Similar Documents

Publication Publication Date Title
ES2725553T3 (en) Web content management method and system for A / B testing or multivariable testing of websites on computers connected to a web content management system
JP2011513815A5 (en)
WO2013174172A1 (en) File information previewing method and system
US7466347B2 (en) Digital camera device having document drafting system
WO2021051532A1 (en) Data compression method, apparatus and device, and computer-readable storage medium
JP2009193187A (en) Image retrieval method, image retrieval system, image retrieval terminal and retrieving server
CN102300117A (en) Automatic testing system and testing method for set-top box
CN106055575A (en) Method and device for optimized loading of website page
TW200417189A (en) Communication apparatus with failure detect function
TW200925986A (en) Method for extracting signal state
US20180012194A1 (en) Information processing system, information processing device, information processing method, and recording medium
CN106713908B (en) Device and control method for the test of multichannel CCD camera
US20170091206A1 (en) Information Processing Method and Electronic Apparatus
JP5199948B2 (en) Database management method, database apparatus, and program
JP5704621B1 (en) Information processing apparatus, information processing method, and program
CN108109106B (en) Picture generation method and device and computer equipment
Mohamad et al. myKarve: JPEG image and thumbnail carver
CN110320394A (en) Decoding processing method and decoding processing device, the digital oscilloscope of Wave data
CN102147818A (en) Test file compression method
CN109614369A (en) A kind of document transmission method of test equipment
JP5374937B2 (en) Power index calculation program, power index calculation device, and power index calculation method
JP6892528B1 (en) Information processing equipment and computer programs
TWI279713B (en) Method for detecting viruses in macros of a data stream
CN104239793B (en) Method for detecting virus and device
US20120066655A1 (en) Electronic device and method for inspecting electrical rules of circuit boards