[go: up one dir, main page]

TWI454152B - Video standard detector and operation method thereof and intermediate frequency demodulator - Google Patents

Video standard detector and operation method thereof and intermediate frequency demodulator Download PDF

Info

Publication number
TWI454152B
TWI454152B TW098127603A TW98127603A TWI454152B TW I454152 B TWI454152 B TW I454152B TW 098127603 A TW098127603 A TW 098127603A TW 98127603 A TW98127603 A TW 98127603A TW I454152 B TWI454152 B TW I454152B
Authority
TW
Taiwan
Prior art keywords
signal
detector
video standard
pass filter
synchronization information
Prior art date
Application number
TW098127603A
Other languages
Chinese (zh)
Other versions
TW201108749A (en
Inventor
Chao Wei Huang
Original Assignee
Himax Media Solutions 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 Himax Media Solutions Inc filed Critical Himax Media Solutions Inc
Priority to TW098127603A priority Critical patent/TWI454152B/en
Publication of TW201108749A publication Critical patent/TW201108749A/en
Application granted granted Critical
Publication of TWI454152B publication Critical patent/TWI454152B/en

Links

Landscapes

  • Television Systems (AREA)

Description

視訊標準探知器及其操作方法與中頻解調器Video standard detector and its operation method and intermediate frequency demodulator

本發明是有關於一種電視解調,且特別是有關於一種判斷基頻信號所屬視訊標準的視訊標準探知器與視訊標準探知方法。The present invention relates to a television demodulation, and more particularly to a video standard detector and a video standard detection method for determining a video standard to which a baseband signal belongs.

一般來說,在類比電視(Analog TV)的應用中,調諧器(Tuner)通常是用來將電視信號從射頻(Radio Frequency,RF)頻段降頻至中頻(Intermediate Frequency,IF)頻段,而中頻解調器(IF Demodulator)用來將IF信號解調為複合視頻廣播信號(Composite Video Broadcast Signal,CVBS)和聲音信號。In general, in analog TV applications, a tuner is usually used to downconvert a television signal from a radio frequency (RF) band to an intermediate frequency (IF) band. The IF demodulator is used to demodulate the IF signal into a composite video broadcast signal (CVBS) and a sound signal.

複合視頻廣播信號因地區性而有各種不同的標準規格。目前複合視頻廣播信號包含三種規格,電視國家電視系統委員會(National Television Systems Committee,NTSC)、逐行倒相(Phase Alternating Line,PAL)和順序傳送彩色與存儲(Couleur,SECAM)。上述三者皆採用振幅調變(Amplitude Modulation,AM)的方式,其中振幅調變的方式可分為正調變模式(Positive Modulation Mode)及負調變模式(Negative Modulation Mode)兩種。Composite video broadcast signals have various standard specifications due to regionality. The current composite video broadcast signal contains three specifications, the National Television Systems Committee (NTSC), the Phase Alternating Line (PAL), and the sequential transmission of color and storage ( Couleur , SECAM). All of the above methods adopt Amplitude Modulation (AM) mode, and the amplitude modulation mode can be divided into two modes: Positive Modulation Mode and Negative Modulation Mode.

NTSC視訊標準屬於負調變模式,其場週期大小約略為16.67毫秒。PAL視訊標準屬於負調變模式,其場週期大小約略為20毫秒。SECAM-L視訊標準是SECAM視訊標準的其中一種分支,屬於正調變模式,其場週期大小約略為20毫秒。The NTSC video standard is a negative modulation mode with a field period of approximately 16.67 milliseconds. The PAL video standard is a negative modulation mode with a field period of approximately 20 milliseconds. The SECAM-L video standard is one of the branches of the SECAM video standard. It belongs to the positive modulation mode and has a field period of approximately 20 milliseconds.

因此,在信號中頻解調的階段,必須先判別出其所屬的複合視頻廣播信號規格,才能解調出正確的複合視頻廣播信號。Therefore, in the stage of signal intermediate frequency demodulation, it is necessary to discriminate the composite video broadcast signal specification to which it belongs, in order to demodulate the correct composite video broadcast signal.

本發明提供一種視訊標準探知器及其操作方法與中頻解調器,可判斷出基頻信號屬於何種視訊標準。The invention provides a video standard detector and an operation method thereof and an intermediate frequency demodulator, which can determine which video standard the baseband signal belongs to.

本發明提出一種視訊標準探知器,包括低通濾波器及特徵探知器。低通濾波器過濾該基頻信號。特徵探知器使用低通濾波器的輸出而偵測該基頻信號的垂直同步資訊以及水平同步資訊,以及依據該垂直同步資訊與該水平同步資訊來判斷該基頻信號屬於何種視訊標準。The invention provides a video standard detector comprising a low pass filter and a feature detector. A low pass filter filters the baseband signal. The feature detector detects the vertical synchronization information and the horizontal synchronization information of the baseband signal by using the output of the low-pass filter, and determines which video standard the baseband signal belongs to according to the vertical synchronization information and the horizontal synchronization information.

本發明亦提出一種視訊標準探知方法,包括過濾基頻信號,以獲得一濾波結果。濾波結果以偵測垂直同步資訊。藉由使用濾波結果以偵測水平同步資訊獲。依據垂直同步資訊與水平同步資訊來判斷基頻信號屬於何種視訊標準。The invention also proposes a video standard detection method, which comprises filtering a fundamental frequency signal to obtain a filtering result. Filter the result to detect vertical sync information. By using the filtered result to detect horizontal synchronization information. The vertical synchronization information and the horizontal synchronization information are used to determine which video standard the baseband signal belongs to.

本發明提出一種中頻解調器包括類比數位轉換器、移頻單元、低通濾波器、特徵探知器、基頻處理器。類比數位轉換器轉換中頻信號為數位信號。移頻單元將數位信號移頻以輸出基頻信號。低通濾波器過濾基頻信號。特徵探知器使用該低通濾波器的輸出而偵測該基頻信號的垂直同步資訊與水平同步資訊,以及依據該垂直同步資訊與該水平同步資訊來判斷該基頻信號屬於何種視訊標準。基頻處理器依據該視訊標準處理基頻信號,以產生複合影像廣播信號與聲音信號。The invention provides an intermediate frequency demodulator comprising an analog digital converter, a frequency shifting unit, a low pass filter, a feature detector and a baseband processor. The analog digital converter converts the intermediate frequency signal into a digital signal. The frequency shifting unit shifts the digital signal to output a baseband signal. The low pass filter filters the fundamental frequency signal. The feature detector detects the vertical synchronization information and the horizontal synchronization information of the baseband signal by using the output of the low-pass filter, and determines which video standard the baseband signal belongs to according to the vertical synchronization information and the horizontal synchronization information. The baseband processor processes the baseband signal according to the video standard to generate a composite image broadcast signal and a sound signal.

基於上述,本發明藉由類比數位轉換器及移頻單元,將中頻信號轉換為數位信號。接著,利用視訊標準探知器中的低通濾波器及特徵探知器以判斷由中頻信號轉換成的基頻信號屬於何種標準,以及對應地處理基頻視訊信號。Based on the above, the present invention converts an intermediate frequency signal into a digital signal by an analog digital converter and a frequency shifting unit. Then, the low-pass filter and the feature detector in the video standard detector are used to determine which standard the baseband signal converted by the intermediate frequency signal belongs to, and correspondingly process the fundamental video signal.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

傳統類比電視廣播系統之動態影像傳送方式,是由一連串的靜態畫面組成。靜態畫面又名幀(Frame),其由上百條水平掃描線所構成。對於交錯式(Interlaced)掃描方式而言,這些水平掃描線又分為奇數線與偶數線。所有奇數線組成奇數場(Odd Field),而所有偶數線則組成偶數場(Even Field)。每一個場中的部份水平掃描線被設定為垂直同步(Vertical Synchronization)。每一個水平掃描線均具有水平同步(Horizontal Synchronization)。The dynamic image transmission method of the traditional analog television broadcasting system is composed of a series of static pictures. A static picture is also called a frame, which is composed of hundreds of horizontal scanning lines. For the interlaced scanning method, these horizontal scanning lines are further divided into odd lines and even lines. All odd lines form an odd field (Odd Field), and all even lines form an even field (Even Field). Part of the horizontal scanning line in each field is set to Vertical Synchronization. Each horizontal scan line has a horizontal synchronization (Horizontal Synchronization).

NTSC視訊標準屬於負調變模式,其每秒約30個幀(即其每秒約60個場),因此垂直掃描頻率約為60Hz,而場週期大小約略為16.67毫秒。NTSC視訊標準每幀含有525條水平掃描線,因此水平掃描頻率約為15.734KHz。PAL視訊標準屬於負調變模式,其每秒約25個幀(即其每秒約50個場),因此垂直掃描頻率約為50Hz,而場週期大小約略為20毫秒。SECAM-L視訊標準是SECAM視訊標準的其中一種分支,屬於正調變模式,其每秒約25個幀(即其每秒約50個場),因此垂直掃描頻率約為50Hz,而場週期大小約略為20毫秒。PAL視訊標準與SECAM-L視訊標準每幀含有625條水平掃描線,因此水平掃描頻率約為15.625KHz。The NTSC video standard is a negative modulation mode with about 30 frames per second (ie, about 60 fields per second), so the vertical scanning frequency is about 60 Hz, and the field period is about 16.67 milliseconds. The NTSC video standard contains 525 horizontal scan lines per frame, so the horizontal scan frequency is approximately 15.734 kHz. The PAL video standard is a negative modulation mode with about 25 frames per second (ie, about 50 fields per second), so the vertical scanning frequency is about 50 Hz, and the field period is about 20 milliseconds. The SECAM-L video standard is one of the branches of the SECAM video standard. It belongs to the positive modulation mode, which has about 25 frames per second (ie, about 50 fields per second), so the vertical scanning frequency is about 50 Hz, and the field period is about Slightly 20 milliseconds. The PAL video standard and the SECAM-L video standard contain 625 horizontal scan lines per frame, so the horizontal scanning frequency is approximately 15.625 kHz.

圖1是依照本發明的一實施例說明中頻解調器的方塊圖。請參照圖1,中頻解調器100包括類比數位轉換器101、移頻單元102、視訊標準探知器200以及基頻處理器103。類比數位轉換器101接收並轉換類比的中頻信號IFA為數位信號IED。移頻單元102耦接至類比數位轉換器101,將數位信號IFD從中頻移頻至基頻,以輸出基頻信號(baseband signal)BB。視訊標準探知器200接收基頻信號BB,並判斷出基頻信號BB屬於何種視訊標準,然後輸出判斷結果R1。基頻處理器103耦接至移頻單元102與視訊標準探知器200,依據視訊標準探知器200的判斷結果R1,對應地處理基頻信號BB以獲得基頻視訊信號BBV。基頻視訊信號BBV包含複合影像廣播信號(Composite Video Broadcast Signal,CVBS)與聲音信號(audio signal)。1 is a block diagram showing an intermediate frequency demodulator in accordance with an embodiment of the present invention. Referring to FIG. 1, the intermediate frequency demodulator 100 includes an analog digital converter 101, a frequency shifting unit 102, a video standard detector 200, and a baseband processor 103. The analog-to-digital converter 101 receives and converts the analog intermediate frequency signal IFA to a digital signal IED. The frequency shifting unit 102 is coupled to the analog-to-digital converter 101, and shifts the digital signal IFD from the intermediate frequency to the fundamental frequency to output a baseband signal BB. The video standard detector 200 receives the baseband signal BB, determines which video standard the baseband signal BB belongs to, and then outputs a determination result R1. The baseband processor 103 is coupled to the frequency shifting unit 102 and the video standard detector 200, and correspondingly processes the baseband signal BB to obtain the baseband video signal BBV according to the determination result R1 of the video standard detector 200. The baseband video signal BBV includes a composite video broadcast signal (CVBS) and an audio signal.

上述類比數位轉換器101、移頻單元102與基頻處理器103可以用任何方式實現之。例如,用管線式類比數位轉換器來實現類比數位轉換器101。本技術領域之技術人員應已熟知類比數位轉換器101、移頻單元102與基頻處理器103,故不在此說明之。The analog digital converter 101, the frequency shifting unit 102 and the baseband processor 103 described above can be implemented in any manner. For example, an analog digital converter 101 is implemented with a pipeline analog digital converter. Those skilled in the art should be familiar with the analog-to-digital converter 101, the frequency shifting unit 102, and the baseband processor 103, and therefore will not be described herein.

視訊標準探知器200包括低通濾波器(low pass filter,LPF)201以及特徵探知器(feature detector)202。低通濾波器201過濾基頻信號BB,以輸出濾波結果BBL。特徵探知器202耦接至低通濾波器201。特徵探知器202偵測垂直同步資訊以及水平同步資訊,並依據垂直同步資訊與水平同步資訊來判斷基頻信號BB屬於何種視訊標準。垂直同步資訊包含基頻信號BB的場週期(field period),而水平同步資訊包含在場週期中的水平同步數(水平線數)以及該濾波結果BBL之調變模式。因此,特徵探知器202產生判斷結果R1給基頻處理器103。基頻處理器103依據判斷結果R1而處理基頻信號BB。The video standard detector 200 includes a low pass filter (LPF) 201 and a feature detector 202. The low pass filter 201 filters the fundamental frequency signal BB to output a filtered result BBL. The feature detector 202 is coupled to the low pass filter 201. The feature detector 202 detects the vertical synchronization information and the horizontal synchronization information, and determines which video standard the baseband signal BB belongs to according to the vertical synchronization information and the horizontal synchronization information. The vertical synchronization information includes a field period of the baseband signal BB, and the horizontal synchronization information includes a horizontal synchronization number (horizontal line number) in the field period and a modulation mode of the filtering result BBL. Therefore, the feature detector 202 generates the determination result R1 to the baseband processor 103. The baseband processor 103 processes the baseband signal BB in accordance with the determination result R1.

圖2是依照本發明實施例說明圖1中視訊標準探知器200的方塊圖。低通濾波器201包含窄帶(narrow band)低通濾波器301與寬帶(wide band)低通濾波器302。其中,前述低通濾波器201所輸出的濾波結果BBL包含了窄帶低通濾波器301所輸出的窄帶信號BBL1以及寬帶低通濾波器302所輸出的寬帶信號BBL2。特徵探知器202包含垂直同步探知器303、水平同步探知器304以及決定單元305。窄帶低通濾波器301接收並過濾基頻信號BB,以輸出窄帶信號BBL1給特徵探知器202的垂直同步探知器303。垂直同步探知器303偵測前述濾波結果BBL(即窄帶信號BBL1),以取得包含場週期的垂直同步資訊給決定單元305。前述場週期是藉由計數相鄰二個場波峰(field peak)之時間間隔而決定的。水平同步探知器304偵測前述濾波結果BBL(即寬帶信號BBL2),以取得水平同步資訊給決定單元305。水平同步資訊包含水平同步數(水平線數)以及調變模式。此外,當垂直同步資訊被偵測到時,垂直同步探知器303更通知水平同步探知器304去偵測水平同步資訊。2 is a block diagram showing the video standard detector 200 of FIG. 1 in accordance with an embodiment of the present invention. The low pass filter 201 includes a narrow band low pass filter 301 and a wide band low pass filter 302. The filter result BBL output by the low pass filter 201 includes the narrowband signal BBL1 output by the narrowband low pass filter 301 and the wideband signal BBL2 output by the wideband low pass filter 302. The feature detector 202 includes a vertical sync finder 303, a horizontal sync finder 304, and a decision unit 305. The narrowband low pass filter 301 receives and filters the baseband signal BB to output a narrowband signal BBL1 to the vertical sync detector 303 of the feature detector 202. The vertical sync detector 303 detects the filter result BBL (ie, the narrowband signal BBL1) to obtain the vertical sync information including the field period to the decision unit 305. The aforementioned field period is determined by counting the time interval between two adjacent field peaks. The horizontal sync detector 304 detects the filter result BBL (ie, the wideband signal BBL2) to obtain the horizontal sync information to the decision unit 305. The horizontal synchronization information includes the horizontal synchronization number (the number of horizontal lines) and the modulation mode. In addition, when the vertical synchronization information is detected, the vertical synchronization detector 303 further notifies the horizontal synchronization detector 304 to detect the horizontal synchronization information.

圖3是依照本發明另一實施例說明當基頻信號BB分別為NTSC、PAL與SECAM-L等視訊標準的信號時,圖2中窄帶低通濾波器301所輸出窄帶信號BBL1的時序示意圖。於圖3中,NTSC與PAL視訊標準同屬負調變模式,而SECAM-L視訊標準則屬於正調變模式。FIG. 3 is a timing diagram showing the narrowband signal BBL1 outputted by the narrowband low-pass filter 301 of FIG. 2 when the baseband signal BB is a signal of a video standard such as NTSC, PAL, and SECAM-L, respectively, according to another embodiment of the present invention. In Figure 3, the NTSC and PAL video standards are both in the negative modulation mode, while the SECAM-L video standard is in the positive modulation mode.

請參照圖2及圖3,基頻信號BB經過窄帶低通濾波器301之後,信號的特徵可顯現出來。如圖3所示,各種視訊標準的基頻信號BB經過窄帶低通濾波器301之後,都會在垂直同步區間(vertical sync region)中出現週期性的場波峰(極大值或極小值)。例如NTSC視訊標準,基頻信號BB經過窄頻低通濾波後,會在第4、5、6條掃描線(於偶數場)與第267、268、269條掃描線(於奇數場)出現週期性的場波峰(極大值)。又例如於PAL視訊標準下,基頻信號BB經過窄頻低通濾波後,會在第1、2、3條掃描線(於偶數場)與第313、314、315條掃描線(於奇數場)出現週期性的場波峰(極大值)。對於SECAM-L視訊標準而言,由於其屬於正調變模式,基頻信號BB經過窄頻低通濾波後,會在第1、2、3條掃描線(於偶數場)與第313、314、315條掃描線(於奇數場)出現週期性的場波峰(極小值)。Referring to FIG. 2 and FIG. 3, after the fundamental frequency signal BB passes through the narrowband low pass filter 301, the characteristics of the signal can be visualized. As shown in FIG. 3, after the fundamental frequency signal BB of various video standards passes through the narrowband low-pass filter 301, periodic field peaks (maximum or minimum values) appear in the vertical sync region. For example, in the NTSC video standard, after the narrowband low-pass filtering, the baseband signal BB will appear on the 4th, 5th, and 6th scan lines (in the even field) and the 267th, 268th, and 269th scan lines (in the odd field). Sexual field peaks (maximum values). For example, under the PAL video standard, after the narrowband low-pass filtering, the baseband signal BB is on the first, second, and third scan lines (in the even field) and the 313th, 314, and 315th scan lines (in the odd field). ) Periodic field peaks (maximum values) appear. For the SECAM-L video standard, since it belongs to the positive modulation mode, the fundamental frequency signal BB passes through the narrowband low-pass filtering, and will be on the first, second, and third scan lines (in the even field) and the third and third lines, Periodic field peaks (minimum values) appear on 315 scan lines (in odd fields).

因此,垂直同步探知器303可以偵測窄帶信號BBL1以獲知基頻信號BB的場波峰,並計數相鄰二個場波峰之時間間隔以輸出場週期(作為垂直同步資訊)給決定單元305。實際上,前述場週期包含在正調變模式中所獲得的正場週期,以及/或者在負調變模式中所獲得的負場週期。例如,若基頻信號BB屬於NTSC視訊標準,則垂直同步探知器303可以偵測到窄帶信號BBL1的負場週期約為16.67毫秒(60Hz)。若基頻信號BB屬於PAL視訊標準,則垂直同步探知器303可以偵測到窄帶信號BBL1的負場週期約為20毫秒(50Hz)。若基頻信號BB屬於SECAM-L視訊標準,則垂直同步探知器303可以偵測到窄帶信號BBL1的正場週期約為20毫秒(50Hz)。因此,依據場週期(正場週期與/或負場週期)可分辨出系統為NTSC視訊標準、PAL視訊標準或是SECAM-L視訊標準。Therefore, the vertical sync detector 303 can detect the narrowband signal BBL1 to learn the field peak of the fundamental frequency signal BB, and count the time interval of the adjacent two field peaks to output the field period (as vertical synchronization information) to the decision unit 305. In fact, the aforementioned field period includes the positive field period obtained in the positive modulation mode, and/or the negative field period obtained in the negative modulation mode. For example, if the baseband signal BB belongs to the NTSC video standard, the vertical sync detector 303 can detect that the negative field period of the narrowband signal BBL1 is about 16.67 milliseconds (60 Hz). If the baseband signal BB belongs to the PAL video standard, the vertical sync detector 303 can detect that the negative field period of the narrowband signal BBL1 is about 20 milliseconds (50 Hz). If the baseband signal BB belongs to the SECAM-L video standard, the vertical sync detector 303 can detect that the positive field period of the narrowband signal BBL1 is about 20 milliseconds (50 Hz). Therefore, depending on the field period (positive field period and/or negative field period), the system can be distinguished as the NTSC video standard, the PAL video standard or the SECAM-L video standard.

不論是何種系統,每一條可視線(visible line,即水平掃描線)的起頭都會有水平同步。因此,本實施例藉由加入偵測水平同步的機制,而在相鄰二個垂直同步之間設定一個水平同步檢查窗(HSync check window)。在此期間內計算水平同步(即水平掃描線)次數,以增加視訊標準探知的可靠性。Regardless of the system, each visible line (horizontal line) will have horizontal synchronization at the beginning. Therefore, in this embodiment, by adding a mechanism for detecting horizontal synchronization, a horizontal synchronization check window (HSync check window) is set between adjacent two vertical synchronizations. The number of horizontal syncs (ie, horizontal scan lines) is calculated during this period to increase the reliability of the video standard detection.

最後,決定單元305以垂直同步探知器303所輸出的垂直同步資訊(場週期)和水平同步探知器304所輸出的水平同步資訊(包含水平同步次數與調變模式)作為偵測視訊標準的判斷依據。在某一應用例中,請參照圖2與圖3,可於不同通道(channel)中利用PAL、SECAM-L與NTSC等視訊標準。若負場週期約略為20毫秒,且於負調變模式的水平同步次數(以下稱負水平同步)大於第一預設值,則判斷基頻信號BB屬於PAL視訊標準,也就是此通道是PAL標準通道。若在另一個通道的負場週期約略為16.67毫秒且負水平同步次數大於第三預設值,則判斷基頻信號BB屬於NTSC視訊標準,也就是此通道是NTSC標準通道。若在又一個通道的正場週期約略為20毫秒,且於正調變模式的水平同步次數(以下稱正水平同步)大於第二預設值,則判斷基頻信號BB屬於SECAM-L視訊標準,也就是此通道是SECAM-L標準通道。基頻信號BB所對應的視訊標準是由決定單元305基於場週期(包含正場週期與負場週期二者至少一者)與水平同步數(包含正水平同步與負水平同步二者至少一者)所決定的。此外,前述第一預設值可以是小於或等於PAL場線(field line)數的任何整數(例如300),前述第二預設值可以是小於或等於SECAM-L場線數的任何整數(例如300),而前述第三預設值可以是小於或等於NTSC場線數的任何整數(例如250)。Finally, the determining unit 305 uses the vertical synchronization information (field period) output by the vertical synchronization detector 303 and the horizontal synchronization information (including the horizontal synchronization number and the modulation mode) output by the horizontal synchronization detector 304 as the judgment of the detection video standard. in accordance with. In an application example, referring to FIG. 2 and FIG. 3, video standards such as PAL, SECAM-L, and NTSC can be utilized in different channels. If the negative field period is approximately 20 milliseconds, and the number of horizontal synchronizations in the negative modulation mode (hereinafter referred to as negative horizontal synchronization) is greater than the first preset value, it is determined that the fundamental frequency signal BB belongs to the PAL video standard, that is, the channel is PAL. Standard channel. If the negative field period of the other channel is approximately 16.67 milliseconds and the negative horizontal synchronization number is greater than the third predetermined value, it is determined that the fundamental frequency signal BB belongs to the NTSC video standard, that is, the channel is an NTSC standard channel. If the positive field period of another channel is approximately 20 milliseconds, and the horizontal synchronization number (hereinafter referred to as positive horizontal synchronization) in the positive modulation mode is greater than the second preset value, it is determined that the fundamental frequency signal BB belongs to the SECAM-L video standard. That is, this channel is the standard channel of SECAM-L. The video standard corresponding to the baseband signal BB is determined by the decision unit 305 based on at least one of a field period (including at least one of a positive field period and a negative field period) and a horizontal synchronization number (including both positive horizontal synchronization and negative horizontal synchronization). ) decided. In addition, the foregoing first preset value may be any integer (for example, 300) less than or equal to the number of PAL field lines, and the foregoing second preset value may be any integer less than or equal to the number of SECAM-L field lines ( For example, 300), and the aforementioned third preset value may be any integer (eg, 250) that is less than or equal to the number of NTSC field lines.

上述水平同步探知器304的操作可以參照圖4與圖5。圖4是本實施例中具有正調變模式水平同步之掃描線的波形圖。請參照圖4,水平同步探知器304搜尋濾波結果BBL(即寬帶信號BBL2)的水平同步最小值HsyncPeak,其中此水平同步最小值HsyncPeak必須符合週期出現的特徵,若不符合則重新搜尋。接著,在濾波結果BBL的水平同步最小值HsyncPeak的鄰近區域設置固定寬度的入口觀察視窗BkPorchWindow。依據在入口觀察視窗BkPorchWindow中濾波結果BBL的平均值與水平同步最小值HsyncPeak而決定水平同步臨界值HsyncThreshold。其中,所述平均值的獲得,是基於在BkPorchWindow中寬帶信號BBL2之平均。The operation of the horizontal sync detector 304 described above can be referred to FIG. 4 and FIG. 5. Fig. 4 is a waveform diagram of a scanning line having a horizontal modulation of positive modulation mode in the present embodiment. Referring to FIG. 4, the horizontal synchronization detector 304 searches for the horizontal synchronization minimum value HsyncPeak of the filtering result BBL (ie, the wideband signal BBL2), wherein the horizontal synchronization minimum value HsyncPeak must conform to the characteristics of the periodic occurrence, and if not, re-search. Next, a fixed-width entry observation window BkPorchWindow is set in the vicinity of the horizontal synchronization minimum value HsyncPeak of the filtering result BBL. The horizontal synchronization threshold HsyncThreshold is determined based on the average value of the filtering result BBL in the entry observation window BkPorchWindow and the horizontal synchronization minimum value HsyncPeak. Wherein, the average value is obtained based on the average of the broadband signal BBL2 in the BkPorchWindow.

圖5是本實施例中接續圖4在正調變模式中用以決定正水平同步是否有效之掃描線的波形圖。請參照圖5,若濾波結果BBL(即寬帶信號BBL2)的值小於水平同步臨界值HsyncThreshold,則水平同步片段輸出HsyncSlicerOut為高準位。在濾波結果BBL的水平同步最小值HsyncPeak的鄰近區域開固定寬度的誤差觀察視窗HsyncErrWindow,計算視窗內為高準位HsyncSlicerOut的樣本總和St。最後,若分析樣本總和St在正水平同步的判斷標準之內,則是視為有效的正水平同步。水平同步探知器304便依據上述方法而於場週期中偵測正水平同步,並進一步地計數正水平同步次數。Fig. 5 is a waveform diagram of a scanning line for determining whether or not positive horizontal synchronization is effective in the positive modulation mode in the embodiment. Referring to FIG. 5, if the value of the filtering result BBL (ie, the wideband signal BBL2) is less than the horizontal synchronization threshold HsyncThreshold, the horizontal synchronization segment output HsyncSlicerOut is a high level. A fixed-width error observation window HsyncErrWindow is opened in the vicinity of the horizontal synchronization minimum value HsyncPeak of the filtering result BBL, and the sample sum St of the high-level HsyncSlicerOut in the window is calculated. Finally, if the analysis sample sum St is within the criterion of positive horizontal synchronization, it is considered to be a valid positive horizontal synchronization. The horizontal sync detector 304 detects positive horizontal sync in the field period according to the above method, and further counts the number of positive horizontal syncs.

相類似地,為了計數濾波結果BBL的負水平同步次數,首先,搜尋濾波結果BBL(即寬帶信號BBL2)的最大值,同時其必須符合週期出現的特徵,若不符合則重新搜尋。接著,在濾波結果BBL的最大值的鄰近區域開固定寬度的觀察視窗,以及依據所搜尋到濾波結果BBL的最大值、上述HsyncSlicerOut以及視訊標準的不同,計算視窗內有效的樣本總和。接著,分析其樣本總和是否在負水平同步的判斷標準之內。若分析樣本總和在負水平同步的判斷標準之內,則是視為有效的負水平同步。水平同步探知器304便依據上述方法而於場週期中偵測負水平同步,並進一步地計數負水平同步次數。Similarly, in order to count the number of negative horizontal synchronizations of the filtering result BBL, first, the maximum value of the filtering result BBL (ie, the wideband signal BBL2) is searched for, and it must conform to the characteristics of the periodic occurrence, and if not, the search is re-searched. Next, the observation window of the fixed width is opened in the vicinity of the maximum value of the filtering result BBL, and the sum of the samples valid in the window is calculated according to the maximum value of the searched filtering result BBL, the above-mentioned HsyncSlicerOut, and the video standard. Next, analyze whether the sum of the samples is within the criterion of the negative level synchronization. If the sum of the sampled samples is within the criteria for the negative level synchronization, then it is considered a valid negative level synchronization. The horizontal sync detector 304 detects negative horizontal sync in the field period in accordance with the above method and further counts the number of negative horizontal syncs.

特徵探知器202並不限於圖2所示的實現方式。圖6為依照本發明另一實施例說明圖2中特徵探知器202的方塊圖。請參照圖6,特徵探知器202包括正垂直同步探知器401、正水平同步探知器402、負垂直同步探知器403、負水平同步探知器404、決定單元405。由於NTSC與PAL同屬負調變模式系統,為了節省硬體面積,可以使用同一套硬體(即負垂直同步探知器403與負水平同步探知器404)來偵測。The feature detector 202 is not limited to the implementation shown in FIG. 2. FIG. 6 is a block diagram showing the feature detector 202 of FIG. 2 in accordance with another embodiment of the present invention. Referring to FIG. 6, the feature detector 202 includes a positive vertical sync detector 401, a positive horizontal sync detector 402, a negative vertical sync detector 403, a negative horizontal sync detector 404, and a decision unit 405. Since NTSC and PAL are both negative modulation mode systems, in order to save hardware area, the same set of hardware (ie, negative vertical sync detector 403 and negative horizontal sync detector 404) can be used for detection.

正垂直同步探知器401操作於正調變模式。正垂直同步探知器401偵測濾波結果BBL(即窄帶信號BBL1),以獲知基頻信號BB的正垂直同步(即最小值),並計數相鄰二個正垂直同步之時間間隔以輸出正場週期。正水平同步探知器402操作於正調變模式。正水平同步探知器402偵測濾波結果BBL(即寬帶信號BBL2)並獲知基頻信號BB的正水平同步,且於正場週期中計數基頻信號BB的正水平同步以輸出正水平同步次數。此外,當該正場週期被偵測到時,正垂直同步探知器401更通知正水平同步探知器402去偵測正水平同步次數。The positive vertical sync detector 401 operates in a positive modulation mode. The positive vertical sync detector 401 detects the filter result BBL (ie, the narrowband signal BBL1) to learn the positive vertical sync (ie, the minimum value) of the baseband signal BB, and counts the time intervals of two adjacent positive vertical syncs to output the positive field. cycle. The positive horizontal sync detector 402 operates in a positive modulation mode. The positive horizontal sync detector 402 detects the filtered result BBL (ie, the wideband signal BBL2) and learns the positive horizontal synchronization of the baseband signal BB, and counts the positive horizontal synchronization of the baseband signal BB in the positive field period to output the positive horizontal synchronization number. In addition, when the positive field period is detected, the positive vertical sync detector 401 further informs the positive horizontal sync detector 402 to detect the number of positive horizontal syncs.

負垂直同步探知器403操作於負調變模式。負垂直同步探知器403偵測濾波結果BBL(即窄帶信號BBL1),以獲知基頻信號BB的負垂直同步(即最大值),並計數相鄰二個負垂直同步之時間間隔以輸出負場週期。負水平同步探知器404操作於負調變模式。負水平同步探知器404偵測濾波結果BBL(即寬帶信號BBL2)並獲知基頻信號BB的負水平同步,並於負場週期中計數基頻信號BB的負水平同步以輸出負水平同步次數。此外,當該負場週期被偵測到時,負垂直同步探知器403更通知負水平同步探知器404去偵測負水平同步次數。The negative vertical sync detector 403 operates in a negative modulation mode. The negative vertical sync detector 403 detects the filtered result BBL (ie, the narrowband signal BBL1) to learn the negative vertical sync (ie, the maximum value) of the baseband signal BB, and counts the time interval between two adjacent negative vertical syncs to output a negative field. cycle. The negative horizontal sync detector 404 operates in a negative modulation mode. The negative horizontal sync detector 404 detects the filtered result BBL (ie, the wideband signal BBL2) and learns the negative horizontal synchronization of the baseband signal BB, and counts the negative horizontal sync of the baseband signal BB in the negative field period to output the negative horizontal sync number. In addition, when the negative field period is detected, the negative vertical sync detector 403 further notifies the negative level sync detector 404 to detect the number of negative horizontal syncs.

前述正垂直同步探知器401與負垂直同步探知器403可以參考垂直同步探知器303的相關說明而實施之。另外,前述正水平同步探知器402與負水平同步探知器404可以參考水平同步探知器304的相關說明而實施之。The aforementioned positive vertical sync detector 401 and negative vertical sync detector 403 can be implemented with reference to the related description of vertical sync detector 303. Additionally, the aforementioned positive horizontal sync detector 402 and negative horizontal sync detector 404 can be implemented with reference to the related description of horizontal sync detector 304.

決定單元405耦接至正垂直同步探知器401、正水平同步探知器402、負垂直同步探知器403與負水平同步探知器404。其中,若負場週期約略為20毫秒且負水平同步次數大於第一預設值,則判斷基頻信號BB屬於PAL視訊標準。若正場週期約略為20毫秒且正水平同步次數大於第二預設值,則判斷基頻信號BB屬於SECAM-L視訊標準。若負場週期約略為16.67毫秒且負水平同步次數大於第三預設值,則判斷基頻信號BB屬於NTSC視訊標準。其中,第一預設值、第二預設值及第三預設值為任意整數,可依設計需求而設定之。The decision unit 405 is coupled to the positive vertical sync detector 401, the positive horizontal sync detector 402, the negative vertical sync detector 403, and the negative horizontal sync detector 404. Wherein, if the negative field period is approximately 20 milliseconds and the negative horizontal synchronization number is greater than the first preset value, it is determined that the fundamental frequency signal BB belongs to the PAL video standard. If the positive field period is approximately 20 milliseconds and the positive horizontal synchronization number is greater than the second predetermined value, it is determined that the fundamental frequency signal BB belongs to the SECAM-L video standard. If the negative field period is approximately 16.67 milliseconds and the negative horizontal synchronization number is greater than the third predetermined value, it is determined that the fundamental frequency signal BB belongs to the NTSC video standard. The first preset value, the second preset value, and the third preset value are arbitrary integers, and can be set according to design requirements.

若要更近一步確認判斷結果,則決定單元405可以加上更多的判斷條件。也就是說,在其他實施例中,若負場週期與/或正場週期約略為20毫秒,且負水平同步次數大於第一預設值,且正水平同步次數小於等於第四預設值(例如為0),則判斷基頻信號BB屬於PAL視訊標準。若正水平同步次數大於第二預設值,且負水平同步次數小於等於第四預設值,則判斷基頻信號BB屬於SECAM-L視訊標準。若負場週期約略為16.67毫秒,且負水平同步次數大於第三預設值,且正水平同步次數小於等於第四預設值,則判斷基頻信號BB屬於NTSC視訊標準。To further confirm the judgment result, the decision unit 405 can add more judgment conditions. That is, in other embodiments, if the negative field period and/or the positive field period is approximately 20 milliseconds, and the negative horizontal synchronization number is greater than the first preset value, and the positive horizontal synchronization number is less than or equal to the fourth preset value ( For example, if it is 0), it is judged that the fundamental frequency signal BB belongs to the PAL video standard. If the number of positive horizontal synchronizations is greater than the second preset value, and the number of negative horizontal synchronizations is less than or equal to the fourth predetermined value, it is determined that the fundamental frequency signal BB belongs to the SECAM-L video standard. If the negative field period is approximately 16.67 milliseconds, and the negative horizontal synchronization number is greater than the third preset value, and the positive horizontal synchronization number is less than or equal to the fourth predetermined value, it is determined that the fundamental frequency signal BB belongs to the NTSC video standard.

特徵探知器202亦可參照圖7實施之。圖7為依照本發明另一實施例說明圖2中特徵探知器202的方塊圖。請參照圖7,特徵探知器202包括第一正垂直同步探知器501、第一正水平同步探知器502、反相單元503、第二正垂直同步探知器504、第二正水平同步探知器505、決定單元506。Feature detector 202 can also be implemented with reference to FIG. FIG. 7 is a block diagram showing the feature detector 202 of FIG. 2 in accordance with another embodiment of the present invention. Referring to FIG. 7, the feature detector 202 includes a first positive vertical sync detector 501, a first positive horizontal sync detector 502, an inverting unit 503, a second positive vertical sync detector 504, and a second positive horizontal sync detector 505. And determining unit 506.

第一正垂直同步探知器501偵測濾波結果BBL(即窄帶信號BBL1)以獲知基頻信號BB的正垂直同步,並計數相鄰二個正垂直同步之時間間隔以輸出正場週期。第一正水平同步探知器502偵測濾波結果BBL(即寬帶信號BBL2),以獲知基頻信號BB的正水平同步,且於正場週期中計數基頻信號BB的正水平同步以輸出正水平同步次數。此外,當該正場週期被偵測到時,第一正垂直同步探知器501更通知第一正水平同步探知器502去偵測正水平同步次數。The first positive vertical sync detector 501 detects the filtered result BBL (ie, the narrowband signal BBL1) to learn the positive vertical sync of the baseband signal BB, and counts the time intervals of two adjacent positive vertical syncs to output a positive field period. The first positive horizontal synchronization detector 502 detects the filtering result BBL (ie, the wideband signal BBL2) to learn the positive horizontal synchronization of the fundamental frequency signal BB, and counts the positive horizontal synchronization of the fundamental frequency signal BB in the positive field period to output a positive level. The number of synchronizations. In addition, when the positive field period is detected, the first positive vertical sync detector 501 further notifies the first positive horizontal sync detector 502 to detect the positive horizontal sync number.

反相單元503將濾波結果BBL加以反相,以輸出反相結果,其反相結果與濾波結果BBL互為反相。第二正垂直同步探知器504偵測濾波結果BBL之反相結果以獲知基頻信號BB的負垂直同步,並計數相鄰二個負垂直同步之時間間隔以輸出負場週期。第二正水平同步探知器505偵測濾波結果BBL之反相結果以獲知基頻信號BB的負水平同步,且於負場週期中計數基頻信號BB的負水平同步以輸出負水平同步次數。此外,當該負場週期被偵測到時,第二正垂直同步探知器504更通知第二正水平同步探知器505去偵測正水平同步次數。特別的是,反相單元503、第二正垂直同步探知器504與第二正水平同步探知器505是被實現來當作圖6中的負垂直同步探知器403與負水平同步探知器404。The inverting unit 503 inverts the filtering result BBL to output an inverted result, and the inverted result thereof is inverted from the filtered result BBL. The second positive vertical sync detector 504 detects the inverted result of the filtered result BBL to learn the negative vertical sync of the baseband signal BB, and counts the time interval of two adjacent negative vertical syncs to output a negative field period. The second positive horizontal sync detector 505 detects the inverted result of the filtered result BBL to learn the negative horizontal synchronization of the fundamental frequency signal BB, and counts the negative horizontal synchronization of the fundamental frequency signal BB in the negative field period to output the negative horizontal synchronization number. In addition, when the negative field period is detected, the second positive vertical sync detector 504 further notifies the second positive horizontal sync detector 505 to detect the number of positive horizontal syncs. In particular, the inverting unit 503, the second positive vertical sync detector 504, and the second positive horizontal sync detector 505 are implemented as the negative vertical sync detector 403 and the negative horizontal sync detector 404 of FIG.

決定單元506耦接至第一正垂直同步探知器501、第一正水平同步探知器502、第二正垂直同步探知器504與第二正水平同步探知器505。決定單元506與圖6中決定單元405相似,在此不再贅述其功能。前述第一正垂直同步探知器501與第二正垂直同步探知器504可以參考垂直同步探知器303的相關說明而實施之。另外,前述第一正水平同步探知器502與第二正水平同步探知器505可以參考水平同步探知器304的相關說明而實施之。The determining unit 506 is coupled to the first positive vertical sync detector 501, the first positive horizontal sync detector 502, the second positive vertical sync detector 504, and the second positive horizontal sync detector 505. The decision unit 506 is similar to the decision unit 405 in FIG. 6, and its function will not be described herein. The first positive vertical sync detector 501 and the second positive vertical sync detector 504 can be implemented with reference to the related description of the vertical sync detector 303. In addition, the aforementioned first positive horizontal synchronization detector 502 and second positive horizontal synchronization detector 505 can be implemented with reference to the related description of horizontal synchronization detector 304.

圖8是依照本發明另一實施例說明圖1中視訊標準探知器200的方塊圖。視訊標準探知器200包括反相器205、切換器206、低通濾波器201與特徵探知器202。反相器205接收降頻信號(即移頻單元102所輸出的基頻信號BB)以輸出反相信號,其中反相信號與降頻信號互為反相。切換器206之第一輸入端接收降頻信號,其第二輸入端耦接至反相器205,而其輸出端耦接至低通濾波器201。切換器206依據選擇信號選擇將反相信號或降頻信號做為基頻信號BB’而輸出給低通濾波器201。FIG. 8 is a block diagram showing the video standard detector 200 of FIG. 1 in accordance with another embodiment of the present invention. The video standard detector 200 includes an inverter 205, a switch 206, a low pass filter 201, and a feature detector 202. The inverter 205 receives the down-converted signal (ie, the baseband signal BB output by the frequency shifting unit 102) to output an inverted signal, wherein the inverted signal and the down-converted signal are inverted from each other. The first input of the switch 206 receives the down-converted signal, the second input of the switch is coupled to the inverter 205, and the output of the switch is coupled to the low-pass filter 201. The switch 206 selects the inverted signal or the down-converted signal as the baseband signal BB' according to the selection signal and outputs it to the low-pass filter 201.

於本實施例中,特徵探知器202只有正/負垂直同步探知器與正/負水平同步探知器。特徵探知器202提供切換器206選擇信號。首先,特徵探知器202控制切換器206去選擇降頻信號做為基頻信號BB’。低通濾波器201過濾基頻信號BB’後,輸出濾波結果BBL。特徵探知器202偵測濾波結果BBL,以獲知降頻信號(即移頻單元102所輸出的基頻信號BB)的正場週期以及該場週期中的正水平同步次數。In the present embodiment, the feature detector 202 has only a positive/negative vertical sync detector and a positive/negative horizontal sync detector. Feature detector 202 provides switch 206 selection signals. First, the feature detector 202 controls the switch 206 to select the down-converted signal as the baseband signal BB'. The low pass filter 201 filters the fundamental frequency signal BB' and outputs a filtered result BBL. The feature detector 202 detects the filtered result BBL to know the positive field period of the down-converted signal (ie, the baseband signal BB output by the frequency shifting unit 102) and the number of positive horizontal synchronizations in the field period.

接下來,特徵探知器202控制切換器206去選擇反相器205所輸出的反相信號做為基頻信號BB’。低通濾波器201過濾基頻信號BB’的高頻成份後,輸出濾波結果BBL。特徵探知器202偵測濾波結果BBL,以獲知降頻信號(即移頻單元102所輸出的基頻信號BB)的負場週期以及該場週期中的負水平同步次數。Next, the feature detector 202 controls the switch 206 to select the inverted signal output from the inverter 205 as the base frequency signal BB'. The low pass filter 201 filters the high frequency component of the fundamental frequency signal BB' and outputs a filtered result BBL. The feature detector 202 detects the filtering result BBL to know the negative field period of the down-converted signal (ie, the baseband signal BB output by the frequency shifting unit 102) and the number of negative horizontal synchronizations in the field period.

特徵探知器202完成上述操作後,可以獲得正場週期、負場週期、正水平同步次數以及負水平同步次數。因此,特徵探知器202可以依據正場週期、負場週期、正水平同步次數與負水平同步次數來判斷基頻信號BB屬於何種視訊標準,進而輸出判斷結果R1給基頻處理器103。關於特徵探知器202如何偵測正場週期、負場週期、正水平同步次數以及負水平同步次數,以及如何判斷基頻信號BB屬於何種視訊標準,可以參考圖2至圖7的特徵探知器202,故不在此贅述。於圖8所示實施例中,只以正/負垂直同步探知器與正/負水平同步探知器來實現特徵探知器202,以節省硬體面積。After the feature detector 202 completes the above operation, a positive field period, a negative field period, a positive horizontal synchronization number, and a negative horizontal synchronization number can be obtained. Therefore, the feature detector 202 can determine which video standard the baseband signal BB belongs to according to the positive field period, the negative field period, the positive horizontal synchronization number, and the negative horizontal synchronization number, and then output the determination result R1 to the baseband processor 103. For how the feature detector 202 detects the positive field period, the negative field period, the positive horizontal synchronization number, and the negative horizontal synchronization number, and how to determine which video standard the basic frequency signal BB belongs to, the feature detectors of FIG. 2 to FIG. 7 can be referred to. 202, so I won't go into details here. In the embodiment of Figure 8, feature detector 202 is implemented with only a positive/negative vertical sync detector and a positive/negative horizontal sync detector to save hardware area.

圖9是依照本發明實施例之一種視訊標準探知方法之流程圖。請合併參考圖1及圖9。步驟S901中,低通濾波器201過濾基頻信號BB,以獲得濾波結果BBL。特徵探知器202偵測濾波結果BBL以獲知基頻信號BB的負場週期(步驟S902),並且獲知基頻信號BB的正場週期(步驟S913)。在完成步驟S902後,接著進行步驟S903~S912。在完成步驟S913後,接著進行步驟S914~S919。FIG. 9 is a flow chart of a method for detecting a video standard according to an embodiment of the invention. Please refer to FIG. 1 and FIG. 9 together. In step S901, the low pass filter 201 filters the fundamental frequency signal BB to obtain a filtered result BBL. The feature detector 202 detects the filter result BBL to learn the negative field period of the baseband signal BB (step S902), and learns the positive field period of the baseband signal BB (step S913). After step S902 is completed, steps S903 to S912 are performed. After step S913 is completed, steps S914 to S919 are performed.

於步驟S903中特徵探知器202判斷該負場週期為何。若負場週期約略為16.67毫秒(例如於16~17毫秒範圍內),則特徵探知器202進行步驟S904~S902。若負場週期約略為20毫秒(例如於19.5~20.5毫秒範圍內),則特徵探知器202進行步驟S909~S910。若負場週期不屬於前述二個範圍內,則表示無法探知該基頻信號BB屬於何種視訊標準(步驟S908)。The feature detector 202 determines in step S903 what the negative field period is. If the negative field period is approximately 16.67 milliseconds (e.g., in the range of 16-17 milliseconds), feature detector 202 proceeds to steps S904-S902. If the negative field period is approximately 20 milliseconds (e.g., in the range of 19.5 to 20.5 milliseconds), the feature detector 202 proceeds to steps S909 to S910. If the negative field period does not fall within the above two ranges, it means that it is impossible to detect which video standard the basic frequency signal BB belongs to (step S908).

於步驟S904中,特徵探知器202偵測濾波結果BBL以獲知於基頻信號BB的負場週期中之負水平同步次數。步驟S905中,特徵探知器202判斷負水平同步次數是否大於第三預設值。若負水平同步次數大於第三預設值,則判斷該基頻信號BB屬於NTSC視訊標準(步驟S906),否則表示無法探知該基頻信號BB屬於何種視訊標準(步驟S907)。In step S904, the feature detector 202 detects the filtering result BBL to know the number of negative horizontal synchronizations in the negative field period of the baseband signal BB. In step S905, the feature detector 202 determines whether the number of negative horizontal synchronizations is greater than a third preset value. If the number of times of the negative horizontal synchronization is greater than the third preset value, it is determined that the fundamental frequency signal BB belongs to the NTSC video standard (step S906), otherwise it indicates that it is impossible to detect which video standard the basic frequency signal BB belongs to (step S907).

於步驟S909中,特徵探知器202偵測濾波結果BBL以獲知於基頻信號BB的負場週期中之負水平同步次數。步驟S910中,特徵探知器202判斷負水平同步次數是否大於第一預設值。若負水平同步次數大於第一預設值,則判斷該基頻信號BB屬於PAL視訊標準(步驟S911),否則表示無法探知該基頻信號BB屬於何種視訊標準(步驟S912)。In step S909, the feature detector 202 detects the filtering result BBL to know the number of negative horizontal synchronizations in the negative field period of the baseband signal BB. In step S910, the feature detector 202 determines whether the number of negative horizontal synchronizations is greater than a first preset value. If the number of negative horizontal synchronizations is greater than the first preset value, it is determined that the baseband signal BB belongs to the PAL video standard (step S911), otherwise it indicates that it is impossible to detect which video standard the basic frequency signal BB belongs to (step S912).

於步驟S914中,特徵探知器202判斷該正場週期為何。若正場週期約略為20毫秒(例如於19.5~20.5毫秒範圍內),則特徵探知器202進行步驟S916~S917。若正場週期不屬於前述範圍內,則表示無法探知該基頻信號BB屬於何種視訊標準(步驟S915)。於步驟S916中,特徵探知器202偵測濾波結果BBL以獲知於基頻信號BB的正場週期中之正水平同步次數。步驟S917中,特徵探知器202判斷正水平同步次數是否大於第二預設值。若正水平同步次數大於第二預設值,則判斷該基頻信號BB屬於SECAM-L視訊標準(步驟S918),否則表示無法探知該基頻信號BB屬於何種視訊標準(步驟S919)。In step S914, the feature detector 202 determines the positive field period. If the positive field period is approximately 20 milliseconds (e.g., in the range of 19.5 to 20.5 milliseconds), the feature detector 202 proceeds to steps S916 through S917. If the positive field period does not fall within the above range, it means that it is impossible to detect which video standard the basic frequency signal BB belongs to (step S915). In step S916, the feature detector 202 detects the filtering result BBL to know the number of positive horizontal synchronizations in the positive field period of the baseband signal BB. In step S917, the feature detector 202 determines whether the number of positive horizontal synchronizations is greater than a second preset value. If the number of positive horizontal synchronizations is greater than the second preset value, it is determined that the fundamental frequency signal BB belongs to the SECAM-L video standard (step S918), otherwise it indicates that it is impossible to detect which video standard the basic frequency signal BB belongs to (step S919).

基於上述,本發明的實施例藉由類比數位轉換器101及移頻單元102,將中頻信號IFA轉換為數位信號IFD。接著,利用視訊標準探知器200中的低通濾波器201及特徵探知器202以判斷由中頻信號IFA轉換成的基頻信號BB屬於何種標準,配合基頻處理器103對應地處理基頻信號BB以獲得基頻視訊信號BBV。Based on the above, the embodiment of the present invention converts the intermediate frequency signal IFA into a digital signal IFD by the analog digital converter 101 and the frequency shifting unit 102. Then, the low-pass filter 201 and the feature detector 202 in the video standard detector 200 are used to determine which standard the baseband signal BB converted by the intermediate frequency signal IFA belongs to, and the baseband processor 103 correspondingly processes the fundamental frequency. The signal BB is obtained to obtain a fundamental video signal BBV.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

100...中頻解調器100. . . IF demodulator

101...類比數位轉換器101. . . Analog digital converter

102...移頻單元102. . . Frequency shifting unit

200...視訊標準探知器200. . . Video standard detector

103...基頻處理器103. . . Baseband processor

201、203...低通濾波器201, 203. . . Low pass filter

202...特徵探知器202. . . Feature detector

205、503...反相器205, 503. . . inverter

206...切換器206. . . Switcher

301...窄帶低通濾波器301. . . Narrowband low pass filter

302...寬帶低通濾波器302. . . Wideband low pass filter

303...垂直同步探知器303. . . Vertical sync detector

304...水平同步探知器304. . . Horizontal sync detector

305、405、506‧‧‧決定單元305, 405, 506‧‧‧Decision unit

401‧‧‧正垂直同步探知器401‧‧‧Vertical vertical sync detector

402‧‧‧正水平同步探知器402‧‧‧Positive horizontal synchrotron

403‧‧‧負垂直同步探知器403‧‧‧negative vertical sync detector

404‧‧‧負水平同步探知器404‧‧‧negative horizontal synchrotron

501‧‧‧第一正垂直同步探知器501‧‧‧First Positive Vertical Synchronizer

502‧‧‧第一正水平同步探知器502‧‧‧First positive horizontal synchrotron

504‧‧‧第二正垂直同步探知器504‧‧‧Second positive vertical sync detector

505‧‧‧第二正水平同步探知器505‧‧‧Second positive horizontal synchronous detector

HsyncPeak‧‧‧水平同步最小值HsyncPeak‧‧‧ horizontal synchronization minimum

BkPorchWindow‧‧‧入口觀察視窗BkPorchWindow‧‧‧ entrance observation window

HsyncThreshold‧‧‧水平同步臨界值HsyncThreshold‧‧‧ horizontal synchronization threshold

HsyncSlicerOut‧‧‧水平同步片段輸出HsyncSlicerOut‧‧‧ horizontal sync segment output

HsyncErrWindow‧‧‧誤差觀察視窗HsyncErrWindow‧‧‧Error Viewing Window

St‧‧‧樣本總和St‧‧‧ sample sum

S901~S908‧‧‧視訊標準探知方法之各步驟S901~S908‧‧‧ steps of the video standard detection method

S1001~S1013‧‧‧另一視訊標準探知方法之各步驟S1001~S1013‧‧‧Steps of another video standard detection method

IFA‧‧‧中頻信號IFA‧‧‧IF signal

IFD‧‧‧數位信號IFD‧‧‧ digital signal

BB‧‧‧基頻信號BB‧‧‧ fundamental frequency signal

R1‧‧‧判斷結果R1‧‧‧ judgment result

BBV‧‧‧基頻視訊信號BBV‧‧‧ fundamental video signal

BBL‧‧‧濾波結果BBL‧‧‧Filter results

BBL1‧‧‧窄帶信號BBL1‧‧‧ narrowband signal

BBL2‧‧‧寬帶信號BBL2‧‧‧ Wideband signal

圖1是依照本發明的一實施例說明中頻解調器的方塊圖。1 is a block diagram showing an intermediate frequency demodulator in accordance with an embodiment of the present invention.

圖2是依照本發明的另一實施例說明圖1中視訊標準探知器的方塊圖。2 is a block diagram showing the video standard detector of FIG. 1 in accordance with another embodiment of the present invention.

圖3是依照本發明另一實施例說明圖2中基頻信號與濾波結果的示意圖。FIG. 3 is a schematic diagram showing the fundamental frequency signal and the filtering result of FIG. 2 according to another embodiment of the present invention.

圖4是本實施例中具有正水平同步之掃描線的波形圖。Fig. 4 is a waveform diagram of a scanning line having positive horizontal synchronization in the embodiment.

圖5是本實施例中接續圖4在正調變模式中用以決定有效正水平同步之掃描線的波形圖。Fig. 5 is a waveform diagram of the scanning line for determining effective positive horizontal synchronization in the positive modulation mode of Fig. 4 in the embodiment.

圖6是依照本發明的一實施例說明圖2中特徵探知器的方塊圖。Figure 6 is a block diagram showing the feature detector of Figure 2 in accordance with an embodiment of the present invention.

圖7是依照本發明的另一實施例說明圖2中特徵探知器的方塊圖。Figure 7 is a block diagram showing the feature detector of Figure 2 in accordance with another embodiment of the present invention.

圖8是依照本發明的一實施例說明圖1中視訊標準探知器的方塊圖。FIG. 8 is a block diagram showing the video standard detector of FIG. 1 according to an embodiment of the invention.

圖9是依照本發明實施例一種視訊標準探知方法之流程圖。FIG. 9 is a flow chart of a method for detecting a video standard according to an embodiment of the invention.

100...中頻解調器100. . . IF demodulator

101...類比數位轉換器101. . . Analog digital converter

102...移頻單元102. . . Frequency shifting unit

103...基頻處理器103. . . Baseband processor

200...視訊標準探知器200. . . Video standard detector

201...低通濾波器201. . . Low pass filter

202...特徵探知器202. . . Feature detector

IFA...中頻信號IFA. . . IF signal

IFD...數位信號IFD. . . Digital signal

BB...基頻信號BB. . . Baseband signal

R1...判斷結果R1. . . critical result

BBV...基頻視訊信號BBV. . . Fundamental video signal

BBL...濾波結果BBL. . . Filter result

Claims (15)

一種視訊標準探知器,用以探知一基頻信號屬於何種視訊標準,該視訊標準探知器包括:一低通濾波器,其過濾該基頻信號;以及一特徵探知器,耦接至該低通濾波器,使用該低通濾波器的輸出而偵測該基頻信號的垂直同步資訊以及水平同步資訊,以及依據該垂直同步資訊與該水平同步資訊來判斷該基頻信號屬於何種視訊標準,其中該低通濾波器包括:一窄帶低通濾波器,其過濾該基頻信號,以輸出一窄帶信號給該特徵探知器,其中該特徵探知器使用該窄帶信號以偵測該垂直同步資訊;以及一寬帶低通濾波器,其過濾該基頻信號,以輸出一寬帶信號給該特徵探知器,其中該特徵探知器使用該寬帶信號以偵測該水平同步資訊,其中該窄帶信號與該寬帶信號共同組成該低通濾波器的輸出。 A video standard detector for detecting a video standard to which a baseband signal belongs, the video standard detector comprising: a low pass filter for filtering the baseband signal; and a feature detector coupled to the low a pass filter, using the output of the low pass filter to detect vertical synchronization information and horizontal synchronization information of the baseband signal, and determining, according to the vertical synchronization information and the horizontal synchronization information, which video standard the baseband signal belongs to The low pass filter includes: a narrowband low pass filter that filters the baseband signal to output a narrowband signal to the feature detector, wherein the feature detector uses the narrowband signal to detect the vertical sync information And a broadband low-pass filter that filters the baseband signal to output a wideband signal to the feature detector, wherein the feature detector uses the wideband signal to detect the horizontal synchronization information, wherein the narrowband signal The wideband signals together form the output of the low pass filter. 如申請專利範圍第1項所述之視訊標準探知器,其中該特徵探知器包括:一垂直同步探知器,耦接至該低通濾波器,使用該窄帶信號偵測該垂直同步資訊;一水平同步探知器,耦接至該低通濾波器,使用該寬帶信號偵測該水平同步資訊;以及 一決定單元,耦接至該垂直同步探知器與該水平同步探知器,以依據該垂直同步資訊與該水平同步資訊判斷該視訊標準。 The video standard detector of claim 1, wherein the feature detector comprises: a vertical sync detector coupled to the low pass filter, and the vertical sync information is detected by using the narrowband signal; a synchronous detector coupled to the low pass filter to detect the horizontal synchronization information using the broadband signal; A determining unit is coupled to the vertical sync detector and the horizontal sync detector to determine the video standard according to the vertical sync information and the horizontal synchronization information. 如申請專利範圍第2項所述之視訊標準探知器,其中該垂直同步資訊包含該基頻信號的場週期,該水平同步資訊包含於該場週期中的水平線數以及該低通濾波器的輸出之調變模式。 The video standard detector of claim 2, wherein the vertical synchronization information includes a field period of the baseband signal, the horizontal synchronization information includes a number of horizontal lines in the field period and an output of the low pass filter. Modulation mode. 如申請專利範圍第2項所述之視訊標準探知器,其中當該垂直同步資訊被偵測到時,該垂直同步探知器更通知該水平同步探知器去偵測該水平同步資訊。 The video standard detector of claim 2, wherein when the vertical synchronization information is detected, the vertical synchronization detector further notifies the horizontal synchronization detector to detect the horizontal synchronization information. 一種中頻解調器,包括:一類比數位轉換器,其轉換一中頻信號為一數位信號;一移頻單元,耦接至該類比數位轉換器,移頻該數位信號以輸出一基頻信號;一低通濾波器,耦接至該移頻單元,其過濾該基頻信號;一特徵探知器,耦接至該低通濾波器,使用該低通濾波器的輸出而偵測該基頻信號的垂直同步資訊與水平同步資訊,以及依據該垂直同步資訊與該水平同步資訊來判斷該基頻信號屬於何種視訊標準;以及一基頻處理器,耦接至該移頻單元與該特徵探知器,依據該視訊標準處理該基頻信號,以產生一複合影像廣播信號與一聲音信號,其中該低通濾波器包括: 一窄帶低通濾波器,其過濾該基頻信號,以輸出一窄帶信號給該特徵探知器,其中該特徵探知器使用該窄帶信號以偵測該垂直同步資訊;以及一寬帶低通濾波器,其過濾該基頻信號,以輸出一寬帶信號給該特徵探知器,其中該特徵探知器使用該寬帶信號以偵測該水平同步資訊,其中該窄帶信號以及該寬帶信號共同組成該低通濾波器的輸出。 An intermediate frequency demodulator comprising: an analog-to-digital converter that converts an intermediate frequency signal into a digital signal; a frequency shifting unit coupled to the analog digital converter, shifting the digital signal to output a fundamental frequency a low-pass filter coupled to the frequency shifting unit to filter the baseband signal; a feature detector coupled to the low pass filter, detecting the base using the output of the low pass filter Vertical synchronization information and horizontal synchronization information of the frequency signal, and determining which video standard the baseband signal belongs to according to the vertical synchronization information and the horizontal synchronization information; and a baseband processor coupled to the frequency shifting unit and the The feature detector processes the baseband signal according to the video standard to generate a composite image broadcast signal and a sound signal, wherein the low pass filter comprises: a narrowband low pass filter that filters the baseband signal to output a narrowband signal to the feature detector, wherein the feature detector uses the narrowband signal to detect the vertical sync information; and a wideband low pass filter, Filtering the baseband signal to output a wideband signal to the feature detector, wherein the feature detector uses the wideband signal to detect the horizontal synchronization information, wherein the narrowband signal and the wideband signal together comprise the low pass filter Output. 如申請專利範圍第5項所述之中頻解調器,其中該特徵探知器包括:一垂直同步探知器,耦接至該低通濾波器,使用該窄帶信號偵測該垂直同步資訊;一水平同步探知器,耦接至該低通濾波器,使用該寬帶信號偵測該水平同步資訊;以及一決定單元,耦接至該垂直同步探知器與該水平同步探知器,以依據該垂直同步資訊與該水平同步資訊判斷該視訊標準。 The IF demodulator of claim 5, wherein the feature detector comprises: a vertical sync detector coupled to the low pass filter, and detecting the vertical sync information by using the narrowband signal; a horizontal synchronization detector coupled to the low-pass filter to detect the horizontal synchronization information by using the broadband signal; and a determining unit coupled to the vertical synchronization detector and the horizontal synchronization detector to be based on the vertical synchronization The information is synchronized with the level to determine the video standard. 如申請專利範圍第6項所述之中頻解調器,其中該垂直同步資訊包含該基頻信號的場週期,該水平同步資訊包含於該場週期中的水平線數以及該低通濾波器的輸出之調變模式。 The intermediate frequency demodulator according to claim 6, wherein the vertical synchronization information includes a field period of the fundamental frequency signal, the horizontal synchronization information includes a horizontal line number in the field period, and the low pass filter The modulation mode of the output. 如申請專利範圍第6項所述之中頻解調器,其中當該垂直同步資訊被偵測到時,該垂直同步探知器更通知該水平同步探知器去偵測該水平同步資訊。 The intermediate frequency demodulator according to claim 6, wherein the vertical synchronization detector further informs the horizontal synchronization detector to detect the horizontal synchronization information when the vertical synchronization information is detected. 一種視訊標準探知方法,用以探知一基頻信號屬於何種視訊標準,該視訊標準探知方法包括: 過濾一基頻信號,以獲得一窄帶信號以及一寬帶信號;藉由使用該窄帶信號以偵測垂直同步資訊;藉由使用該寬帶信號以偵測水平同步資訊;以及依據該垂直同步資訊與該水平同步資訊來判斷該基頻信號屬於何種視訊標準。 A video standard detection method for detecting a video standard to which a baseband signal belongs, and the video standard detection method includes: Filtering a baseband signal to obtain a narrowband signal and a wideband signal; detecting the vertical synchronization information by using the narrowband signal; detecting the horizontal synchronization information by using the broadband signal; and according to the vertical synchronization information The horizontal synchronization information is used to determine which video standard the baseband signal belongs to. 如申請專利範圍第9項所述之視訊標準探知方法,其中該垂直同步資訊包含該基頻信號的場週期。 The video standard detection method of claim 9, wherein the vertical synchronization information includes a field period of the baseband signal. 如申請專利範圍第10項所述之視訊標準探知方法,其中是藉由計數相鄰二個場波峰之時間間隔而決定該場週期。 The method for detecting a video standard according to claim 10, wherein the field period is determined by counting time intervals of adjacent two field peaks. 如申請專利範圍第10項所述之視訊標準探知方法,其中該水平同步資訊包含於該場週期中的水平線數以及該低通濾波器的輸出之一調變模式。 The video standard detection method of claim 10, wherein the horizontal synchronization information includes a horizontal line number in the field period and a modulation mode of an output of the low pass filter. 如申請專利範圍第12項所述之視訊標準探知方法,其中若該場週期約略為16.67毫秒,則判斷該基頻信號屬於NTSC視訊標準。 The method for detecting a video standard according to claim 12, wherein if the field period is approximately 16.67 milliseconds, it is determined that the baseband signal belongs to the NTSC video standard. 如申請專利範圍第12項所述之視訊標準探知方法,其中若該場週期約略為20毫秒且該調變模式為負調變,則判斷該基頻信號屬於PAL視訊標準。 The video standard detection method according to claim 12, wherein if the field period is approximately 20 milliseconds and the modulation mode is negative modulation, it is determined that the fundamental frequency signal belongs to a PAL video standard. 如申請專利範圍第12項所述之視訊標準探知方法,其中若該場週期約略為20毫秒且該調變模式為正調變,則判斷該基頻信號屬於SECAM-L視訊標準。The video standard detection method according to claim 12, wherein if the field period is approximately 20 milliseconds and the modulation mode is positive modulation, it is determined that the baseband signal belongs to the SECAM-L video standard.
TW098127603A 2009-08-17 2009-08-17 Video standard detector and operation method thereof and intermediate frequency demodulator TWI454152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098127603A TWI454152B (en) 2009-08-17 2009-08-17 Video standard detector and operation method thereof and intermediate frequency demodulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098127603A TWI454152B (en) 2009-08-17 2009-08-17 Video standard detector and operation method thereof and intermediate frequency demodulator

Publications (2)

Publication Number Publication Date
TW201108749A TW201108749A (en) 2011-03-01
TWI454152B true TWI454152B (en) 2014-09-21

Family

ID=44835694

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098127603A TWI454152B (en) 2009-08-17 2009-08-17 Video standard detector and operation method thereof and intermediate frequency demodulator

Country Status (1)

Country Link
TW (1) TWI454152B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6118499A (en) * 1997-05-19 2000-09-12 Mitsubishi Denki Kabushiki Kaisha Digital television signal receiver
US6130721A (en) * 1998-08-20 2000-10-10 Samsung Electronics Co., Ltd. Video format mode detector
TW200614799A (en) * 2004-10-12 2006-05-01 Mediatek Inc System for format conversion using clock adjuster and method of the same
US20080094507A1 (en) * 2006-10-19 2008-04-24 Freescale Semiconductor, Inc. Signal detection device and methods thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6118499A (en) * 1997-05-19 2000-09-12 Mitsubishi Denki Kabushiki Kaisha Digital television signal receiver
US6130721A (en) * 1998-08-20 2000-10-10 Samsung Electronics Co., Ltd. Video format mode detector
TW200614799A (en) * 2004-10-12 2006-05-01 Mediatek Inc System for format conversion using clock adjuster and method of the same
US20080094507A1 (en) * 2006-10-19 2008-04-24 Freescale Semiconductor, Inc. Signal detection device and methods thereof

Also Published As

Publication number Publication date
TW201108749A (en) 2011-03-01

Similar Documents

Publication Publication Date Title
JP3916637B2 (en) Video signal processing apparatus, video signal processing method, and video signal display apparatus
JP4290124B2 (en) Motion sequence pattern detection
US8120703B2 (en) Source-adaptive video deinterlacer
US9628750B2 (en) Transmission scheme and image quality adaptive security camera and DVR system
KR20010011560A (en) Deinterlacing method of interlaced scanning video
TWI454152B (en) Video standard detector and operation method thereof and intermediate frequency demodulator
US8218081B2 (en) Video standard detector and operation method thereof
EP1919211A2 (en) Pull-down signal detecting apparatus, pull-down signal detecting method, and video-signal converting apparatus
CN101202829B (en) Apparatus and method of motion adaptive image processing
CN101998076A (en) Video Standard Detector, Operation Method and IF Demodulator
US8212920B2 (en) Apparatus and method of motion adaptive image processing
US20110298977A1 (en) Video processing device
KR100753619B1 (en) Image processing method and device thereof
US7382413B2 (en) Apparatus and method of extracting sync signal from analog composite video signal
GB2444530A (en) Motion adaptive image processing by comparing inter-field pixel difference with intra-field pixel variability
TWI516108B (en) Vertical synchronization processing method and vertical synchronization detection circuit applied to composite video signal
CN101247469A (en) Motion Adaptive Image Processing
KR100786085B1 (en) Apparatus and method for film mode detection through deinterlacing and pulldown technique
Lai et al. Algorithm and architecture design for wide range ELA deinterlacer
JP2005236760A (en) Video signal distinction device
JP2002218278A (en) Sync separation circuit and method, display device and method, and signal processing device and method
JP2006135380A (en) Video signal determination method and apparatus
JPH08251494A (en) Letterbox screen detector
JPH04339483A (en) caption decoder circuit
JP2012065018A (en) Synchronizing signal detection circuit and method

Legal Events

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