CN100568916C - Display controller of picture frame base phase locking and method thereof - Google Patents
Display controller of picture frame base phase locking and method thereof Download PDFInfo
- Publication number
- CN100568916C CN100568916C CNB2006100043799A CN200610004379A CN100568916C CN 100568916 C CN100568916 C CN 100568916C CN B2006100043799 A CNB2006100043799 A CN B2006100043799A CN 200610004379 A CN200610004379 A CN 200610004379A CN 100568916 C CN100568916 C CN 100568916C
- Authority
- CN
- China
- Prior art keywords
- aforementioned
- signal
- phase
- frame
- vertical synchronizing
- 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.)
- Active
Links
Images
Landscapes
- Synchronizing For Television (AREA)
- Controls And Circuits For Display Device (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
Description
【技术领域】 【Technical field】
本发明是关于一种显示控制器及其方法,特别是关于一种图框基锁相的显示控制器及其方法。The present invention relates to a display controller and its method, in particular to a frame-based phase-locked display controller and its method.
【背景技术】 【Background technique】
图1显示现有电视(television,TV)系统的方块图,包括电视控制器100、动态随机存取记忆体(dynamic random access memory,DRAM)120和阴极射线管(cathode ray tube,CRT)140,电视控制器100用以接收各种视频信号源110,包括国际电视标准委员会(National Television Standards Committee,NTSC)、相位交错线(Phase Alternation Line,PAL)的显示模式以及超延伸绘图阵列(super extended graphics array,SXGA)/延伸绘图阵列(Extended Graphics Array,XGA)/视讯图形阵列(video graphics array,VGA)的视频信号。动态随机存取记忆体120必须先储存视频信号源所产生的图框数据(frame data),接着利用电视控制器110将动态随机存取记忆体中储存的图框数据显示到阴极射线管140的屏幕上。阴极射线管140根据电视控制器100产生的垂直同步(verticalsynchronous,VSYNC)和水平同步(horizontal synchronous,HSYNC)信号(未示出)显示视频信号。1 shows a block diagram of an existing television (television, TV) system, including a
然而,动态随机存取记忆体120增加显示系统的制造成本;再者,阴极射线管140无法动态改变垂直同步信号和水平同步信号,垂直同步和水平同步信号只能根据厂商的规格在特定的范围之内进行信号频率的变动,一般来说,垂直同步信号变化范围不能超过5%,水平同步信号不能超过2%等,否则阴极射线管140将受到损坏或者显示画面会有扭曲的现象。NTSC和PAL两种显示模式的垂直同步信号的频率分别是60Hz(hertz)和50Hz,而SXVGA/XGA/VGA视频信号支持的频率范围为60Hz到85Hz之垂直同步信号频率。However, the
现有技术中,电视控制器100通过将图框数据暂时储存在动态随机存取记忆体中,以使输入图框数据和输出图框数据互相隔离。因此由输出图框数据组成的输出视频信号只能以几乎是固定频率的垂直同步和水平同步信号控制来稳定地显示视频信号。当不同的视频信号源输入到电视控制器100中或者当显示模式改变时,由于垂直同步信号或者水平同步信号的剧烈变化,电视控制器100可能导致显示在阴极射线管上的视频信号产生扭曲,甚而导致阴极射线管140的损坏。In the prior art, the
图2显示图1中现有电视控制器的方块图,包括输出锁相回路(phase-locked loop,PLL)200和水平垂直(horizontal and vertical,HV)信号产生器220。输出锁相回路200接收一个固定输入时钟信号210,然后输出一个输出时钟信号(Output_CLK),而HV信号产生器根据输出时钟信号产生垂直同步和水平同步信号。传统的显示控制器是以像素为单位来处理影像图框。熟悉熟悉该领域的人士会认为阴极射线管电视没有动态随机存取记忆体120便无法实施,因为没有动态随机存取记忆体120的情况下,当输入电视信号源发生变化时,输出垂直同步信号必剧烈变化,因而导致阴极射线管毁坏或者视讯显示发生扭曲现象。然而前述阴极射线管发生毁坏以及信号扭曲等情况是显示系统制造商所无法接受的,而且当阴极射线管电视损坏时相当危险。FIG. 2 shows a block diagram of the conventional TV controller in FIG. 1 , including an output phase-locked loop (PLL) 200 and a horizontal and vertical (HV)
如前所述,阴极射线管或者液晶显示装置的控制器,传统的锁相回路接收的是固定的输入时钟信号,而不能在没有动态随机存取记忆体状态下提供多种视频信号切换的要求,而且动态随机存取记忆体增加显示系统的制造成本。As mentioned above, for the controller of a cathode ray tube or a liquid crystal display device, the traditional phase-locked loop receives a fixed input clock signal, and cannot provide a variety of video signal switching requirements without dynamic random access memory. , and the DRAM increases the manufacturing cost of the display system.
【发明内容】 【Content of invention】
本发明的主要目的在于提供一种图框基锁相的显示控制器及其方法,以侦测参考信号和显示致能(display enable,DE)信号之间的相位差,以减少不同种类的电视系统中外挂记忆体的成本。The main purpose of the present invention is to provide a frame-based phase-locked display controller and its method, to detect the phase difference between the reference signal and the display enable (display enable, DE) signal, to reduce different types of TV The cost of external memory in the system.
本发明的另一目的是提供一种图框基锁相的显示控制器和方法,以图框基调整输出垂直和水平同步信号的频率和相位,以响应在预定视频信号源下不同显示模式变化或者不同视频信号源改变所引起的相位差。Another object of the present invention is to provide a frame-based phase-locked display controller and method to adjust the frequency and phase of the output vertical and horizontal synchronous signals on a frame basis to respond to changes in different display modes under a predetermined video signal source Or the phase difference caused by the change of different video signal sources.
为达上述之目的,本发明提出一种显示视频信号中若干影像图框的图框基的显示控制器,包括图框基锁相回路和同步信号产生器。图框基锁相回路用于接收振荡信号和输入垂直同步信号,并且产生基于影像图框的输出时钟信号。同步信号产生器连接于前述锁相回路,以接收前述输出时钟信号并产生输出水平同步信号、输出垂直同步信号和输出显示致能信号。图框基锁相回路主要包括第一锁相回路、频率合成器、第二锁相回路、快速相位侦测器、相位频率侦测器和有效像素区域产生器。有效像素区域产生器接收输入垂直同步信号,以产生与有效像素区域相关联的参考信号。图框基锁相回路根据影像图框将显示致能信号和参考信号形成锁相状态。To achieve the above-mentioned purpose, the present invention proposes a frame-based display controller for displaying several image frames in a video signal, including a frame-based phase-locked loop and a synchronous signal generator. The frame-based phase-locked loop is used for receiving the oscillating signal and the input vertical synchronization signal, and generating an output clock signal based on the image frame. The synchronous signal generator is connected to the aforementioned phase-locked loop to receive the aforementioned output clock signal and generate an output horizontal synchronous signal, an output vertical synchronous signal and an output display enabling signal. The frame-based phase-locked loop mainly includes a first phase-locked loop, a frequency synthesizer, a second phase-locked loop, a fast phase detector, a phase-frequency detector and an effective pixel region generator. The active pixel area generator receives an input vertical synchronization signal to generate a reference signal associated with the active pixel area. The frame-based phase-locked loop forms a phase-locked state between the display enabling signal and the reference signal according to the image frame.
本发明提供一种图框基的锁相方法,主要包括如下步骤:根据振荡信号产生输出时钟信号;接收输入垂直同步信号;根据输入垂直同步信号产生与有效像素区域相关联的参考信号;根据输出时钟信号产生输出水平同步信号、输出垂直同步信号和输出显示致能信号;接着根据若干影像图框进行锁相回路的步骤。The invention provides a frame-based phase-locking method, which mainly includes the following steps: generating an output clock signal according to an oscillating signal; receiving an input vertical synchronization signal; generating a reference signal associated with an effective pixel area according to the input vertical synchronization signal; The clock signal generates an output horizontal synchronous signal, an output vertical synchronous signal, and an output display enable signal; and then performs the steps of phase-locked loop according to several image frames.
较佳地,通过侦测参考信号和显示致能信号之间的相位差,并将相位差转换成上/下计数信号;依据该上/下计数信号和振荡信号合成输出时钟信号;根据前述相位差适应性调整前述输出水平同步信号和前述输出垂直同步信号。在进行锁相回路的步骤中,根据影像图框将显示致能信号和参考信号适应性锁相。输出垂直同步信号是以一微幅关系相关联于输入垂直同步信号。Preferably, by detecting the phase difference between the reference signal and the display enable signal, and converting the phase difference into an up/down count signal; synthesizing an output clock signal based on the up/down count signal and an oscillation signal; according to the aforementioned phase The aforementioned output horizontal synchronization signal and the aforementioned output vertical synchronization signal are differentially adjusted. In the step of performing the phase-locked loop, the display enabling signal and the reference signal are adaptively phase-locked according to the image frame. The output vertical sync signal is correlated to the input vertical sync signal by a small amplitude relationship.
具体实施例中,输出垂直同步信号适应性地趋近于输入垂直同步信号,以响应于一显示模式改变或一视频信号源改变,且显示致能信号和输出垂直同步信号之间的关系和参考信号与输入垂直同步信号之间的关系为可程序化。当输出垂直同步信号与输入垂直同步信号之间的距离超过显示控制器内的若干线型缓冲器的总容量时,输出垂直同步信号适应地趋近输入垂直同步信号。同时,当输出垂直同步信号和输入垂直同步之间的距离超过线型缓冲器的总容量时,解除断言稳定信号而暂时地禁能显示控制器显示输出。In a specific embodiment, the output vertical synchronization signal is adaptively approached to the input vertical synchronization signal in response to a display mode change or a video signal source change, and the relationship and reference between the display enable signal and the output vertical synchronization signal The relationship between the signal and the incoming vertical sync signal is programmable. When the distance between the output vertical synchronous signal and the input vertical synchronous signal exceeds the total capacity of several linear buffers in the display controller, the output vertical synchronous signal approaches the input vertical synchronous signal adaptively. Simultaneously, when the distance between the output vertical sync signal and the input vertical sync exceeds the total capacity of the line buffer, the stable signal is deasserted to temporarily disable the display controller display output.
产生输出时钟信号的步骤是箝制(clamp)输出时钟信号的频率,每一输出水平同步信号的断言(assertion)相关于一个完整的扫描线。产生输出水平同步信号的步骤包括如下步骤:计数水平计数值以产生输出水平同步信号;以及计数垂直计数值以产生输出垂直同步信号。适应性调整步骤系修正水平计数值和垂直计数值,快速地调整水平同步信号和垂直同步信号,以响应于相位差。The step of generating the output clock signal is to clamp the frequency of the output clock signal, and each assertion of the output horizontal sync signal is related to a complete scan line. The step of generating the output horizontal synchronous signal includes the following steps: counting the horizontal count value to generate the output horizontal synchronous signal; and counting the vertical count value to generate the output vertical synchronous signal. The adaptive adjustment step is to correct the horizontal count value and the vertical count value, and quickly adjust the horizontal sync signal and the vertical sync signal in response to the phase difference.
本发明根据不同种类的视频信号源或者显示模式的变化,通过调整参考信号和显示致能信号之间的相位差,以有效减少在阴极射线管的电视系统使用外部记忆体储存装置的成本。The present invention effectively reduces the cost of using an external memory storage device in a cathode ray tube television system by adjusting the phase difference between a reference signal and a display enabling signal according to different types of video signal sources or changes in display modes.
【附图说明】 【Description of drawings】
图1是现有技术的电视系统的方块图。Figure 1 is a block diagram of a prior art television system.
图2显示图1中现有电视控制器的方块图。FIG. 2 shows a block diagram of the conventional TV controller in FIG. 1 .
图3是依据本发明的一实施例的具有图框基锁相回路的低成本显示控制器的基本架构方块图。FIG. 3 is a block diagram of the basic architecture of a low-cost display controller with a frame-based PLL according to an embodiment of the present invention.
图4是依据本发明图3所示的具有图框基锁相回路的显示控制器的详细架构方块图。FIG. 4 is a detailed architectural block diagram of the display controller with frame-based PLL shown in FIG. 3 according to the present invention.
图5是依据本发明的一实施例中与输入垂直同步信号以及垂直同步信号的调整有关的时序波形图。FIG. 5 is a timing waveform diagram related to the input vertical synchronization signal and the adjustment of the vertical synchronization signal according to an embodiment of the invention.
图6是依据本发明的一实施例中执行图框基锁相的流程图。FIG. 6 is a flow chart of performing frame-based phase locking according to an embodiment of the present invention.
图7是依据本发明的另一实施例中执行图框基锁相的流程图。FIG. 7 is a flow chart of performing frame-based phase locking in another embodiment of the present invention.
【具体实施方式】 【Detailed ways】
本发明提供一种图框基锁相之显示控制器和方法,利用快速相位侦测器和相位频率侦测器侦测参考信号和显示致能(DE)信号之间的相位差,以节省在不同类型的电视系统(包括阴极射线管电视和液晶电视)中使用外部记忆体(例如动态随机存取记忆体)的成本。图框基锁相回路根据相位差并利用补偿同步信号产生器来调整垂直和水平同步信号的频率,以响应于预定视频信号之显示模式改变或者不同的视频信号源切换(CRT TV或是LCD TV)。此外,有效像素区域产生器侦测电视的输入垂直同步信号,以产生与视频信号源的有效像素区域相关联的参考信号,使得同步信号产生器所产生的输出垂直同步信号赶上输入垂直同步信号。应注意到视频信号例如可为SXGA、XGA、VGA、HDTV、NTSC、PAL标准规格以及其它任何种类的电视信号。The present invention provides a frame-based phase-locked display controller and method, using a fast phase detector and a phase frequency detector to detect the phase difference between a reference signal and a display enable (DE) signal to save time The cost of using external memory (such as dynamic random access memory) in different types of television systems, including cathode ray tube televisions and LCD televisions. The frame-based phase-locked loop adjusts the frequency of the vertical and horizontal synchronization signals according to the phase difference and uses the compensation synchronization signal generator to respond to the change of the display mode of the predetermined video signal or the switching of different video signal sources (CRT TV or LCD TV ). In addition, the effective pixel area generator detects the input vertical synchronous signal of the television to generate a reference signal associated with the effective pixel area of the video signal source, so that the output vertical synchronous signal generated by the synchronous signal generator catches up with the input vertical synchronous signal . It should be noted that the video signal can be, for example, SXGA, XGA, VGA, HDTV, NTSC, PAL standard specifications and any other kind of television signal.
图3显示根据本发明的实施例的具有图框基锁相回路300的低成本显示控制器的新颖架构方块图,以节省动态随机存取记忆体的成本。利用图框基锁相回路300使输入垂直同步信号(input vertical synchronous signal,IVSYNC)302与输出垂直同步信号(VSYNC)304隔离。图框基锁相回路300对输出时钟信号(Output_CLK)306进行频率箝制,因此垂直同步信号304与输入垂直同步信号302保持微弱(weak)关联性;同步信号产生器320根据输出时钟信号306产生垂直同步信号(VSYNC)304和水平同步信号(HSYNC)308。输出时钟信号306可根据制造厂商的设定而适当地频率箝制,以避免损坏显示器,特别是可避免阴极射线管的损坏,同步信号产生器320的显示致能(DE)信号310亦反馈至图框基锁相回路300。在此具体实施例中,输出时钟信号306的频率适当地变化,而不会太剧烈地改变垂直同步信号的相位,因此图框基锁相回路300可有效节省动态随机存取记忆体组件,并且可有效地保护电视而不会被垂直同步信号304损坏,垂直同步信号304和水平同步信号308能够在制造厂商的规格之下,适应性地调整以响应于输入垂直同步信号,例如垂直同步信号变化范围在5%之内以及水平同步信号在2%之内。FIG. 3 shows a novel architectural block diagram of a low-cost display controller with a frame-based
图4是依据本发明图3所示的具有图框基锁相回路300的显示控制器的详细架构方块图,具有图框基锁相回路300的显示控制器用以显示视频信号中的若干影像图框,主要包括有效像素区域产生器400、快速相位侦测器440、频率合成器410、同步信号产生器320以及相位频率侦测器(phase frequencydetector,PFD)450。在本实施例中,相位频率侦测器450设置于反馈路径上耦接于同步信号产生器320和频率合成器410之间。Fig. 4 is a detailed structural block diagram of the display controller with the frame-based phase-locked
有效像素区域产生器400根据侦测到的输入垂直同步信号302产生一个与视频信号的有效像素区域相关联的参考信号444,熟悉该领域技术者应了解参考信号444与输入垂直同步信号302之间的关联性为可程序化调整。相位频率侦测器450连接于有效像素区域产生器400,用以侦测出参考信号444和显示致能信号310两者之间的相位差,并将该相位差转换成上/下计数信号。频率合成器410根据来自相位频率侦测器450的上/下计数信号和第一锁相回路405的输出信号进行频率合成。The effective pixel area generator 400 generates a reference signal 444 associated with the effective pixel area of the video signal according to the detected input vertical
同步信号产生器320分别连接至图框基锁相回路300的快速相位侦测器440、相位频率侦测器450和第二锁相回路420,以根据图框基锁相回路300的输出时钟信号306产生水平同步信号308、垂直同步信号304和显示致能信号310。显示致能信号310反馈给快速相位侦测器440以追踪有效像素区域产生器400的参考信号444,其指示显示系统的有效(active)输出像素区域。同步信号产生器320将显示致能信号馈送至快速相位侦测器440和相位频率侦测器450。熟悉该领域技术者应了解,显示致能信号310和垂直同步信号304之间的关系为可程序化调整,实质地与显示规格有关。因此当视频信号源或者显示模式产生变化时,同步信号产生器320产生的垂直同步信号304系微弱地关联于有效像素区域产生器400的输入垂直信号302。The
在本发明的较佳实施例中,同步信号产生器320主要包括水平计数器446和垂直计数器448。水平计数器446为每一输出水平同步信号之高位准计数第一默认值,垂直计数器为每一输出垂直同步信号之高位准计数第二默认值,计数值可代表信号持续时间长度。显示致能信号310和垂直同步信号304的关系为可程序化调整,以实质地符合阴极射线管电视的显示规格。In a preferred embodiment of the present invention, the
快速相位侦测器440连接于有效像素区域产生器400、相位频率侦测器450和同步信号产生器320,快速相位侦测器440侦测参考信号444和显示致能信号310之间的相位差,以产生控制信号442和补偿信号452。快速相位侦测器440通过补偿信号452补偿同步信号产生器320,调整输入垂直同步信号302和垂直同步信号304之间的相位差,以根据参考信号444快速将输入垂直同步信号302和垂直同步信号304锁相;举例而言,当输入垂直同步信号302和垂直同步信号304之间的相位差超过预定值的时候,快速相位侦测器440发出信号给同步信号产生器使得每个图框补偿十条水平同步线;较佳地,当快速相位侦测器440利用补偿信号452补偿同步信号产生器320时,快速相位侦测器440经由控制信号442将相位频率侦测器450禁能(disable)。The fast phase detector 440 is connected to the effective pixel area generator 400, the phase frequency detector 450 and the
更进一步地,连接于频率合成器410的第一锁相回路405用于接收来自振荡器的振荡信号,第二锁相回路420设置于频率合成器410和同步信号产生器320之间,第一锁相回路405产生小于图框基锁相回路300的输出时钟信号306的输出频率,可改善显示系统的抗电磁干扰能力。Further, the first phase-locked loop 405 connected to the frequency synthesizer 410 is used to receive the oscillation signal from the oscillator, the second phase-locked loop 420 is arranged between the frequency synthesizer 410 and the
当输出时钟信号306的频率超过预定变化值时,有效像素区域产生器400可将输入垂直同步信号302和垂直同步信号304隔离,以保护阴极射线管;举例而言,此时图框基锁相回路300可自由地运作(free-run)而无关于有效像素区域产生器400,例如阴极射线管可忽略输入垂直同步信号302而显示出蓝色画面。When the frequency of the
继续参阅图4,相位频率侦测器450侦测输入垂直同步信号304和垂直同步信号302之间的相位差,且设置于同步信号产生器320的反馈路径上。相位频率侦测器450通过调整输出时钟信号306的频率和相位,以调整垂直同步信号304、水平同步信号308和显示致能信号310。图框基锁相回路300通过补偿同步信号产生器以适应性地调整垂直同步信号304和水平同步信号308的频率及相位,以响应于输出给阴极射线管或液晶电视的不同视频信号源切换或者同一视频信号源的显示模式变化所造成的相位差。Continuing to refer to FIG. 4 , the phase frequency detector 450 detects the phase difference between the input
当显示系统的显示模式发生变化,垂直同步信号304和输入垂直同步信号302之间的相位差,例如是水平同步信号308的100条扫描线的相位差,传统的电视控制器无法允许不经过动态随机存取记忆体就改变水平同步信号308的100个扫描线,然而在本发明中,相位频率侦测器450指数地追踪相位的变化。快速相位侦测器440通过控制信号442以致能或禁能相位频率侦测器450,且快速相位侦测器440产生的补偿信号452传送给同步信号产生器320,以补偿水平同步信号308。When the display mode of the display system changes, the phase difference between the vertical
当垂直同步信号304超过预定的相位差的阀限值(threshold)时,快速相位侦测器440发送信号给同步信号产生器320,为每一图框数字补偿若干条水平同步信号扫描线,例如是10条扫描线;较佳地,当快速相位侦测器440在调整同步信号产生器320的时候,快速相位侦测器440通过控制信号442禁能相位频率侦测器450。因此,当显示模式改变,图框基锁相回路300所需要的稳定时间将可大幅减少,使得符合显示系统的显示规格。When the
在具体实施例中,当改变阴极射线管的显示模式以运作于60Hz的具有1280*1024分辨率的SXGA显示模式时,阴极射线管每秒显示60个图框画面且每个图框包含1024条扫描线。同步信号产生器320分别根据水平计数器446和垂直计数器448产生水平同步信号308和垂直同步信号304。较佳地,当相位差超过显示规格时,快速相位侦测器440发送信号给同步信号产生器320,以补偿水平同步计数器446,举例而言,修改水平计数器446中的计数值以供水平扫描线补偿,而且在显示控制器相关的线型缓冲器(line buffers,未图示)因此被影响。In a specific embodiment, when the display mode of the cathode ray tube is changed to operate in the SXGA display mode with 1280*1024 resolution at 60Hz, the cathode ray tube displays 60 frames per second and each frame contains 1024 scan line. The
较佳地,水平同步信号的每一个断言与一完整扫描线相关联,详细的说明请参考申请人于2005年5月13日提出的第10/908,473号美国专利申请案。Preferably, each assertion of the horizontal synchronization signal is associated with a complete scan line. For details, please refer to US Patent Application No. 10/908,473 filed on May 13, 2005 by the applicant.
图5是依据本发明的一实施例中与输入垂直同步信号302以及垂直同步信号304的调整有关的时序波形图。输入垂直同步信号302是与输入视频信号直接关联,也就是视频信号的输入图框与输入垂直信号302相关联。当显示模式变化时,垂直同步信号304和输入垂直同步信号302之间初始地产生n条扫描线的相位差,此时稳定信号解除断言(deassert)而禁能图框输出;垂直同步信号304历经若干水平同步信号断言之后,适应性地赶上输入垂直同步信号302。举例来说,经过超过40个输入垂直同步信号的周期之后,输入垂直同步信号302与垂直同步信号304之间的相位差被拉近,而不会损坏CRT或是导致画面扭曲的现象。当垂直同步信号304赶上输入垂直同步信号302后,稳定信号被断言而致能输出图框。较佳地,当输入垂直同步信号302与垂直同步信号304之间的相位差超过线型缓冲器的总容量时,将稳定信号解除断言而暂时地禁能显示控制器的显示输出,因此使用者不会看到任何画面扭曲的现象。FIG. 5 is a timing waveform diagram related to the adjustment of the input
因此,垂直同步信号304与输入垂直同步信号302保持微弱关联。当垂直同步信号304趋近于输入垂直同步信号302之后,垂直同步信号304可不需完全与输入垂直同步信号302对准。上述实施例表示显示致能信号310趋近于参考信号444,而且显示致能信号310不需要完全与参考信号444互相对准。较佳地,在整合于低成本显示控制器内的线型缓冲器的数量范围内显示致能信号310赶上参考信号444,断言稳定信号使阴极射线管正常显示出画面;举例而言,如果五条线型缓冲器整合于低成本显示控制器中,在显示致能信号310赶上参考信号444于五条线型缓冲器的范围内,便断言稳定信号使阴极射线管正常显示出画面,而避免显示系统内图框数据不足(underrun)或是满溢(overrun)的问题。换句话说,在调整过程中,垂直同步信号304在符合显示规格的情况下,利用水平计数器446和垂直计数器448快速地调整,致使垂直同步信号304与输入垂直同步信号302保持微幅关联。更重要的是,快速相位侦测器440和相位频率侦测器450以高效能、适应性地将垂直同步信号304和输入垂直同步信号302进行图框基锁相。Therefore, the
图6是依据本发明的一实施例进行图框基锁相的流程图。首先在步骤S600,通过侦测输入视频信号的输入垂直同步信号,以产生一参考信号,参考信号相关于输入垂直同步信号。然后在步骤S602中,利用相位频率侦测器侦测参考信号和显示致能信号之间的相位差,并将相位差转换为一个上/下计数信号。接着在步骤S604中,根据上/下计数信号频率合成输出时钟信号。FIG. 6 is a flowchart of frame-based phase locking according to an embodiment of the present invention. Firstly, in step S600, a reference signal is generated by detecting the input vertical synchronous signal of the input video signal, and the reference signal is related to the input vertical synchronous signal. Then in step S602, a phase frequency detector is used to detect the phase difference between the reference signal and the display enable signal, and convert the phase difference into an up/down count signal. Then in step S604, the output clock signal is synthesized according to the frequency of the up/down count signal.
然后,在步骤S606中,适应性地调整水平同步信号、垂直同步信号和显示致能信号以响应于输入垂直同步信号和垂直同步信号之间的相位差。在本实施例中,水平同步信号、垂直同步信号和显示致能信号是根据前述输出时钟信号产生。将用于表示显示有效输出像素区域的显示致能信号传送至快速相位侦测器中,使显示致能信号趋近于有效像素区域产生器的参考信号。快速相位侦测器侦测参考信号和显示致能信号之间的相位差,以产生控制信号和补偿信号;控制信号根据预定的阀限值,选择性地致能相位侦测器,以控制上/下计数信号之输出,而且补偿信号根据输入垂直同步信号和垂直同步信号之间的相位差来补偿同步信号产生器,以适应地调整水平同步信号、垂直同步信号和显示致能信号,使得垂直同步信号根据参考信号快速地趋近于输入垂直同步信号。较佳地,当快速相位侦测器发出补偿信号对同步信号产生器补偿的时候,快速相位侦测器的控制信号使相位频率侦测器禁能而停止运作。较佳地,水平计数值和垂直计数值根据输出时钟信号计数,适应性地调整水平同步信号、垂直同步信号和显示致能信号,以响应于输入垂直同步信号和垂直同步信号之间的相位差。Then, in step S606, the horizontal synchronization signal, the vertical synchronization signal and the display enable signal are adaptively adjusted in response to the phase difference between the input vertical synchronization signal and the vertical synchronization signal. In this embodiment, the horizontal synchronization signal, the vertical synchronization signal and the display enable signal are generated according to the aforementioned output clock signal. The display enabling signal used for displaying the effective output pixel area is sent to the fast phase detector, so that the display enabling signal is close to the reference signal of the effective pixel area generator. The fast phase detector detects the phase difference between the reference signal and the display enable signal to generate a control signal and a compensation signal; the control signal selectively enables the phase detector according to a predetermined threshold value to control the upper The output of the /down count signal, and the compensation signal compensates the synchronous signal generator according to the phase difference between the input vertical synchronous signal and the vertical synchronous signal, so as to adjust the horizontal synchronous signal, the vertical synchronous signal and the display enabling signal adaptively, so that the vertical The sync signal quickly approaches the input vertical sync signal according to the reference signal. Preferably, when the fast phase detector sends a compensating signal to compensate the synchronous signal generator, the control signal of the fast phase detector disables the phase frequency detector to stop operation. Preferably, the horizontal count value and the vertical count value are counted according to the output clock signal, and the horizontal synchronization signal, the vertical synchronization signal and the display enable signal are adaptively adjusted in response to the phase difference between the input vertical synchronization signal and the vertical synchronization signal .
请参阅图7,是依据本发明的另一实施例中执行图框基锁相的流程图。首先在步骤S700中,根据振荡信号产生一个输出时钟信号;在步骤S702,接收一个输入垂直同步信号;在步骤S704,根据输入垂直同步信号产生相关于有效像素区域的参考信号;在步骤S706,根据输出时钟信号产生输出水平同步信号、输出垂直同步信号和输出显示致能信号;最后在步骤S708中,基于若干影像图框进行锁相回路。Please refer to FIG. 7 , which is a flow chart of executing frame-based phase locking according to another embodiment of the present invention. First in step S700, an output clock signal is generated according to the oscillating signal; in step S702, an input vertical synchronization signal is received; in step S704, a reference signal related to the effective pixel area is generated according to the input vertical synchronization signal; in step S706, according to The output clock signal generates an output horizontal synchronization signal, an output vertical synchronization signal, and an output display enable signal; finally in step S708, a phase-locked loop is performed based on a plurality of image frames.
更特定地,参考信号和显示致能信号之间的相位差被侦测后转换为上/下计数信号,合成输出时钟信号以响应于上/下计数信号和振荡信号频率,根据相位差适应性地调整水平同步信号和垂直同步信号,前述执行锁相回路的步骤中是根据数个影像图框将显示致能信号适应性地锁相至参考信号,使得输出垂直同步信号与输入垂直同步信号之间具有微幅关联。More specifically, the phase difference between the reference signal and the display enable signal is detected and converted into an up/down count signal, and the output clock signal is synthesized to respond to the up/down count signal and the oscillation signal frequency, according to the phase difference adaptability The horizontal synchronization signal and the vertical synchronization signal are adjusted accordingly. In the aforementioned steps of executing the phase-locked loop, the display enable signal is adaptively phase-locked to the reference signal according to several image frames, so that the output vertical synchronization signal is different from the input vertical synchronization signal. There is a slight correlation between them.
输出垂直同步信号适应性地趋近输入垂直同步信号,以响应于显示模式的变化或者视频信号源的变化。较佳地,显示致能信号和输出垂直同步信号之间的关系以及参考信号和输入垂直同步信号之间的关系为可程序化控制。当输出垂直同步信号和输入垂直同步信号之间的距离超过显示控制器内的若干线型缓冲器的总容量时,垂直同步信号适应性地趋近输入垂直同步信号。较佳地,当输出垂直同步信号和输入垂直同步信号之间的距离超过该线型缓冲器的总容量时,解除断言稳定信号而暂时地禁能显示控制器显示输出。The output vertical sync signal is adaptively approximated to the input vertical sync signal in response to a change in display mode or a change in video signal source. Preferably, the relationship between the display enable signal and the output vertical synchronization signal and the relationship between the reference signal and the input vertical synchronization signal are programmable. When the distance between the output vertical synchronization signal and the input vertical synchronization signal exceeds the total capacity of several linear buffers in the display controller, the vertical synchronization signal approaches the input vertical synchronization signal adaptively. Preferably, the stable signal is deasserted to temporarily disable the display controller display output when the distance between the output vertical sync signal and the input vertical sync signal exceeds the total capacity of the line buffer.
产生输出时钟信号的步骤箝制输出时钟信号的频率,每一输出水平同步信号的断言(assertion)相关于一个完整的扫描线。产生输出水平同步信号的步骤包括如下:计数一水平计数值以产生输出水平同步信号;计数一垂直计数值以产生输出垂直同步信号。适应性调整步骤修改水平计数值和垂直计数值,快速调整水平同步信号和垂直同步信号,以响应于相位差。The step of generating the output clock signal clamps the frequency of the output clock signal, and each assertion of the output horizontal sync signal is associated with a complete scan line. The step of generating the output horizontal synchronous signal includes the following steps: counting a horizontal count value to generate the output horizontal synchronous signal; counting a vertical count value to generate the output vertical synchronous signal. The adaptive adjustment step modifies the horizontal count value and the vertical count value, and quickly adjusts the horizontal sync signal and the vertical sync signal in response to the phase difference.
总的来说,本发明揭示一种图框基锁相的显示控制器以显示视频信号中的若干影像图框,显示控制器包括图框基锁相回路和同步信号产生器,图框基锁相回路接收一个振荡信号和一个输入垂直同步信号产生一个图框基的输出时钟信号,同步信号产生器连接于图框基锁相回路,以接收该输出时钟信号,以产生输出水平同步信号、输出垂直同步信号和显示致能信号。In general, the present invention discloses a frame-based phase-locked display controller to display several image frames in a video signal. The display controller includes a frame-based phase-locked loop and a synchronous signal generator, and the frame-based lock The phase loop receives an oscillating signal and an input vertical synchronous signal to generate a frame-based output clock signal, and the synchronous signal generator is connected to the frame-based phase-locked loop to receive the output clock signal to generate an output horizontal synchronous signal, output Vertical synchronization signal and display enable signal.
较佳地,图框基锁相回路包括第一锁相回路、频率合成器、第二锁相回路、快速相位侦测器、相位频率侦测器和有效像素区域产生器。有效像素区域产生器接收输入垂直同步信号以产生一个与有效像素区域关联的参考信号。图框基锁相回路基于影像图框将显示致能信号适应性地锁相至参考信号。Preferably, the frame-based phase-locked loop includes a first phase-locked loop, a frequency synthesizer, a second phase-locked loop, a fast phase detector, a phase-frequency detector and an effective pixel area generator. The active pixel area generator receives an input vertical synchronization signal to generate a reference signal associated with the active pixel area. The frame-based PLL adaptively phase-locks the display enable signal to the reference signal based on the image frame.
本发明适应性地调整输入垂直同步信号和输出垂直同步信号之间的相位差,以响应于不同视频信号源或者显示模式的变化,可节省在阴极射线管电视中使用外部记忆体的成本。The invention adaptively adjusts the phase difference between the input vertical synchronous signal and the output vertical synchronous signal to respond to the change of different video signal sources or display modes, and can save the cost of using external memory in the cathode ray tube television.
Claims (30)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US64742805P | 2005-01-28 | 2005-01-28 | |
US60/647428 | 2005-01-28 | ||
US11/316290 | 2005-12-22 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1812483A CN1812483A (en) | 2006-08-02 |
CN100568916C true CN100568916C (en) | 2009-12-09 |
Family
ID=36845137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100043799A Active CN100568916C (en) | 2005-01-28 | 2006-01-27 | Display controller of picture frame base phase locking and method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100568916C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016065571A1 (en) * | 2014-10-30 | 2016-05-06 | Lattice Semiconductor Corporation | Timing based corrector for video |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4847678A (en) * | 1988-01-11 | 1989-07-11 | Eastman Kodak Company | Dual mode gen-lock system which automatically locks to color burst or to sync information |
US5347365A (en) * | 1991-09-27 | 1994-09-13 | Sanyo Electric Co., Ltd. | Device for receiving closed captioned broadcasts |
EP0661686A2 (en) * | 1993-12-28 | 1995-07-05 | Canon Kabushiki Kaisha | Display control apparatus |
-
2006
- 2006-01-27 CN CNB2006100043799A patent/CN100568916C/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4847678A (en) * | 1988-01-11 | 1989-07-11 | Eastman Kodak Company | Dual mode gen-lock system which automatically locks to color burst or to sync information |
US5347365A (en) * | 1991-09-27 | 1994-09-13 | Sanyo Electric Co., Ltd. | Device for receiving closed captioned broadcasts |
EP0661686A2 (en) * | 1993-12-28 | 1995-07-05 | Canon Kabushiki Kaisha | Display control apparatus |
US5721570A (en) * | 1993-12-28 | 1998-02-24 | Canon Kabushiki Kaisha | Display control apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN1812483A (en) | 2006-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7737960B2 (en) | Apparatus and method for image frame synchronization | |
US7969507B2 (en) | Video signal receiver including display synchronizing signal generation device and control method thereof | |
KR101229590B1 (en) | Techniques for aligning frame data | |
US6181300B1 (en) | Display format conversion circuit with resynchronization of multiple display screens | |
US9147375B2 (en) | Display timing control circuit with adjustable clock divisor and method thereof | |
JPH10319928A (en) | Multiscan video timing generator for format conversion | |
KR100609056B1 (en) | Display device and control method | |
TWI316813B (en) | Frame-based phase-locked display controller and method thereof | |
US6300982B1 (en) | Flat panel display apparatus and method having on-screen display function | |
JPH10319932A (en) | Display device | |
JP2001069423A (en) | Matching method for display frame rate and video picture receiver | |
KR100706625B1 (en) | Video pixel clock generation method and video pixel clock generation device using same | |
US6396486B1 (en) | Pixel clock generator for automatically adjusting the horizontal resolution of an OSD screen | |
CN100568916C (en) | Display controller of picture frame base phase locking and method thereof | |
US6879321B2 (en) | Display position control apparatus | |
US6552700B2 (en) | Monitor adjustment by data manipulation | |
JP3474120B2 (en) | Scan converter and scan conversion method | |
CN101448074B (en) | Apparatus and method for generating multi-slice horizontal synchronization signal | |
US7460113B2 (en) | Digital pixel clock generation circuit and method employing independent clock | |
KR20010070301A (en) | Synchronous frequency converting circuit | |
US20060152624A1 (en) | Method for generating a video pixel clock and an apparatus for performing the same | |
JPWO2012120780A1 (en) | Video processing apparatus, video display apparatus using the same, and synchronization signal output method | |
KR100598413B1 (en) | Downscanning apparatus and method of image display device | |
JP2002311929A (en) | Converting circuit for synchronizing frequency | |
KR20010002555A (en) | Compensation apparatus for horizontal synchronous signal in liquid crystal display |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211027 Address after: China Taiwan Hsinchu Science Park Hsinchu city Dusing Road No. 1 Patentee after: MEDIATEK Inc. Address before: Taiwan Hsinchu County Tai Yuan Street China jhubei City, No. 26 4 floor 1 Patentee before: MSTAR SEMICONDUCTOR Inc. |
|
TR01 | Transfer of patent right |