CN102148920B - Synchronous signal limiting device and synchronous signal limiting method - Google Patents
Synchronous signal limiting device and synchronous signal limiting method Download PDFInfo
- Publication number
- CN102148920B CN102148920B CN 201010111653 CN201010111653A CN102148920B CN 102148920 B CN102148920 B CN 102148920B CN 201010111653 CN201010111653 CN 201010111653 CN 201010111653 A CN201010111653 A CN 201010111653A CN 102148920 B CN102148920 B CN 102148920B
- Authority
- CN
- China
- Prior art keywords
- output
- filtering
- filter
- video input
- signal
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Synchronizing For Television (AREA)
Abstract
Description
技术领域 technical field
本发明有关于信号限幅处理,尤指一种包含利用无限脉冲响应(InfiniteImpulse Response,IIR)滤波处理的输出来决定限幅电平并产生同步信号限幅输出的同步信号限幅装置与方法。The present invention relates to signal clipping processing, in particular to a synchronous signal clipping device and method including using the output of infinite impulse response (Infinite Impulse Response, IIR) filter processing to determine the clipping level and generate the clipping output of the synchronous signal.
背景技术 Background technique
一般而言,模拟电视信号的同步处理主要依赖水平同步信号(horizontalsync,HSYNC)以及垂直同步信号(vertical sync,VSYNC),其中每一条扫描线的信号传输会包含一个水平同步信号,然而,垂直同步信号仅会每一个场(field)才产生一次。请参阅图1,图1为现有复合视频信号(composite videosignal)的波形示意图。如图所示,水平同步电平(sync tip)是复合视频信号中的最低电压电平,且与参考黑电平(reference black level)之间具有300mV的压差,一般而言,模拟电视译码器往往采用同步信号限幅(sync slicing)的技术来决定出复合视频信号中每一条扫描线的信号传输的水平同步信号成分的起始位置,例如,会先找出参考黑电平与水平同步电平,然后,以参考黑电平与水平同步电平的中间电平来作为限幅电平,以对复合视频信号进行限幅处理以便从复合视频信号中分离出水平同步信号成分供后续电路(例如锁相环)产生水平同步时钟。Generally speaking, the synchronization processing of analog TV signals mainly relies on horizontal sync signal (horizontal sync, HSYNC) and vertical sync signal (vertical sync, VSYNC), in which the signal transmission of each scanning line will contain a horizontal sync signal, however, vertical sync Signals are only generated once per field. Please refer to FIG. 1 . FIG. 1 is a schematic waveform diagram of an existing composite video signal. As shown in the figure, the horizontal sync level (sync tip) is the lowest voltage level in the composite video signal, and has a voltage difference of 300mV from the reference black level. Generally speaking, analog TV translation Encoders often use sync slicing technology to determine the starting position of the horizontal sync signal component of the signal transmission of each scanning line in the composite video signal. For example, it will first find out the reference black level and horizontal Synchronization level, then, use the intermediate level of the reference black level and the horizontal synchronization level as the clipping level to perform clipping processing on the composite video signal so as to separate the horizontal synchronization signal component from the composite video signal for subsequent A circuit (such as a phase-locked loop) generates a horizontal synchronous clock.
然而,接收到的模拟电视信号往往会存在一些干扰,例如白噪声(whitenoise)及同频干扰(co-channel interference)等等,所以,实际的复合视频信号并不具有图1所示的理想波形,而是会受到干扰而产生波形失真,因此,如何决定出适当的限幅电平以得到一个准确的同步信号限幅输出便成为同步信号限幅设计上的一个重要课题。However, the received analog TV signal often has some interference, such as white noise (white noise) and co-channel interference (co-channel interference), etc. Therefore, the actual composite video signal does not have the ideal waveform shown in Figure 1 , but will be disturbed and cause waveform distortion. Therefore, how to determine the appropriate clipping level to obtain an accurate clipping output of the synchronous signal has become an important issue in the design of the synchronous signal clipping.
发明内容 Contents of the invention
因此,本发明的目的之一在于提供一种包含利用无限脉冲响应滤波处理的输出以决定限幅电平并产生同步信号限幅输出的同步信号限幅装置与方法,以解决上述问题。Therefore, one object of the present invention is to provide a synchronization signal clipping device and method including utilizing the output of infinite impulse response filtering to determine the clipping level and generate a clipped output of the sync signal, so as to solve the above-mentioned problems.
依据本发明的实施例,其揭露一种同步信号限幅装置。该同步信号限幅装置包含有滤波模块、限幅电平侦测器以及比较器。该滤波模块处理视频输入以产生滤波输出,且包含有第一滤波电路,用以接收该视频输入,并对该视频输入进行无限脉冲响应滤波处理。该限幅电平侦测器耦接于该滤波模块,用以接收该滤波输出,并依据该滤波输出来决定出对应同步信号成分的限幅电平。该比较器耦接于该限幅电平侦测器与该滤波模块,用以接收该滤波输出与该限幅电平,并比较该限幅电平与该滤波输出以产生同步信号限幅输出。According to an embodiment of the present invention, it discloses a synchronization signal limiting device. The synchronous signal limiting device includes a filtering module, a limiting level detector and a comparator. The filter module processes the video input to generate a filter output, and includes a first filter circuit for receiving the video input and performing infinite impulse response filter processing on the video input. The clipping level detector is coupled to the filtering module for receiving the filtering output, and determines the clipping level corresponding to the synchronous signal component according to the filtering output. The comparator is coupled to the clipping level detector and the filtering module to receive the filtering output and the clipping level, and compare the clipping level and the filtering output to generate a synchronous signal clipping output .
依据本发明的实施例,其另揭露一种同步信号限幅方法。该同步信号限幅方法包含有:处理视频输入以产生滤波输出,其包含对该视频输入进行无限脉冲响应滤波处理;依据该滤波输出来决定出对应同步信号成分的限幅电平;以及比较该限幅电平与该滤波输出以产生同步信号限幅输出。According to an embodiment of the present invention, it further discloses a synchronization signal limiting method. The synchronous signal clipping method includes: processing a video input to generate a filter output, which includes performing infinite impulse response filter processing on the video input; determining a clipping level corresponding to a synchronous signal component according to the filter output; and comparing the The clipping level is combined with this filtered output to produce a sync signal clipped output.
通过本发明可以决定出适当的限幅电平以得到一个准确的同步信号限幅输出。The invention can determine the appropriate clipping level to obtain an accurate clipping output of the synchronous signal.
附图说明 Description of drawings
图1为现有复合视频信号的波形示意图。FIG. 1 is a schematic diagram of a waveform of an existing composite video signal.
图2为本发明同步信号限幅装置第一实施例的示意图。FIG. 2 is a schematic diagram of a first embodiment of a synchronization signal limiting device of the present invention.
图3为第一滤波电路执行无限脉冲响应滤波处理的简要示意图。FIG. 3 is a schematic diagram of an infinite impulse response filtering process performed by the first filtering circuit.
图4为本发明同步信号限幅方法第一实施例的流程图。Fig. 4 is a flow chart of the first embodiment of the synchronization signal clipping method of the present invention.
图5为本发明同步信号限幅装置第二实施例的示意图。FIG. 5 is a schematic diagram of a second embodiment of a synchronization signal limiting device of the present invention.
图6为本发明同步信号限幅方法第二实施例的流程图。FIG. 6 is a flow chart of the second embodiment of the synchronization signal clipping method of the present invention.
具体实施方式 Detailed ways
在权利要求书及说明书当中使用了某些词汇来指称特定的元件。所属领域中的普通技术人员应可理解,硬件制造商可能会用不同的名词来称呼同一个元件。本发明的权利要求书及说明书并不以名称的差异来作为区分元件的方式,而是以元件在功能上的差异来作为区分的准则。在通篇说明书及后续的请求项当中所提及的“包含”为开放式的用语,故应解释成“包含但不限定于”。以外,“耦接”一词在此包含任何直接及间接的电气连接手段。因此,若文中描述第一装置耦接于第二装置,则代表该第一装置可直接电气连接于该第二装置,或通过其它装置或连接手段间接地电气连接至该第二装置。Certain terms are used in the claims and description to refer to particular elements. Those of ordinary skill in the art should understand that hardware manufacturers may use different terms to refer to the same element. The claims and description of the present invention do not use the difference in name as a way to distinguish components, but use the difference in function of components as a criterion for distinguishing. The "comprising" mentioned throughout the specification and subsequent claims is an open term, so it should be interpreted as "including but not limited to". Otherwise, the term "coupled" includes any direct and indirect means of electrical connection. Therefore, if it is described that a first device is coupled to a second device, it means that the first device may be directly electrically connected to the second device, or indirectly electrically connected to the second device through other devices 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 . FIG. 2 is a schematic diagram of a first embodiment of a synchronization signal limiting device of the present invention. The synchronous
如前所述,滤波模块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 mentioned above, the
于本实施例中,加法单元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 not only written back to the storage unit 216 for data update, but also directly used as the filter output S_OUT of the filter module 202 (that is, S_OUT=M3); in addition, the storage unit 216 is a line buffer (line buffer), and its buffer depth is equal to the predetermined total number of sampling points of a scan line. Therefore, under ideal conditions, each time the sampling data of a scan line is input, the storage unit 216 will just store the scan line The sampled data of is processed by infinite impulse response filtering. In addition, since the line buffer is an element originally included in the analog TV decoder, the
请参阅图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 . FIG. 3 is a schematic diagram of an infinite impulse response filtering process performed by the
由于第一滤波电路208会对视频输入S_IN进行无限脉冲响应滤波处理,再将无限脉冲响应滤波处理所产生的滤波输出S_OUT(亦即滤波处理过的视频输入S_IN)输入至后续电路(例如限幅电平侦测器204与比较器206),因此,对于限幅电平侦测器204与比较器206而言,由于滤波处理过的视频输入S_IN可将原本视频输入S_IN中不想要的干扰成分(例如白噪声及同频干扰等等)有效地滤除或衰减,因此,可大幅提升限幅电平侦测器204所判断的限幅电平SL与比较器206所产生的同步信号限幅输出Sliced_SYNC的准确度,进而改善最终的画面显示质量。Since the
请注意,于本实施例中,第一滤波电路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 this embodiment, the first filter circuit 208 is further provided with a weight value setting unit 218, which is coupled to the first multiplication unit 210 and the second multiplication unit 212, and is used to set the weight value according to the signal characteristic of the video input S_IN Set the first weighted value W and the second weighted value (1-W), for example, the weighted value setting unit 218 will dynamically adjust based on the signal-to-noise ratio (SNR) of the video input S_IN The first weighted value W and the second weighted value (1-W), therefore, when the signal-to-noise ratio of the video input S_IN is high (representing that the degree of interference of the video input S_IN is less severe), the weighted value setting unit 218 will Increase the first weighted value W and reduce the second weighted value (1-W), on the other hand, when the signal-to-noise ratio of the video input S_IN is low (representing the degree of interference of the video input S_IN is more serious), then the weighted value setting Single 218 will reduce the first weighted value W and increase the second weighted value (1-W), in other words, the first weighted value W is positively related to the SNR, while the second weighted value (1-W) is negatively correlated.
依据上述说明可知,加权值设定单元218的设置可使得第一加权值W及第二加权值(1-W)随着视频输入S_IN本身的实际信号质量而动态地进行调整,故使第一滤波电路208可具有较佳的无限脉冲响应滤波处理效能,然而,加权值设定单元218实际上可以是一个选择性(optional)的元件,例如,于另一实施例中,假若于特定操作环境下,视频输入S_IN的实际信号质量均十分稳定,则第一滤波电路208便可省略加权值设定单元218,而仅使用一组预设的第一加权值W及第二加权值(1-W),而此设计上的变化亦属本发明的范畴。According to the above description, it can be seen that the setting of the weight value setting unit 218 can make the first weight value W and the second weight value (1-W) dynamically adjusted along with the actual signal quality of the video input S_IN itself, so that the first The
图4为本发明同步信号限幅方法第一实施例的流程图。图4所示的流程应用于图2所示的同步信号限幅装置200,此外,假若可获得大致上相同的结果,则步骤不一定要遵照图4所示的次序来执行。本发明同步信号限幅方法第一实施例的运作可简单归纳如下:Fig. 4 is a flow chart of the first embodiment of the synchronization signal clipping method of the present invention. The flow shown in FIG. 4 is applied to the synchronization
步骤402:接收视频输入(例如复合视频信号的采样数据)。Step 402: Receive a video input (eg sample data of a composite video signal).
步骤404:对该视频输入进行无限脉冲响应滤波处理(例如加权平均处理)以产生滤波输出。Step 404: Perform infinite impulse response filtering (eg, weighted averaging) on the video input to generate a filtered output.
步骤406:依据该滤波输出来决定出对应同步信号成分(例如水平同步信号成分)的限幅电平。Step 406: Determine the clipping level corresponding to the synchronous signal component (such as the horizontal synchronous signal component) according to the filtered output.
步骤408:比较该限幅电平与该滤波输出以产生同步信号限幅输出。接着,回到步骤404以继续采用该无限脉冲响应滤波处理来对该视频输入进行处理。Step 408: Compare the slice level with the filtered output to generate a sync signal slice output. Next, go back to step 404 to continue processing the video input using the infinite impulse response filtering process.
由于所属领域的技术人员在阅读完上述有关同步信号限幅装置200的技术内容之后应可轻易地了解各个步骤的操作细节,因此,相关说明于此便不另赘述。Since those skilled in the art should be able to easily understand the operation details of each step after reading the above technical content about the synchronization
于上述实施例中,储存单元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-mentioned embodiment, the storage unit 216 is a line buffer, and its buffer depth is equal to the total number of predetermined sampling points of a scanning line. Therefore, under ideal conditions, the storage unit 216 will just store the sampling data of each scanning line. The sampling data of this scan line is the result of infinite impulse response filtering. However, if the scan line period (line period) of the video input S_IN is unstable (for example, the source of the video input S_IN is a video cassette recorder (videocassette recorder) , VCR), so it is often limited by the characteristics of the reading mechanism itself, resulting in unstable scan line cycle) or changes (for example, the source of video input S_IN does not provide standard video output), so under the same sampling frequency, a The actual total number of sampling points of the scanning line will not be equal to the predetermined total number of sampling points (that is, the buffer depth of the line buffer), which will cause the situation that the video input S_IN and the processing result D_IIR cannot be aligned at this time, which may cause the filter module 202 to generate The signal quality of the filtered output S_OUT (that is, the filtered video input S_IN) deteriorates. Therefore, the present invention also discloses an adaptive filtering mechanism, which can dynamically select an appropriate filtering process according to the judgment criteria. Way.
请参阅图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 synchronization signal limiting device of the present invention. The synchronous
此外,多路复用器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
如图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
请注意,控制电路512亦可依据同步时钟CLK_SYNC周期的统计结果来产生选择信号SEL,举例来说,当控制电路512侦测到同步时钟CLK_SYNC的平均周期(其可由一段时间中所量测到的周期长度的统计结果所计算出来)与扫描线周期的理想值不同抑或侦测到同步时钟CLK_SYNC的平均周期与该理想值的差值(相位差)超出可容许误差范围时,控制电路512才会藉由选择信号SEL的调整来控制多路复用器510选择将第二滤波电路508的输出M3’传递至输出端口N4以作为滤波输出S_OUT,而此设计上的变化亦属本发明的范畴。Please note that the
此外,假若滤波模块502目前切换至第二滤波电路508的使用,当控制电路512后续侦测到同步时钟CLK_SYNC的周期/平均周期与扫描线周期的理想值相同抑或同步时钟CLK_SYNC的周期/平均周期与该理想值的差值(相位差)落入可容许误差范围,则可以藉由选择信号SEL来控制多路复用器510选择将第二滤波电路508的输出M3’传递至输出端口N4以作为滤波输出S_OUT,因此,滤波模块502此时便恢复使用预设的第一滤波电路208。In addition, if the
图6为本发明同步信号限幅方法第二实施例的流程图。图6所示流程应用于图5所示的同步信号限幅装置500,此外,假若可获得大致上相同的结果,则步骤不一定要遵照图6所示的次序来执行。本发明同步信号限幅方法的第二实施例的运作可简单归纳如下:FIG. 6 is a flow chart of the second embodiment of the synchronization signal clipping method of the present invention. The process shown in FIG. 6 is applied to the synchronization
步骤602:接收视频输入(例如复合视频信号的采样数据)。Step 602: Receive a video input (such as sample data of a composite video signal).
步骤604:对该视频输入进行无限脉冲响应滤波处理(例如加权平均处理)以产生滤波输出。Step 604: Perform infinite impulse response filtering (eg, weighted averaging) on the video input to generate a filtered output.
步骤606:依据该滤波输出来决定出对应同步信号成分(例如水平同步信号成分)的限幅电平。Step 606: Determine the clipping level corresponding to the synchronous signal component (such as the horizontal synchronous signal component) according to the filtered output.
步骤608:比较该限幅电平与该滤波输出以产生同步信号限幅输出。Step 608: Compare the slice level with the filter output to generate a sync signal slice output.
步骤610:依据同步时钟CLK_SYNC的周期/平均周期与扫描线周期的理想值是否不同抑或同步时钟CLK_SYNC的周期/平均周期与该理想值的差值(相位差)是否超出可容许误差范围来判断是否需要切换至异于该无限脉冲响应滤波处理的预定滤波处理(例如低通滤波处理),若是,则执行步骤612,否则的话,回到步骤604而继续采用该无限脉冲响应滤波处理。Step 610: Determine whether the period/average period of the synchronous 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 synchronous clock CLK_SYNC and the ideal value exceeds the allowable error range. It is necessary to switch to a predetermined filtering process different from the infinite impulse response filtering process (such as low-pass filtering process), if so, execute
步骤612:对该视频输入进行预定滤波处理以产生该滤波输出。Step 612: Perform predetermined filter processing on the video input to generate the filter output.
步骤614:依据该滤波输出来决定该限幅电平。Step 614: Determine the clipping level according to the filtered output.
步骤616:比较该限幅电平与该滤波输出以产生该同步信号限幅输出。Step 616: Compare the clipping level with the filtered output to generate the sync signal clipped output.
步骤618:依据同步时钟CLK_SYNC的周期/平均周期与扫描线周期的理想值是否相同抑或同步时钟CLK_SYNC的周期/平均周期与该理想值的差值(相位差)是否落入可容许误差范围来判断是否需恢复使用该无限脉冲响应滤波处理,若是,则执行步骤604,否则的话,回到步骤612而继续采用该预定滤波处理。Step 618: Judging according to whether the period/average period of the synchronous clock CLK_SYNC is the same as the ideal value of the scanning line period or whether the difference (phase difference) between the period/average period of the synchronous clock CLK_SYNC and the ideal value falls within the allowable error range Whether it is necessary to restore the infinite impulse response filtering process, if yes, execute
由于所属领域的技术人员阅读完上述有关同步信号限幅装置500的技术内容之后应可轻易地了解各个步骤的操作细节,因此,相关说明于此便不另赘述。Since those skilled in the art should be able to easily understand the operation details of each step after reading the above technical content about the synchronization
虽然本发明已就较佳实施例揭露如上,然其并非用以限定本发明。本发明所属技术领域中普通技术人员,在不脱离本发明的精神和范围内,当可作各种的变更和润饰。因此,本发明的保护范围当视之前的权利要求书所界定为准。Although the present invention has been disclosed above with respect to preferred embodiments, it is not intended to limit the present invention. Those skilled in the art to which the present invention belongs may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be defined by the preceding claims.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010111653 CN102148920B (en) | 2010-02-09 | 2010-02-09 | Synchronous signal limiting device and synchronous signal limiting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010111653 CN102148920B (en) | 2010-02-09 | 2010-02-09 | Synchronous signal limiting device and synchronous signal limiting method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102148920A CN102148920A (en) | 2011-08-10 |
CN102148920B true CN102148920B (en) | 2013-03-13 |
Family
ID=44422895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010111653 Expired - Fee Related CN102148920B (en) | 2010-02-09 | 2010-02-09 | Synchronous signal limiting device and synchronous signal limiting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102148920B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103220456A (en) * | 2012-01-21 | 2013-07-24 | 宏观微电子股份有限公司 | signal processing device |
CN103472810B (en) * | 2013-09-29 | 2016-02-10 | 贵州电力试验研究院 | A kind of amplitude limit method performing loop control system more |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1283363A (en) * | 1997-12-31 | 2001-02-07 | 泰利克鲁兹技术有限公司 | Flicker filter and interlacer implamented in television system displaying network application data |
CN1542760A (en) * | 2003-04-10 | 2004-11-03 | 威腾光电股份有限公司 | Amplitude limiter for dynamically adjusting amplitude limiting level |
CN1677511A (en) * | 2004-03-24 | 2005-10-05 | 三洋电机株式会社 | Slice level control circuit |
US7605867B1 (en) * | 2003-05-20 | 2009-10-20 | Pixelworks, Inc. | Method and apparatus for correction of time base errors |
-
2010
- 2010-02-09 CN CN 201010111653 patent/CN102148920B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1283363A (en) * | 1997-12-31 | 2001-02-07 | 泰利克鲁兹技术有限公司 | Flicker filter and interlacer implamented in television system displaying network application data |
CN1542760A (en) * | 2003-04-10 | 2004-11-03 | 威腾光电股份有限公司 | Amplitude limiter for dynamically adjusting amplitude limiting level |
US7605867B1 (en) * | 2003-05-20 | 2009-10-20 | Pixelworks, Inc. | Method and apparatus for correction of time base errors |
CN1677511A (en) * | 2004-03-24 | 2005-10-05 | 三洋电机株式会社 | Slice level control circuit |
Non-Patent Citations (2)
Title |
---|
JP特开平5-219402A 1993.08.27 |
JP特开平7-143422A 1995.06.02 |
Also Published As
Publication number | Publication date |
---|---|
CN102148920A (en) | 2011-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8018360B2 (en) | Systems and methods for mitigating latency in a data detector feedback loop | |
US6219447B1 (en) | Method and circuit for extracting histogram and cumulative distribution function for image enhancement apparatus | |
US20120306677A1 (en) | System and method to modify a metadata parameter | |
US9900121B1 (en) | Apparatus, system, and method for reducing a number of intersymbol interference components to be suppressed | |
US9009520B2 (en) | Closed-loop multiphase slew rate controller for signal drive in a computer system | |
US10574261B2 (en) | System and method for low-power digital signal processing | |
US7133481B2 (en) | Synchronization detection apparatus | |
CN102148920B (en) | Synchronous signal limiting device and synchronous signal limiting method | |
US8174516B2 (en) | Image display system, image signal transmitter and image display unit | |
US9621176B2 (en) | Offset correction for sense amplifier | |
US20080285888A1 (en) | Image resizing device and parameter adjusting method thereof | |
TWI404417B (en) | Sync slicer and sync slicing method | |
US5920351A (en) | Black level detecting circuit of video signal | |
US20180033442A1 (en) | Audio codec system and audio codec method | |
US11881281B2 (en) | Dual reference voltage generator, equalizer circuit, and memory | |
CN101142817A (en) | Synchronous control method and device for video signal and audio signal of video device | |
US7453971B2 (en) | Sampling-error phase compensating apparatus and method thereof | |
US7778789B2 (en) | Digital phase calibration method and system | |
US8306351B2 (en) | Apparatus and method for filtering noise in image signal | |
US8214066B1 (en) | System and method for controlling noise in real-time audio signals | |
US8064509B1 (en) | Adaptive equalization based on signal overshoot | |
US8774549B2 (en) | Compression error handling for temporal noise reduction | |
US8520144B2 (en) | Video signal processing circuit and method applicable thereto | |
US7006149B2 (en) | Video signal control circuit | |
US20140219473A1 (en) | Signal filtering apparatus and signal filtering method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130313 Termination date: 20200209 |