[go: up one dir, main page]

TWI404417B - Sync slicer and sync slicing method - Google Patents

Sync slicer and sync slicing method Download PDF

Info

Publication number
TWI404417B
TWI404417B TW99103922A TW99103922A TWI404417B TW I404417 B TWI404417 B TW I404417B TW 99103922 A TW99103922 A TW 99103922A TW 99103922 A TW99103922 A TW 99103922A TW I404417 B TWI404417 B TW I404417B
Authority
TW
Taiwan
Prior art keywords
output
synchronous signal
signal
filtering process
video input
Prior art date
Application number
TW99103922A
Other languages
Chinese (zh)
Other versions
TW201129093A (en
Inventor
Min Yu Lin
Kuo Wei Yeh
Ya Jung Yang
Original Assignee
Mediatek 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 Mediatek Inc filed Critical Mediatek Inc
Priority to TW99103922A priority Critical patent/TWI404417B/en
Publication of TW201129093A publication Critical patent/TW201129093A/en
Application granted granted Critical
Publication of TWI404417B publication Critical patent/TWI404417B/en

Links

Landscapes

  • Synchronizing For Television (AREA)
  • Picture Signal Circuits (AREA)

Abstract

An exemplary embodiment of the present invention provides a sync slicer which includes a filter module, a level detector and a level comparator. The filter module processes a video input to generate a filter output, and includes a first filter circuit for receiving the video input and performing an infinite impulse response (IIR) filtering upon the video input. The level detector is coupled to the filter module for receiving the filter output and referring to the filter output to generate a slicer level corresponding to a sync signal component. The level comparator is coupled to the filter module and the level detector for receiving the filter output and the slicer level and comparing the slicer level and the filter output to generate a sliced sync output.

Description

同步訊號截波裝置與同步訊號截波方法Synchronous signal intercepting device and synchronous signal intercepting method

本發明係有關於訊號截波處理,尤指一種包含利用無限脈衝響應(Infinite Impulse Response,IIR)濾波處理之輸出來決定出一截波準位並產生一同步訊號截波輸出的同步訊號截波裝置與方法。The present invention relates to signal interception processing, and more particularly to a synchronous signal interception including an output of an Infinite Impulse Response (IIR) filter to determine a cutoff level and generate a synchronous signal cutoff output. Apparatus and method.

一般而言,類比電視訊號的同步處理主要依賴水平同步訊號(horizontal sync,HSYNC)以及垂直同步訊號(vertical sync,VSYNC),其中每一條掃描線的訊號傳輸會包含一個水平同步訊號,然而,垂直同步訊號僅會每一個圖場(field)才產生一次。請參閱第1圖,第1圖為習知複合視訊訊號(composite video signal)的波形示意圖。如圖所示,水平同步準位(sync tip)是複合視訊訊號中的最低電壓準位,且與參考黑階準位(reference black level)之間具有300mV的壓差,一般而言,類比電視解碼器往往採用同步訊號截波(sync slicing)的技術來決定出複合視訊訊號中每一條掃描線之訊號傳輸的水平同步訊號成分的啟始位置,例如,會先找出參考黑階準位與水平同步準位,然後,以參考黑階準位與水平同步準位的中間準位來作為截波準位,以對複合視訊訊號進行截波處理來從複合視訊訊號中分離出水平同步訊號成分供後續電路(例如鎖相迴路)產生一水平同步時脈。In general, the analog processing of analog TV signals mainly relies on horizontal sync (HSYNC) and vertical sync (VSYNC). The signal transmission of each scan line will contain a horizontal sync signal, however, vertical. The sync signal will only be generated once for each field. Please refer to FIG. 1 , which is a waveform diagram of a conventional composite video signal. As shown, the sync tip is the lowest voltage level in the composite video signal and has a differential voltage of 300 mV from the reference black level. In general, analog TV The decoder often uses the technique of sync slicing to determine the starting position of the horizontal sync signal component of the signal transmission of each scan line in the composite video signal. For example, the reference black level level is first found. The horizontal synchronization level is then used as the intercept level by referring to the intermediate level of the black level and the horizontal synchronization level to intercept the composite video signal to separate the horizontal synchronization signal component from the composite video signal. A subsequent synchronization circuit (eg, a phase-locked loop) produces a horizontal synchronization clock.

然而,接收到的類比電視訊號往往會存在一些干擾,例如白雜訊(white noise)及同頻干擾(co-channel interference)等等,所以,實際的複合視訊訊號並不具有第1圖所示之理想波形,而是會受到干擾而產生波形失真,因此,如何決定出適當的截波準位以得到一個準確的同步訊號截波輸出便成為同步訊號截波設計上的一個重要課題。However, there are some interferences in the analog analog TV signals received, such as white noise and co-channel interference. Therefore, the actual composite video signal does not have the picture shown in Figure 1. The ideal waveform is subject to interference and waveform distortion. Therefore, how to determine the appropriate chopping level to obtain an accurate synchronous signal cutoff output becomes an important issue in the design of synchronous signal chopping.

因此,本發明的目的之一在於提供一種包含利用無限脈衝響應濾波處理之輸出以決定出一截波準位並產生一同步訊號截波輸出的同步訊號截波裝置與方法,以解決上述問題。Accordingly, it is an object of the present invention to provide a synchronous signal chopping apparatus and method including an output using infinite impulse response filtering to determine a chopping level and generate a synchronous signal chopping output to solve the above problems.

依據本發明之實施例,其揭露一種同步訊號截波裝置。該同步訊號截波裝置包含有一濾波模組、一截波準位偵測器以及一比較器。該濾波模組處理一視訊輸入以產生一濾波輸出,且包含有一第一濾波電路,用以接收該視訊輸入,並對該視訊輸入進行一無限脈衝響應濾波處理。該截波準位偵測器耦接於該濾波模組,用以接收該濾波輸出,並依據該濾波輸出來決定出對應一同步訊號成分之一截波準位。該比較器耦接於該截波準位偵測器與該濾波模組,用以接收該濾波輸出與該截波準位,並比較該截波準位與該濾波輸出以產生一同步訊號截波輸出。According to an embodiment of the invention, a synchronous signal clipping device is disclosed. The synchronous signal intercepting device comprises a filtering module, a chopping level detector and a comparator. The filter module processes a video input to generate a filtered output, and includes a first filter circuit for receiving the video input and performing an infinite impulse response filtering process on the video input. The chopping level detector is coupled to the filter module for receiving the filtered output, and determining a cutoff level corresponding to a sync signal component according to the filtered output. The comparator is coupled to the chopping level detector and the filter module for receiving the filtered output and the chopping level, and comparing the chopping level with the filtered output to generate a synchronous signal cut Wave output.

依據本發明之實施例,其另揭露一種同步訊號截波方法。該同步訊號截波方法包含有:處理一視訊輸入以產生一濾波輸出,其包含對該視訊輸入進行一無限脈衝響應濾波處理;依據該濾波輸出來決定出對應一同步訊號成分之一截波準位;以及比較該截波準位與該濾波輸出以產生一同步訊號截波輸出。According to an embodiment of the present invention, a synchronization signal intercepting method is further disclosed. The synchronous signal intercepting method includes: processing a video input to generate a filtered output, comprising: performing an infinite impulse response filtering process on the video input; determining, according to the filtered output, a cutoff criterion corresponding to a synchronous signal component Bits; and comparing the chopping levels to the filtered output to produce a synchronous signal cutoff output.

在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域中具有通常知識者應可理解,製造商可能會用不同的名詞來稱呼同一個元件。本說明書及後續的申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。在通篇說明書及後續的請求項當中所提及的「包含」係為一開放式的用語,故應解釋成「包含但不限定於」。以外,「耦接」一詞在此係包含任何直接及間接的電氣連接手段。因此,若文中描述一第一裝置耦接於一第二裝置,則代表該第一裝置可直接電氣連接於該第二裝置,或通過其他裝置或連接手段間接地電氣連接至該第二裝置。Certain terms are used throughout the description and following claims to refer to particular elements. Those of ordinary skill in the art should understand that a manufacturer may refer to the same component by a different noun. The scope of this specification and the subsequent patent application do not use the difference of the names as the means for distinguishing the elements, but the difference in function of the elements as the criterion for distinguishing. The term "including" as used throughout the specification and subsequent claims is an open term and should be interpreted as "including but not limited to". In addition, the term "coupled" is used herein to include any direct and indirect electrical connection. Therefore, if a first device is described as being coupled to a second device, it is meant that the first device can be directly electrically connected to the second device or indirectly electrically connected to the second device by other means or connection means.

請參閱第2圖,第2圖為本發明同步訊號截波裝置之第一實施例的示意圖。同步訊號截波裝置200包含有(但不限於)一濾波模組202、一截波準位偵測器204以及一比較器206。濾波模組202用來處理一視訊輸入(例如複合視訊訊號的取樣資料)S_IN以產生一濾波輸出S_OUT,於本實施例中,濾波模組202至少包含有一第一濾波電路208,其接收視訊輸入S_IN,並對視訊輸入S_IN進行一無限脈衝響應(Infinite Impulse Response,IIR)濾波處理來產生濾波輸出S_OUT,換言之,第一濾波電路208可採用無限脈衝響應濾波器的架構來加以實作。截波準位偵測器204耦接於濾波模組202,用以自濾波模組202接收濾波輸出S_OUT,並依據濾波輸出S_OUT來決定出對應一同步訊號成分之一截波準位(slicer level)SL,於本實施例中,該同步訊號成分係為水平同步訊號成分,然而,此僅作為範例說明之用,並非本發明的限制。此外,比較器206耦接於截波準位偵測器204與濾波模組202,用以接收濾波輸出S_OUT與截波準位SL,並比較截波準位SL與濾波輸出S_OUT以產生一同步訊號截波輸出Sliced_SYNC。由於本發明的主要技術特徵在於濾波模組202而非比較器206與截波準位偵測器204,亦即透過濾波模組202來產生濾波輸出S_OUT以供後續電路(包含比較器206與截波準位偵測器204)來使用,再者,於本發明之一實作中,比較器206與截波準位偵測器204可採用任何習知的電路架構來加以實作,故為了說明書簡潔起見,有關比較器206與截波準位偵測器204的描述便在此省略。以下則詳細說明濾波模組202的電路及運作。Please refer to FIG. 2, which is a schematic diagram of a first embodiment of a synchronous signal clipping device according to the present invention. The synchronous signal clipping device 200 includes, but is not limited to, a filtering module 202, a chopping level detector 204, and a comparator 206. The filter module 202 is configured to process a video input (eg, sampled data of the composite video signal) S_IN to generate a filtered output S_OUT. In this embodiment, the filter module 202 includes at least a first filter circuit 208 that receives the video input. S_IN, and an infinite Impulse Response (IIR) filtering process is performed on the video input S_IN to generate a filtered output S_OUT. In other words, the first filter circuit 208 can be implemented by using an architecture of an infinite impulse response filter. The chopping level detector 204 is coupled to the filter module 202 for receiving the filtered output S_OUT from the filter module 202, and determining a cutoff level corresponding to a synchronous signal component according to the filtered output S_OUT (slicer level) In the present embodiment, the synchronization signal component is a horizontal synchronization signal component. However, this is for illustrative purposes only and is not a limitation of the present invention. In addition, the comparator 206 is coupled to the chopping level detector 204 and the filtering module 202 for receiving the filtered output S_OUT and the chopping level SL, and comparing the chopping level SL with the filtered output S_OUT to generate a synchronization. The signal cutoff output is Sliced_SYNC. The main technical feature of the present invention is that the filter module 202 is not the comparator 206 and the chopping level detector 204, that is, the filter module 202 is used to generate the filtered output S_OUT for subsequent circuits (including the comparator 206 and the cutoff). The wave level detector 204) is used. Furthermore, in one implementation of the present invention, the comparator 206 and the chopping level detector 204 can be implemented by any conventional circuit architecture, so For the sake of brevity of the description, the descriptions of the comparator 206 and the chopping level detector 204 are omitted here. The circuit and operation of the filter module 202 will be described in detail below.

如前所述,濾波模組202中的第一濾波電路208是用來執行無限脈衝響應濾波處理,因此,本實施例中,第一濾波電路208會以遞迴的方式來處理輸入資料(亦即S_IN),換言之,第一濾波電路208所產生之濾波輸出S_OUT會與目前收到的輸入資料(例如複合視訊訊號之目前一筆資料)以及先前收到的輸入資料(例如複合視訊訊號之前一筆資料)有關,本實施例中,第一濾波電路208係採用加權平均(weighted average)的運算來實現無限脈衝響應濾波處理,然而,此僅作為範例說明之用,而非本發明的限制,亦即,在不違背本發明之發明精神的前提下,第一濾波電路208亦可採用其它無限脈衝響應系統來加以實作,而這些設計上的變化亦屬本發明的範疇。如第2圖所示,濾波模組202中的第一濾波電路208包含有(但不限於)一第一乘法單元210、一第二乘法單元212、一加法單元214、一儲存單元216以及一權重值設定單元218。第一乘法單元210用以將視訊輸入S_IN中每一筆資料(例如複合視訊訊號之每一取樣值)乘上一第一權重值W(0≦W≦1),以產生一第一乘法輸出M1。第二乘法單元212則耦接於儲存單元216,用以將儲存單元216所儲存之處理結果D_IIR中每一筆資料(例如每一經由加權平均處理過的取樣值)乘上一第二權重值(1-W),以產生一第二乘法輸出M2。加法單元214耦接於第一乘法單元210、第二乘法單元212以及儲存單元216,用以加總第一乘法輸出M1與第二乘法輸出M2以產生一加法輸出M3,其中M3=M1*W+M2*(1-W),並將加法輸出M3寫入至儲存單元216以更新儲存單元216所儲存之處理結果D_IIR中相對應的每一筆資料。As described above, the first filter circuit 208 in the filter module 202 is configured to perform an infinite impulse response filtering process. Therefore, in this embodiment, the first filter circuit 208 processes the input data in a recursive manner (also That is, S_IN), in other words, the filtered output S_OUT generated by the first filter circuit 208 and the currently received input data (such as the current data of the composite video signal) and the previously received input data (such as a composite video signal before a data) In this embodiment, the first filter circuit 208 uses a weighted average operation to implement an infinite impulse response filtering process. However, this is for illustrative purposes only, and is not a limitation of the present invention. The first filter circuit 208 can also be implemented by other infinite impulse response systems without departing from the inventive spirit of the present invention, and these design variations are also within the scope of the present invention. As shown in FIG. 2, the first filter circuit 208 of the filter module 202 includes, but is not limited to, a first multiplication unit 210, a second multiplication unit 212, an addition unit 214, a storage unit 216, and a Weight value setting unit 218. The first multiplication unit 210 is configured to multiply each piece of data (for example, each sample value of the composite video signal) in the video input S_IN by a first weight value W(0≦W≦1) to generate a first multiplication output M1. . The second multiplying unit 212 is coupled to the storage unit 216 for multiplying each piece of data in the processing result D_IIR stored in the storage unit 216 (for example, each sample value processed by weighted averaging) by a second weight value ( 1-W) to generate a second multiplication output M2. The adding unit 214 is coupled to the first multiplying unit 210, the second multiplying unit 212, and the storage unit 216 for summing the first multiplication output M1 and the second multiplication output M2 to generate an addition output M3, where M3=M1*W +M2*(1-W), and the addition output M3 is written to the storage unit 216 to update each of the corresponding data in the processing result D_IIR stored in the storage unit 216.

於本實施例中,加法單元214所產生之加法輸出M3除了寫回儲存單元216來進行資料更新之外,另直接作為濾波模組202的濾波輸出S_OUT(亦即S_OUT=M3);此外,儲存單元216係為一線緩衝器(line buffer),其緩衝深度等於一條掃描線之預定取樣點總數,因此,於理想狀況之下,每輸入一條掃描線的取樣資料,則儲存單元216會剛好儲存該條掃描線的取樣資料經由無限脈衝響應濾波處理之後的結果。此外,由於線緩衝器即為原本類比電視解碼器中所具備的元件,因此,第一濾波電路208可利用現有的線緩衝器來作為所需的儲存單元216,因而節省實作上所需的硬體成本。In this embodiment, the addition output M3 generated by the addition unit 214 is directly used as the filtered output S_OUT of the filter module 202 (ie, S_OUT=M3), in addition to being written back to the storage unit 216 for data update; The unit 216 is a line buffer having a buffer depth equal to a total number of predetermined sampling points of one scan line. Therefore, under ideal conditions, each time a sample line of the scan line is input, the storage unit 216 will just store the line. The sampled data of the scan lines are processed by an infinite impulse response filtering process. In addition, since the line buffer is an element that is originally provided in the analog TV decoder, the first filter circuit 208 can utilize the existing line buffer as the required storage unit 216, thereby saving the practical requirements. Hardware cost.

請參閱第3圖,第3圖為第一濾波電路208執行無限脈衝響應濾波處理的簡要示意圖。假設於時段T0 ~T1 中,濾波模組202逐一收到第一張畫面中第1條掃描線的取樣資料D0,且取樣資料D0會直接寫入儲存單元216以作為儲存單元216所儲存之初始處理結果D_IIR0 ,亦即D_IIR0 =D0 。自時間T2起,第一張畫面中第2條掃描線之取樣資料D1中的每一筆資料(取樣值)開始逐一輸入至第一濾波電路208,當收到取樣資料D1中的第一個取樣值時,第一濾波電路208會自儲存單元216中讀出初始處理結果D_IIR0 中相對應之處理過取樣值,並經由上述之無限脈衝響應濾波處理來產生一個新的處理過取樣值至儲存單元216,而取樣資料D1中後續的取樣值亦同樣地會逐一進行無限脈衝響應濾波處理,因此,於時段T1 ~T2 中,第一濾波電路208可視為基於初始處理結果D_IIR0 與取樣資料D1進行無限脈衝響應濾波處理,故於時間T2 時,儲存單元216便會儲存更新後的處理結果D_IIR1 。同理,於時段T2 ~T3 中,第一濾波電路208可視為基於處理結果D_IIR1 與下一筆取樣資料D1進行無限脈衝響應濾波處理,故於時間T3 時,儲存單元216便會儲存更新後的處理結果D_IIR2 。由於熟習此項技藝者於閱讀上述說明之後可輕易地得知後續的運作,故於此不另贅述。Please refer to FIG. 3, which is a schematic diagram of the first filter circuit 208 performing an infinite impulse response filtering process. It is assumed that in the time period T 0 ~ T 1 , the filter module 202 receives the sample data D0 of the first scan line in the first picture one by one, and the sample data D0 is directly written into the storage unit 216 to be stored as the storage unit 216. The initial processing result is D_IIR 0 , that is, D_IIR 0 = D 0 . From time T2, each piece of data (sample value) in the sample data D1 of the second scan line in the first picture is first input to the first filter circuit 208 one by one, and the first sample in the sample data D1 is received. In the value, the first filter circuit 208 reads the corresponding processed oversampled value in the initial processing result D_IIR 0 from the storage unit 216, and generates a new processed oversampled value to the storage via the infinite impulse response filtering process described above. The unit 216, and the subsequent sample values in the sampled data D1 are similarly subjected to infinite impulse response filtering processing one by one. Therefore, in the period T 1 to T 2 , the first filter circuit 208 can be regarded as based on the initial processing result D_IIR 0 and sampling. The data D1 performs an infinite impulse response filtering process, so at time T 2 , the storage unit 216 stores the updated processing result D_IIR 1 . Similarly, in the period T 2 to T 3 , the first filter circuit 208 can be regarded as performing an infinite impulse response filtering process based on the processing result D_IIR 1 and the next sample data D1. Therefore, at time T 3 , the storage unit 216 stores The updated processing result is D_IIR 2 . Since the skilled person can easily understand the subsequent operation after reading the above description, it will not be further described herein.

由於第一濾波電路208會對視訊輸入S_IN進行無限脈衝響應濾波處理,再將無限脈衝響應濾波處理所產生之濾波輸出S_OUT(亦即濾波處理過的視訊輸入S_IN)輸入至後續電路(例如截波準位偵測器204與比較器206),因此,對於截波準位偵測器204與比較器206而言,由於濾波處理過的視訊輸入S_IN可將原本視訊輸入S_IN中不想要的干擾成分(例如白雜訊及同頻干擾等等)有效地濾除或衰減,因此,可大幅提升截波準位偵測器204所判斷之截波準位SL與比較器206所產生之同步訊號截波輸出Sliced_SYNC的準確度,進而改善最終的畫面顯示品質。The first filter circuit 208 performs an infinite impulse response filtering process on the video input S_IN, and then inputs the filtered output S_OUT (that is, the filtered processed video input S_IN) generated by the infinite impulse response filtering process to a subsequent circuit (for example, clipping) The level detector 204 and the comparator 206), therefore, for the cut level detector 204 and the comparator 206, since the filtered video input S_IN can input the unwanted interference component of the original video input S_IN (for example, white noise and co-channel interference, etc.) are effectively filtered or attenuated, so that the cutoff level SL determined by the cut-off level detector 204 and the synchronous signal generated by the comparator 206 can be greatly increased. The wave outputs the accuracy of the Sliced_SYNC, which in turn improves the final picture quality.

請注意,於本實施例中,第一濾波電路208另設置有一權重值設定單元218,其耦接於第一乘法單元210與第二乘法單元212,用以依據視訊輸入S_IN之一訊號特性來設定第一權重值W與第二權重值(1-W),舉例來說,權重值設定單元218會基於視訊輸入S_IN的訊雜比(signal-to-noise ratio,SNR)來動態調整第一權重值W與第二權重值(1-W),因此,當視訊輸入S_IN的訊雜比較高時(代表視訊輸入S_IN的干擾程度較不嚴重),則權重值設定單元218會增加第一權重值W及降低第二權重值(1-W),另一方面,當視訊輸入S_IN的訊雜比較低時(代表視訊輸入S_IN的干擾程度較嚴重),則權重值設定單元218會降低第一權重值W並提升第二權重值(1-W),換言之,第一權重值W與訊雜比係正相關,而第二權重值(1-W)與訊雜比則是負相關。Please note that in the embodiment, the first filter circuit 208 is further provided with a weight value setting unit 218 coupled to the first multiplication unit 210 and the second multiplication unit 212 for using one of the signal characteristics of the video input S_IN. The first weight value W and the second weight value (1-W) are set. For example, the weight value setting unit 218 dynamically adjusts the first based on the signal-to-noise ratio (SNR) of the video input S_IN. The weight value W and the second weight value (1-W), therefore, when the signal input S_IN is relatively high (the degree of interference of the video input S_IN is less serious), the weight value setting unit 218 increases the first weight. The value W and the second weight value (1-W) are lowered. On the other hand, when the signal input S_IN is relatively low (the degree of interference of the video input S_IN is serious), the weight value setting unit 218 decreases the first. The weight value W and the second weight value (1-W) are raised, in other words, the first weight value W is positively correlated with the signal-to-noise ratio, and the second weight value (1-W) is negatively correlated with the signal-to-noise ratio.

依據上述說明可知,權重值設定單元218的設置可使得第一權重值W及第二權重值(1-W)隨著視訊輸入S_IN本身的實際訊號品質而動態地進行調整,故使第一濾波電路208可具有較佳的無限脈衝響應濾波處理效能,然而,權重值設定單元218實際上可以是一個選擇性(optional)的元件,例如,於另一實施例中,假若於一特定操作環境之下,視訊輸入S_IN的實際訊號品質均十分穩定,則第一濾波電路208便可省略權重值設定單元218,而僅使用一組預設的第一權重值W及第二權重值(1-W),而此一設計上的變化亦屬本發明的範疇。According to the above description, the setting of the weight value setting unit 218 can cause the first weight value W and the second weight value (1-W) to be dynamically adjusted according to the actual signal quality of the video input S_IN itself, so that the first filtering is performed. The circuit 208 can have a better infinite impulse response filtering performance. However, the weight value setting unit 218 can be an optional component, for example, in another embodiment, if it is in a particular operating environment. The actual signal quality of the video input S_IN is very stable, and the first filter circuit 208 can omit the weight value setting unit 218, and only use a set of preset first weight value W and second weight value (1-W). And this design change is also within the scope of the invention.

第4圖為本發明同步訊號截波方法之第一實施例的流程圖。第4圖所示之流程係應用於第2圖所示之同步訊號截波裝置200,此外,假若可獲得大致上相同的結果,則步驟不一定要遵照第4圖所示之次序來執行。本發明同步訊號截波方法之第一實施例的運作可簡單歸納如下:FIG. 4 is a flow chart of the first embodiment of the synchronous signal chopping method of the present invention. The flow shown in Fig. 4 is applied to the synchronous signal clipping device 200 shown in Fig. 2. Further, if substantially the same result is obtained, the steps are not necessarily performed in the order shown in Fig. 4. The operation of the first embodiment of the synchronous signal chopping method of the present invention can be summarized as follows:

步驟402:接收一視訊輸入(例如複合視訊訊號的取樣資料)。Step 402: Receive a video input (for example, sampling data of the composite video signal).

步驟404:對該視訊輸入進行一無限脈衝響應濾波處理(例如加權平均處理)以產生一濾波輸出。Step 404: Perform an infinite impulse response filtering process (such as weighted averaging processing) on the video input to generate a filtered output.

步驟406:依據該濾波輸出來決定出對應一同步訊號成分(例如水平同步訊號成分)之一截波準位。Step 406: Determine a cutoff level corresponding to a synchronization signal component (for example, a horizontal synchronization signal component) according to the filtered output.

步驟408:比較該截波準位與該濾波輸出以產生一同步訊號截波輸出。接著,回到步驟404以繼續採用該無限脈衝響應濾波處理來對該視訊輸入進行處理。Step 408: Compare the cutoff level with the filtered output to generate a synchronous signal cutoff output. Next, returning to step 404 to continue processing the video input using the infinite impulse response filtering process.

由於熟習此項技藝者於閱讀完上述有關同步訊號截波裝置200的技術內容之後應可輕易地瞭解各個步驟的操作細節,因此,相關說明於此便不另贅述。Since the skilled person can easily understand the operation details of each step after reading the above technical contents of the synchronous signal intercepting device 200, the related description will not be repeated here.

於上述實施例中,儲存單元216係為一線緩衝器,其緩衝深度等於一條掃描線之預定取樣點總數,因此,於理想狀況之下,每輸入一條掃描線的取樣資料,則儲存單元216會剛好儲存該條掃描線的取樣資料經由無限脈衝響應濾波處理之後的結果,然而,若視訊輸入S_IN的掃描線週期(line period)不穩定(例如視訊輸入S_IN的來源是卡匣式錄放影機(videocassette recorder,VCR),因此往往會受限於讀取機構的本身特性而造成掃描線週期不穩定)或產生變動(例如視訊輸入S_IN的來源並非提供標準視訊輸出),因此在同一取樣頻率之下,一條掃描線之實際取樣點總數會不等於預定的取樣點總數(亦即線緩衝器的緩衝深度),此時會造成視訊輸入S_IN與處理結果D_IIR無法對齊的情形,反而可能使得濾波模組202所產生之濾波輸出S_OUT(亦即濾波處理過的視訊輸入S_IN)的訊號品質惡化,因此,本發明另揭露一種適應性(adaptive)濾波處理機制,其可依據一判斷基準來動態地選用適當的濾波處理方式。In the above embodiment, the storage unit 216 is a line buffer whose buffer depth is equal to the total number of predetermined sampling points of one scan line. Therefore, under ideal conditions, each time a sample of the scan line is input, the storage unit 216 will The sample data of the scan line is stored as a result of the infinite impulse response filtering process. However, if the scan line period of the video input S_IN is unstable (for example, the source of the video input S_IN is a cassette recorder ( Videocassette recorder (VCR), which is often limited by the characteristics of the reading mechanism, causing the scan line period to be unstable or causing changes (for example, the source of the video input S_IN is not a standard video output), so it is below the same sampling frequency. The total number of actual sampling points of a scan line is not equal to the total number of predetermined sampling points (that is, the buffer depth of the line buffer). In this case, the video input S_IN and the processing result D_IIR cannot be aligned, but the filter module may be caused. The signal quality of the filtered output S_OUT (ie, the filtered video input S_IN) generated by 202 is deteriorated, therefore, The present invention further discloses an adaptive filtering processing mechanism that dynamically selects an appropriate filtering processing method according to a judgment criterion.

請參閱第5圖,第5圖為本發明同步訊號截波裝置之第二實施例的示意圖。同步訊號截波裝置500包含有(但不限於)一濾波模組502以及第2圖所示之截波準位偵測器204與比較器206,其中濾波模組502除了第2圖所示之第一濾波電路208之外,另包含一第二濾波電路508、一多工器510以及一控制電路512。由於第一濾波電路208、截波準位偵測器204與比較器206的功能與運作已於上詳述,故在此便不另贅述。對於第二濾波電路508而言,其同樣地接收視訊輸入S_IN,但是會對視訊輸入S_IN進行一預定濾波處理,而該預定濾波處理不同於第一濾波電路208所執行之無限脈衝響應濾波處理,舉例來說,該預定濾波處理係為簡單的低通濾波處理,因此,第二濾波電路508會以視訊輸入S_IN中對應同一條掃描線之複數筆資料(例如複合視訊訊號中對應同一條掃描線的複數個取樣值)來進行平均運算而輸出平均值,然而,此僅作為範例說明之用,並非為本發明的限制,亦即,於其它實施例中,該預定濾波處理亦可採用其它類型的濾波運算,廣義來說,在不違反本發明之發明精神之下,只要是異於第一濾波電路208所採用之無限脈衝響應濾波處理的處理機制,均可適用於第二濾波電路508,而這些設計上的變化均屬本發明的範疇。Please refer to FIG. 5. FIG. 5 is a schematic diagram of a second embodiment of a synchronous signal clipping device according to the present invention. The synchronization signal intercepting device 500 includes, but is not limited to, a filtering module 502 and a chopping level detector 204 and a comparator 206 shown in FIG. 2, wherein the filtering module 502 is shown in FIG. In addition to the first filter circuit 208, a second filter circuit 508, a multiplexer 510, and a control circuit 512 are further included. Since the functions and operations of the first filter circuit 208, the chopping level detector 204 and the comparator 206 have been described in detail above, they will not be further described herein. For the second filter circuit 508, it similarly receives the video input S_IN, but performs a predetermined filtering process on the video input S_IN, and the predetermined filtering process is different from the infinite impulse response filtering process performed by the first filter circuit 208. For example, the predetermined filtering process is a simple low-pass filtering process. Therefore, the second filtering circuit 508 inputs multiple pieces of data corresponding to the same scanning line in the video input S_IN (for example, the same scanning line in the composite video signal) The plurality of sample values are used for the averaging operation to output the average value. However, this is for illustrative purposes only and is not a limitation of the present invention. That is, in other embodiments, the predetermined filtering process may also adopt other types. The filtering operation, broadly speaking, can be applied to the second filter circuit 508 as long as it is different from the inventive spirit of the invention, as long as it is different from the processing mechanism of the infinite impulse response filtering process used by the first filter circuit 208. These changes in design are within the scope of the invention.

此外,多工器510具有複數個輸入埠N1、N2分別耦接於第一濾波電路208與第二濾波電路508、一控制埠N3以及一輸出埠N4,其中輸出埠N4係用以輸出濾波模組502之濾波輸出S_OUT。控制電路512耦接於控制埠N3,用來產生一選擇訊號SEL至控制埠N3,以控制多工器510將第一濾波電路208之輸出(亦即第2圖所示之加法單元214所產生的加法輸出M3)或第二濾波電路508之輸出(例如低通濾波處理所產生的結果)M3’傳遞至輸出埠N4以作為濾波輸出S_OUT。In addition, the multiplexer 510 has a plurality of inputs 埠N1, N2 coupled to the first filter circuit 208 and the second filter circuit 508, a control 埠N3, and an output 埠N4, wherein the output 埠N4 is used to output the filter mode. The filtered output of group 502 is S_OUT. The control circuit 512 is coupled to the control unit 3N3 for generating a selection signal SEL to the control unit 3N3 for controlling the output of the first filter circuit 208 by the multiplexer 510 (that is, the addition unit 214 shown in FIG. 2). The output of the addition output M3) or the second filter circuit 508 (e.g., the result of the low pass filtering process) M3' is passed to the output 埠N4 as the filtered output S_OUT.

如第5圖所示,比較器206會將同步訊號截波輸出Sliced_SYNC輸入至一時脈產生裝置(例如鎖相迴路)501進行處理以產生一同步時脈(例如水平同步時脈)CLK_SYNC,而控制電路512便基於同步時脈CLK_SYNC之週期來產生選擇訊號SEL。舉例來說,於一預設(default)操作狀態之下,控制電路512會產生選擇訊號SEL來控制多工器510將第一濾波電路208之輸出M3傳遞至輸出埠N4以作為濾波輸出S_OUT,換言之,濾波模組502係預設採用第一濾波電路208,然而,當控制電路512後續偵測到同步時脈CLK_SYNC的週期與掃描線週期之一理想值不同抑或偵測到同步時脈CLK_SYNC的週期與該理想值之差值(相位差)超出可容許誤差範圍,則控制電路512便立即藉由選擇訊號SEL的調整來控制多工器510選擇將第二濾波電路508之輸出M3’傳遞至輸出埠N4以作為濾波輸出S_OUT。As shown in FIG. 5, the comparator 206 inputs the synchronous signal cutoff output Sliced_SYNC to a clock generating device (eg, phase locked loop) 501 for processing to generate a synchronous clock (eg, horizontal sync clock) CLK_SYNC, and controls Circuit 512 generates selection signal SEL based on the period of synchronous clock CLK_SYNC. For example, under a default operating state, the control circuit 512 generates a selection signal SEL to control the multiplexer 510 to pass the output M3 of the first filter circuit 208 to the output 埠N4 as the filtered output S_OUT, In other words, the filter module 502 presets to use the first filter circuit 208. However, when the control circuit 512 subsequently detects that the period of the synchronization clock CLK_SYNC is different from the ideal value of one of the scan line periods, or detects the synchronization clock CLK_SYNC If the difference between the period and the ideal value (phase difference) exceeds the allowable error range, the control circuit 512 immediately controls the multiplexer 510 to select the output M3' of the second filter circuit 508 by adjusting the selection signal SEL to Output 埠N4 as the filtered output S_OUT.

請注意,控制電路512亦可依據同步時脈CLK_SYNC之週期的統計結果來產生選擇訊號SEL,舉例來說,當控制電路512偵測到同步時脈CLK_SYNC的平均週期(其可由一段時間中所量測到之週期長度的統計結果所計算出來)與掃描線週期之一理想值不同抑或偵測到同步時脈CLK_SYNC的平均週期與該理想值之差值(相位差)超出可容許誤差範圍時,控制電路512才會藉由選擇訊號SEL的調整來控制多工器510選擇將第二濾波電路508之輸出M3’傳遞至輸出埠N4以作為濾波輸出S_OUT,而此一設計上的變化亦屬本發明的範疇。Please note that the control circuit 512 can also generate the selection signal SEL according to the statistical result of the period of the synchronization clock CLK_SYNC. For example, when the control circuit 512 detects the average period of the synchronization clock CLK_SYNC (which can be measured in a period of time) The measured result of the measured period length is calculated as the difference between the ideal value of one of the scan line periods or the difference between the average period of the synchronized clock CLK_SYNC and the ideal value (phase difference) exceeds the allowable error range. The control circuit 512 controls the multiplexer 510 to select the output M3' of the second filter circuit 508 to be output to the output SN4 as the filtered output S_OUT by the adjustment of the selection signal SEL, and this design change is also The scope of the invention.

此外,假若濾波模組502目前切換至第二濾波電路508的使用,當控制電路512後續偵測到同步時脈CLK_SYNC的週期/平均週期與掃描線週期之理想值相同抑或同步時脈CLK_SYNC的週期/平均週期與該理想值之差值(相位差)落入可容許誤差範圍,則可以藉由選擇訊號SEL來控制多工器510選擇將第二濾波電路508之輸出M3’傳遞至輸出埠N4以作為濾波輸出S_OUT,因此,濾波模組502此時便回復使用預設的第一濾波電路208。In addition, if the filter module 502 is currently switched to the use of the second filter circuit 508, the control circuit 512 subsequently detects that the period/average period of the synchronization clock CLK_SYNC is the same as the ideal value of the scan line period or the period of the synchronization clock CLK_SYNC. If the difference between the average period and the ideal value (phase difference) falls within the allowable error range, the multiplexer 510 can be controlled to select the output M3' of the second filter circuit 508 to the output 埠N4 by selecting the signal SEL. As the filtered output S_OUT, the filter module 502 returns to use the preset first filter circuit 208 at this time.

第6圖為本發明同步訊號截波方法之第二實施例的流程圖。第6圖所示之流程係應用於第5圖所示之同步訊號截波裝置500,此外,假若可獲得大致上相同的結果,則步驟不一定要遵照第6圖所示之次序來執行。本發明同步訊號截波方法之第二實施例的運作可簡單歸納如下:Figure 6 is a flow chart of a second embodiment of the method for synchronizing signal synchronization according to the present invention. The flow shown in Fig. 6 is applied to the synchronous signal clipping device 500 shown in Fig. 5. Further, if substantially the same result is obtained, the steps are not necessarily performed in the order shown in Fig. 6. The operation of the second embodiment of the synchronous signal chopping method of the present invention can be summarized as follows:

步驟602:接收一視訊輸入(例如複合視訊訊號的取樣資料)。Step 602: Receive a video input (for example, sampling data of the composite video signal).

步驟604:對該視訊輸入進行一無限脈衝響應濾波處理(例如加權平均處理)以產生一濾波輸出。Step 604: Perform an infinite impulse response filtering process (such as weighted averaging processing) on the video input to generate a filtered output.

步驟606:依據該濾波輸出來決定出對應一同步訊號成分(例如水平同步訊號成分)之一截波準位。Step 606: Determine a cutoff level corresponding to a synchronization signal component (for example, a horizontal synchronization signal component) according to the filtered output.

步驟608:比較該截波準位與該濾波輸出以產生一同步訊號截波輸出。Step 608: Compare the cutoff level with the filtered output to generate a synchronous signal cutoff output.

步驟610:依據同步時脈CLK_SYNC的週期/平均週期與掃描線週期之理想值是否不同抑或同步時脈CLK_SYNC的週期/平均週期與該理想值之差值(相位差)是否超出可容許誤差範圍來判斷是否需要切換至異於該無限脈衝響應濾波處理之一預定濾波處理(例如低通濾波處理),若是,則執行步驟612,否則的話,回到步驟604而繼續採用該無限脈衝響應濾波處理。Step 610: According to whether the period/average period of the synchronization clock CLK_SYNC is different from the ideal value of the scan line period or whether the difference (phase difference) between the period/average period of the synchronization clock CLK_SYNC and the ideal value exceeds the allowable error range. A determination is made as to whether switching to a predetermined filtering process (e.g., low pass filtering process) other than the infinite impulse response filtering process is performed, and if so, step 612 is performed, otherwise, returning to step 604 to continue employing the infinite impulse response filtering process.

步驟612:對該視訊輸入進行一預定濾波處理以產生該濾波輸出。Step 612: Perform a predetermined filtering process on the video input to generate the filtered output.

步驟614:依據該濾波輸出來決定該截波準位。Step 614: Determine the chopping level according to the filtered output.

步驟616:比較該截波準位與該濾波輸出以產生該同步訊號截波輸出。Step 616: Compare the cutoff level with the filtered output to generate the synchronous signal cutoff output.

步驟618:依據同步時脈CLK_SYNC的週期/平均週期與掃描線週期之理想值是否相同抑或同步時脈CLK_SYNC的週期/平均週期與該理想值之差值(相位差)是否落入可容許誤差範圍來判斷是否需回復使用該無限脈衝響應濾波處理,若是,則執行步驟604,否則的話,回到步驟612而繼續採用該預定濾波處理。Step 618: Whether the period/average period of the synchronization clock CLK_SYNC is equal to the ideal value of the scan line period or whether the difference between the period/average period of the synchronization clock CLK_SYNC and the ideal value (phase difference) falls within an allowable error range. To determine whether it is necessary to reply to use the infinite impulse response filtering process, if yes, proceed to step 604, otherwise, return to step 612 and continue to use the predetermined filtering process.

由於熟習此項技藝者於閱讀完上述有關同步訊號截波裝置500的技術內容之後應可輕易地瞭解各個步驟的操作細節,因此,相關說明於此便不另贅述。Since the skilled person can easily understand the operation details of each step after reading the above technical contents of the synchronous signal intercepting device 500, the related description will not be repeated here.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

200、500...同步訊號截波裝置200, 500. . . Synchronous signal interceptor

202、502...濾波模組202, 502. . . Filter module

204...截波準位偵測器204. . . Chopping level detector

206...比較器206. . . Comparators

208...第一濾波電路208. . . First filter circuit

210...第一乘法單元210. . . First multiplication unit

212...第二乘法單元212. . . Second multiplication unit

214...加法單元214. . . Addition unit

216...儲存單元216. . . Storage unit

218...權重值設定單元218. . . Weight value setting unit

402~408、602~618...步驟402~408, 602~618. . . step

501...時脈產生裝置501. . . Clock generating device

508...第二濾波電路508. . . Second filter circuit

510...多工器510. . . Multiplexer

512...控制電路512. . . Control circuit

S_IN...視訊輸入S_IN. . . Video input

S_OUT...濾波輸出S_OUT. . . Filtered output

SL...截波準位SL. . . Chopping level

Sliced_SYNC...同步訊號截波輸出Sliced_SYNC. . . Synchronous signal cutoff output

M1...第一乘法輸出M1. . . First multiplication output

M2...第二乘法輸出M2. . . Second multiplication output

M3...加法輸出M3. . . Addition output

M3’...第二濾波電路之輸出M3’. . . Output of the second filter circuit

N1、N2...輸入埠N1, N2. . . Input 埠

N3...控制埠N3. . . Control

N4...輸出埠N4. . . Output埠

D_IIR、D_IIR0 ~D_IIR3 ...處理結果D_IIR, D_IIR 0 ~ D_IIR 3 . . . process result

D0~D4...取樣資料D0~D4. . . Sampling data

T0 ~T5 ...時間T 0 ~T 5 . . . time

W...第一權重值W. . . First weight value

1-W...第二權重值1-W. . . Second weight value

CLK_SYNC...同步時脈CLK_SYNC. . . Synchronous clock

第1圖為習知複合視訊訊號的波形示意圖。Figure 1 is a waveform diagram of a conventional composite video signal.

第2圖為本發明同步訊號截波裝置之第一實施例的示意圖。FIG. 2 is a schematic diagram of a first embodiment of a synchronous signal clipping device according to the present invention.

第3圖為第一濾波電路執行無限脈衝響應濾波處理的簡要示意圖。FIG. 3 is a schematic diagram showing the first filter circuit performing an infinite impulse response filtering process.

第4圖為本發明同步訊號截波方法之第一實施例的流程圖。FIG. 4 is a flow chart of the first embodiment of the synchronous signal chopping method of the present invention.

第5圖為本發明同步訊號截波裝置之第二實施例的示意圖。FIG. 5 is a schematic diagram of a second embodiment of a synchronous signal clipping device according to the present invention.

第6圖為本發明同步訊號截波方法之第二實施例的流程圖。Figure 6 is a flow chart of a second embodiment of the method for synchronizing signal synchronization according to the present invention.

200...同步訊號截波裝置200. . . Synchronous signal interceptor

202...濾波模組202. . . Filter module

204...截波準位偵測器204. . . Chopping level detector

206...比較器206. . . Comparators

208...第一濾波電路208. . . First filter circuit

210...第一乘法單元210. . . First multiplication unit

212...第二乘法單元212. . . Second multiplication unit

214...加法單元214. . . Addition unit

216...儲存單元216. . . Storage unit

218...權重值設定單元218. . . Weight value setting unit

S_IN...視訊輸入S_IN. . . Video input

S_OUT...濾波輸出S_OUT. . . Filtered output

SL...截波準位SL. . . Chopping level

Sliced_SYNC...同步訊號截波輸出Sliced_SYNC. . . Synchronous signal cutoff output

M1...第一乘法輸出M1. . . First multiplication output

M2...第二乘法輸出M2. . . Second multiplication output

M3...加法輸出M3. . . Addition output

W...第一權重值W. . . First weight value

1-W...第二權重值1-W. . . Second weight value

Claims (20)

一種同步訊號截波裝置,包含有:一濾波模組,用來處理一視訊輸入以產生一濾波輸出,該濾波模組包含有:一第一濾波電路,其接收該視訊輸入,並對該視訊輸入進行一無限脈衝響應(Infinite Impulse Response,IIR)濾波處理;一截波準位偵測器,耦接於該濾波模組,用以接收該濾波輸出,並依據該濾波輸出來決定出對應一同步訊號成分之一截波準位;以及一比較器,耦接於該截波準位偵測器與該濾波模組,用以接收該濾波輸出與該截波準位,並比較該截波準位與該濾波輸出以產生一同步訊號截波輸出。A synchronous signal clipping device includes: a filtering module for processing a video input to generate a filtered output, the filtering module comprising: a first filtering circuit, receiving the video input, and the video The input performs an Infinite Impulse Response (IIR) filtering process; a chopping level detector is coupled to the filtering module for receiving the filtered output, and determining a corresponding one according to the filtered output a chopping level of the synchronization signal component; and a comparator coupled to the chopping level detector and the filtering module for receiving the filtered output and the chopping level, and comparing the chopping The level and the filtered output are used to generate a sync signal cutoff output. 如申請專利範圍第1項所述之同步訊號截波裝置,其中該同步訊號成分係為一水平同步訊號成分。The synchronous signal clipping device of claim 1, wherein the synchronous signal component is a horizontal synchronization signal component. 如申請專利範圍第1項所述之同步訊號截波裝置,其中該第一濾波電路包含有:一儲存單元;一第一乘法單元,其將該視訊輸入中每一筆資料乘上一第一權重值,以產生一第一乘法輸出;一第二乘法單元,耦接於該儲存單元,用以將該儲存單元所儲存之處理結果中每一筆資料乘上一第二權重值,以產生一第二乘法輸出;以及一加法單元,耦接於該第一乘法單元、該第二乘法單元以及該儲存單元,用以加總該第一乘法輸出與該第二乘法輸出以產生一加法輸出,並將該加法輸出寫入至該儲存單元以更新該儲存單元所儲存之處理結果中相對應的每一筆資料。The synchronous signal clipping device of claim 1, wherein the first filter circuit comprises: a storage unit; and a first multiplication unit that multiplies each data in the video input by a first weight a value for generating a first multiplication output; a second multiplication unit coupled to the storage unit for multiplying each of the data stored in the storage unit by a second weight value to generate a first a multiplication output; and an addition unit coupled to the first multiplication unit, the second multiplication unit, and the storage unit for summing the first multiplication output and the second multiplication output to generate an addition output, and The addition output is written to the storage unit to update each of the corresponding data in the processing result stored by the storage unit. 如申請專利範圍第3項所述之同步訊號截波裝置,其中該儲存單元係為一線緩衝器,其緩衝深度等於一條掃描線之預定取樣點總數。The synchronous signal clipping device of claim 3, wherein the storage unit is a line buffer having a buffer depth equal to a total number of predetermined sampling points of one scan line. 如申請專利範圍第3項所述之同步訊號截波裝置,其中該第一濾波電路另包含有:一權重值設定單元,耦接於該第一乘法單元與該第二乘法單元,用以依據該視訊輸入之一訊號特性來設定該第一權重值與該第二權重值。The synchronous signal clipping device of claim 3, wherein the first filtering circuit further comprises: a weight value setting unit coupled to the first multiplication unit and the second multiplication unit for The video input has a signal characteristic to set the first weight value and the second weight value. 如申請專利範圍第5項所述之同步訊號截波裝置,其中該訊號特性係為一訊雜比。The synchronous signal clipping device of claim 5, wherein the signal characteristic is a signal to noise ratio. 如申請專利範圍第6項所述之同步訊號截波裝置,其中該第一權重值與該訊雜比係正相關,以及該第二權重值與該訊雜比係負相關。The synchronous signal clipping device of claim 6, wherein the first weight value is positively correlated with the signal-to-noise ratio, and the second weight value is negatively correlated with the signal-to-noise ratio. 如申請專利範圍第1項所述之同步訊號截波裝置,其中該濾波模組另包含有:一第二濾波電路,其接收該視訊輸入,並對該視訊輸入進行一預定濾波處理,其中該預定濾波處理係不同於該第一濾波電路所執行之該無限脈衝響應濾波處理;一多工器,具有一控制埠、一輸出埠以及複數個輸入埠分別耦接於該第一、第二濾波電路,其中該輸出埠係用以輸出該濾波模組之該濾波輸出;以及一控制電路,耦接於該控制埠,用來產生一選擇訊號至該控制埠,以控制該多工器將該第一濾波電路之輸出或該第二濾波電路之輸出傳遞至該輸出埠。The synchronous signal clipping device of claim 1, wherein the filtering module further comprises: a second filtering circuit that receives the video input and performs a predetermined filtering process on the video input, wherein the The predetermined filtering process is different from the infinite impulse response filtering process performed by the first filter circuit; a multiplexer having a control port, an output port, and a plurality of input ports respectively coupled to the first and second filters a circuit, wherein the output is configured to output the filtered output of the filter module; and a control circuit coupled to the control port for generating a selection signal to the control port to control the multiplexer to The output of the first filter circuit or the output of the second filter circuit is passed to the output port. 如申請專利範圍第8項所述之同步訊號截波裝置,其中該比較器係將該同步訊號截波輸出輸入至一時脈產生裝置進行處理以產生一同步時脈,以及該控制電路係基於該同步時脈之週期來產生該選擇訊號。The synchronous signal clipping device of claim 8, wherein the comparator inputs the synchronous signal cutoff output to a clock generating device for processing to generate a synchronous clock, and the control circuit is based on the The period of the clock is synchronized to generate the selection signal. 如申請專利範圍第9項所述之同步訊號截波裝置,其中該控制電路係依據該同步時脈之週期的統計結果來產生該選擇訊號。The synchronous signal clipping device of claim 9, wherein the control circuit generates the selection signal according to a statistical result of a period of the synchronization clock. 一種同步訊號截波方法,包含有:處理一視訊輸入以產生一濾波輸出,包含有:對該視訊輸入進行一無限脈衝響應(Infinite Impulse Response,IIR)濾波處理;依據該濾波輸出來決定出對應一同步訊號成分之一截波準位;以及比較該截波準位與該濾波輸出以產生一同步訊號截波輸出。A synchronous signal intercepting method includes: processing a video input to generate a filtered output, comprising: performing an Infinite Impulse Response (IIR) filtering process on the video input; determining a correspondence according to the filtered output. a cutoff level of a sync signal component; and comparing the cutoff level to the filtered output to produce a sync signal cutoff output. 如申請專利範圍第11項所述之同步訊號截波方法,其中該同步訊號成分係為一水平同步訊號成分。The synchronous signal clipping method according to claim 11, wherein the synchronous signal component is a horizontal synchronization signal component. 如申請專利範圍第11項所述之同步訊號截波方法,其中該無限脈衝響應濾波處理包含有:將該視訊輸入中每一筆資料乘上一第一權重值,以產生一第一乘法輸出;將一儲存單元所儲存之處理結果中每一筆資料乘上一第二權重值,以產生一第二乘法輸出;以及加總該第一乘法輸出與該第二乘法輸出以產生一加法輸出,並將該加法輸出寫入至該儲存單元以更新該儲存單元所儲存之處理結果中相對應的每一筆資料。The synchronous signal clipping method of claim 11, wherein the infinite impulse response filtering process comprises: multiplying each piece of data in the video input by a first weight value to generate a first multiplication output; Multiplying each of the processing results stored in a storage unit by a second weight value to generate a second multiplication output; and summing the first multiplication output and the second multiplication output to generate an addition output, and The addition output is written to the storage unit to update each of the corresponding data in the processing result stored by the storage unit. 如申請專利範圍第13項所述之同步訊號截波方法,其中該儲存單元係為一線緩衝器,其緩衝深度等於一條掃描線之預定取樣點總數。The synchronous signal chopping method of claim 13, wherein the storage unit is a line buffer having a buffer depth equal to a total number of predetermined sampling points of one scan line. 如申請專利範圍第13項所述之同步訊號截波方法,其中該無限脈衝響應濾波處理另包含有:依據該視訊輸入之一訊號特性來設定該第一權重值與該第二權重值。The synchronous signal clipping method of claim 13, wherein the infinite impulse response filtering process further comprises: setting the first weight value and the second weight value according to a signal characteristic of the video input. 如申請專利範圍第15項所述之同步訊號截波方法,其中該訊號特性係為一訊雜比。The synchronous signal clipping method according to claim 15, wherein the signal characteristic is a signal-to-noise ratio. 如申請專利範圍第16項所述之同步訊號截波方法,其中該第一權重值與該訊雜比係正相關,以及該第二權重值與該訊雜比係負相關。The synchronous signal clipping method according to claim 16, wherein the first weight value is positively correlated with the signal-to-noise ratio, and the second weight value is negatively correlated with the signal-to-noise ratio. 如申請專利範圍第11項所述之同步訊號截波方法,其中處理該視訊輸入以產生該濾波輸出的步驟另包含有:對該視訊輸入進行一預定濾波處理,其中該預定濾波處理係不同於該無限脈衝響應濾波處理;以及選擇該無限脈衝響應濾波之輸出或該預定濾波處理之輸出來作為該濾波輸出。The synchronous signal clipping method of claim 11, wherein the step of processing the video input to generate the filtered output further comprises: performing a predetermined filtering process on the video input, wherein the predetermined filtering process is different from The infinite impulse response filtering process; and selecting an output of the infinite impulse response filter or an output of the predetermined filtering process as the filtered output. 如申請專利範圍第18項所述之同步訊號截波方法,其中該同步訊號截波輸出另經由一時脈產生處理以產生一同步時脈,以及選擇該無限脈衝響應濾波之輸出或該預定濾波處理之輸出來作為該濾波輸出的步驟包含有:基於該同步時脈之週期來選擇輸出該無限脈衝響應濾波之輸出或該預定濾波處理之輸出。The synchronous signal clipping method according to claim 18, wherein the synchronous signal cutoff output is further processed by a clock generation process to generate a synchronous clock, and the output of the infinite impulse response filter or the predetermined filtering process is selected. The step of outputting the output as the filtered output includes selecting an output of the infinite impulse response filter or an output of the predetermined filtering process based on a period of the synchronization clock. 如申請專利範圍第19項所述之同步訊號截波方法,其中基於該同步時脈之週期來選擇輸出該無限脈衝響應濾波之輸出或該預定濾波處理之輸出的步驟包含有:依據該同步時脈之週期的統計結果來選擇輸出該無限脈衝響應濾波之輸出或該預定濾波處理之輸出。The synchronous signal clipping method according to claim 19, wherein the step of outputting the output of the infinite impulse response filter or the output of the predetermined filtering process based on the period of the synchronization clock includes: according to the synchronization The statistical result of the period of the pulse is selected to output the output of the infinite impulse response filter or the output of the predetermined filtering process.
TW99103922A 2010-02-09 2010-02-09 Sync slicer and sync slicing method TWI404417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99103922A TWI404417B (en) 2010-02-09 2010-02-09 Sync slicer and sync slicing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99103922A TWI404417B (en) 2010-02-09 2010-02-09 Sync slicer and sync slicing method

Publications (2)

Publication Number Publication Date
TW201129093A TW201129093A (en) 2011-08-16
TWI404417B true TWI404417B (en) 2013-08-01

Family

ID=45025516

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99103922A TWI404417B (en) 2010-02-09 2010-02-09 Sync slicer and sync slicing method

Country Status (1)

Country Link
TW (1) TWI404417B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW295767B (en) * 1995-05-09 1997-01-11 Macrovision Corp
US20040190649A1 (en) * 2003-02-19 2004-09-30 Endres Thomas J. Joint, adaptive control of equalization, synchronization, and gain in a digital communications receiver
TW200421275A (en) * 2003-04-10 2004-10-16 Via Optical Solution Inc Data slicer of dynamically adjusting slice level
TW200603616A (en) * 2004-07-02 2006-01-16 Realtek Semiconductor Corp Synchronization signal generator and method thereof
TW200623647A (en) * 2004-06-17 2006-07-01 Kenet Inc Analog to digital converter calibration via synchronous demodulation
EP1214807B1 (en) * 1999-09-03 2007-06-06 Broadcom Corporation System and method for the synchronization and distribution of telephony timing information in a cable modem network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW295767B (en) * 1995-05-09 1997-01-11 Macrovision Corp
EP1214807B1 (en) * 1999-09-03 2007-06-06 Broadcom Corporation System and method for the synchronization and distribution of telephony timing information in a cable modem network
US20040190649A1 (en) * 2003-02-19 2004-09-30 Endres Thomas J. Joint, adaptive control of equalization, synchronization, and gain in a digital communications receiver
TW200421275A (en) * 2003-04-10 2004-10-16 Via Optical Solution Inc Data slicer of dynamically adjusting slice level
TW200428783A (en) * 2003-04-10 2004-12-16 Via Optical Solution Inc Apparatus of phase-frequency detector
TW200623647A (en) * 2004-06-17 2006-07-01 Kenet Inc Analog to digital converter calibration via synchronous demodulation
TW200603616A (en) * 2004-07-02 2006-01-16 Realtek Semiconductor Corp Synchronization signal generator and method thereof

Also Published As

Publication number Publication date
TW201129093A (en) 2011-08-16

Similar Documents

Publication Publication Date Title
JP5173021B2 (en) System and method for mitigating delay in a data detector feedback loop
CN101729846B (en) Systems and methods for cable equalization
CN101953157B (en) Feedback system and apparatus for video compensation
US20090128695A1 (en) Devices and methods for extracting a synchronization signal from a video signal
JP2006503482A (en) Multipath signal strength meter
US9444588B1 (en) On-chip bathtub BER measurement for high-speed serdes diagnostics
CA2415490C (en) Synchronization detection apparatus
JP4578107B2 (en) Apparatus and method for receiving a data signal
CN102148920B (en) Synchronous signal limiting device and synchronous signal limiting method
US8174516B2 (en) Image display system, image signal transmitter and image display unit
TWI404417B (en) Sync slicer and sync slicing method
JP3532117B2 (en) Video signal processing device
US20080285888A1 (en) Image resizing device and parameter adjusting method thereof
US5920351A (en) Black level detecting circuit of video signal
TWI440339B (en) Receiver and method for adjusting the strength of the adjustable equalizer of the receiver
US7778789B2 (en) Digital phase calibration method and system
US8358684B2 (en) Demodulation circuit, demodulation method, program, and reception apparatus
US9191048B2 (en) Quadrature impulse noise remover
US7447511B2 (en) Method and device for equalizing mode selection
US8270460B2 (en) Filter for identifying signal artifacts in bandwidth-limited instruments
US8306351B2 (en) Apparatus and method for filtering noise in image signal
KR20090008032A (en) Signal Processing Apparatus and Method for Applying AC to Delayed Signals
US8064509B1 (en) Adaptive equalization based on signal overshoot
JPH09284608A (en) Video signal processing circuit
US20140219473A1 (en) Signal filtering apparatus and signal filtering method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees