[go: up one dir, main page]

TWI797401B - Control circuit and control method thereof - Google Patents

Control circuit and control method thereof Download PDF

Info

Publication number
TWI797401B
TWI797401B TW108144548A TW108144548A TWI797401B TW I797401 B TWI797401 B TW I797401B TW 108144548 A TW108144548 A TW 108144548A TW 108144548 A TW108144548 A TW 108144548A TW I797401 B TWI797401 B TW I797401B
Authority
TW
Taiwan
Prior art keywords
image data
circuit
storage circuit
data
critical value
Prior art date
Application number
TW108144548A
Other languages
Chinese (zh)
Other versions
TW202123675A (en
Inventor
郝禹廸
沈子嵐
Original Assignee
新唐科技股份有限公司
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 新唐科技股份有限公司 filed Critical 新唐科技股份有限公司
Priority to TW108144548A priority Critical patent/TWI797401B/en
Priority to CN201911374373.4A priority patent/CN112929512B/en
Publication of TW202123675A publication Critical patent/TW202123675A/en
Application granted granted Critical
Publication of TWI797401B publication Critical patent/TWI797401B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Selective Calling Equipment (AREA)
  • Air Bags (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

A control circuit coupled between an image acquisition device and a display device is provided. The image acquisition device outputs a plurality of pieces of image data according to a working frequency. The control circuit includes a first transmission interface, a storage circuit, a processing circuit and a second transmission interface. The first transmission interface is configured to couple to the image acquisition device to receive the plurality of pieces of image data. The storage circuit is coupled to the first transmission interface to receive and store the plurality of pieces of image data. The processing circuit reads the plurality of pieces of image data stored in the storage circuit to generate a plurality of pieces of display data and generates the working frequency according to the number of the image data stored in the storage circuit. The second transmission interface is coupled to the processing circuit to output the plurality of pieces of display data to the display device.

Description

控制電路及其控制方法Control circuit and its control method

本發明係有關於一種控制電路,特別是有關於一種耦接於一影像擷取裝置與一顯示裝置之間的控制電路。The present invention relates to a control circuit, in particular to a control circuit coupled between an image capture device and a display device.

在目前的影像處理過程中,通常利用微處理器單元(MPU)。然而,現今微控制器單元(MCU)效能越來越強大,漸漸可進行影像處理。不過,微控制器單元的內部儲存空間有限,無法儲存大量的影像資料。In the current image processing process, a microprocessor unit (MPU) is usually utilized. However, nowadays microcontroller units (MCUs) are becoming more and more powerful and can gradually perform image processing. However, the internal storage space of the microcontroller unit is limited and cannot store a large amount of image data.

本發明提供一種控制電路,耦接於一影像擷取裝置與一顯示裝置之間。影像擷取裝置根據一工作頻率輸出複數影像資料。控制電路包括一第一傳輸介面、一儲存電路、一處理電路以及一第二傳輸介面。第一傳輸介面耦接影像擷取裝置,用以接收影像資料。儲存電路耦接第一傳輸介面,用以接收並儲存影像資料。處理電路擷取儲存電路所儲存的影像資料,用以產生複數顯示資料,並根據儲存電路所儲存的資料的數量,產生工作頻率。第二傳輸介面耦接處理電路,用以輸出顯示資料予顯示裝置。The invention provides a control circuit coupled between an image capture device and a display device. The image capture device outputs multiple image data according to a working frequency. The control circuit includes a first transmission interface, a storage circuit, a processing circuit and a second transmission interface. The first transmission interface is coupled to the image capture device for receiving image data. The storage circuit is coupled to the first transmission interface for receiving and storing image data. The processing circuit retrieves the image data stored in the storage circuit to generate multiple display data, and generates a working frequency according to the quantity of data stored in the storage circuit. The second transmission interface is coupled to the processing circuit for outputting display data to the display device.

本發明另提供一種控制方法,適用於一控制電路,並包括接收複數影像資料,其中該等影像資料係由一影像擷取裝置所提供;儲存該等影像資料於一儲存電路中;擷取該儲存電路所儲存的該等影像資料,用以產生複數顯示資料;輸出該等顯示資料予一顯示裝置;以及根據該儲存電路所儲存的資料的數量,調整該影像擷取裝置的一工作頻率。The present invention also provides a control method, which is suitable for a control circuit, and includes receiving multiple image data, wherein the image data is provided by an image capture device; storing the image data in a storage circuit; capturing the image data The image data stored in the storage circuit is used to generate multiple display data; output the display data to a display device; and adjust a working frequency of the image capture device according to the amount of data stored in the storage circuit.

本發明之控制方法可經由本發明之控制電路來實作,其為可執行特定功能之硬體或韌體,亦可以透過程式碼方式收錄於一紀錄媒體中,並結合特定硬體來實作。當程式碼被電子裝置、處理器、電腦或機器載入且執行時,電子裝置、處理器、電腦或機器變成用以實行本發明之控制電路或操作系統。The control method of the present invention can be implemented through the control circuit of the present invention, which is hardware or firmware capable of executing specific functions, and can also be recorded in a recording medium in the form of program code, and combined with specific hardware to implement . When the program code is loaded and executed by the electronic device, processor, computer or machine, the electronic device, processor, computer or machine becomes a control circuit or an operating system for implementing the present invention.

為讓本發明之目的、特徵和優點能更明顯易懂,下文特舉出實施例,並配合所附圖式,做詳細之說明。本發明說明書提供不同的實施例來說明本發明不同實施方式的技術特徵。其中,實施例中的各元件之配置係為說明之用,並非用以限制本發明。另外,實施例中圖式標號之部分重覆,係為了簡化說明,並非意指不同實施例之間的關聯性。In order to make the purpose, features and advantages of the present invention more comprehensible, the following specifically cites the embodiments, together with the accompanying drawings, for a detailed description. The description of the present invention provides different examples to illustrate the technical features of different implementations of the present invention. Wherein, the arrangement of each element in the embodiment is for illustration, not for limiting the present invention. In addition, the partial repetition of the symbols in the figures in the embodiments is for the purpose of simplifying the description, and does not imply the relationship between different embodiments.

第1圖為本發明之操作系統的示意圖。如圖所示,操作系統100包括一影像擷取裝置110、一控制電路120以及一顯示裝置130。影像擷取裝置110根據一工作頻率MCLK,感測外界的光線,並根據感測結果,產生影像資料DTI 。在一可能實施例中,影像擷取裝置110轉換工作頻率MCLK,用以產生一畫素頻率PCLK,並根據畫素頻率PCLK輸出影像資料DTI 。在本實施例中,影像擷取裝置110係以一串列方式(serial communication)輸出影像資料DTI ,但並非用以限制本發明。在其它實施例中,影像擷取裝置110係以一並列方式(parallel communication)輸出影像資料DTI 。另外,本發明並不限定影像擷取裝置110的電路架構。在一可能實施例中,影像擷取裝置110包括一感光耦合元件(Charge Coupled Device;CCD)或是一互補金屬氧化物半導體(Complementary Metal-Oxide Semiconductor;CMOS)感測元件。Fig. 1 is a schematic diagram of the operating system of the present invention. As shown in the figure, the operating system 100 includes an image capture device 110 , a control circuit 120 and a display device 130 . The image capture device 110 senses external light according to a working frequency MCLK, and generates image data DT I according to the sensing result. In a possible embodiment, the image capture device 110 converts the operating frequency MCLK to generate a pixel frequency PCLK, and outputs the image data DT I according to the pixel frequency PCLK. In this embodiment, the image capture device 110 outputs the image data DT I in a serial communication (serial communication), but this is not intended to limit the present invention. In other embodiments, the image capture device 110 outputs the image data DT I in a parallel communication manner. In addition, the present invention does not limit the circuit structure of the image capture device 110 . In a possible embodiment, the image capture device 110 includes a charge coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS) sensor.

控制電路120耦接於影像擷取裝置110與顯示裝置130之間,接收並儲存影像資料DTI 。在本實施例中,當控制電路120儲存的影像資料DTI 的數量達一目標值時,控制電路120根據本身儲存的影像資料DTI 產生顯示資料DTD 予顯示裝置130。在一可能實施例中,控制電路120直接將影像資料DTI 作為顯示資料DTD 輸出予顯示裝置130。在此例中,每當控制電路120輸出一顯示資料DTD 時,控制電路120刪除相對應的影像資料DTI 。為方便說明,以下內容係假設控制電路120直接將影像資料DTI 作為顯示資料DTD ,但並非用以限制本發明。在其它實施例中,控制電路120處理(如轉換) 影像資料DTI ,用以產生顯示資料DTDThe control circuit 120 is coupled between the image capture device 110 and the display device 130 to receive and store the image data DT I . In this embodiment, when the amount of image data DT I stored by the control circuit 120 reaches a target value, the control circuit 120 generates display data DT D to the display device 130 according to the image data DT I stored by itself. In a possible embodiment, the control circuit 120 directly outputs the image data DT I to the display device 130 as the display data DT D. In this example, whenever the control circuit 120 outputs a display data DT D , the control circuit 120 deletes the corresponding image data DT I . For convenience of description, the following content assumes that the control circuit 120 directly uses the image data DT I as the display data DT D , but this is not intended to limit the present invention. In other embodiments, the control circuit 120 processes (eg converts) the image data DT I to generate the display data DT D .

在控制電路120輸出顯示資料DTD 的同時,控制電路120仍持續接收並儲存影像資料DTI 。當控制電路120儲存的影像資料DTI 的數量大於一第一臨界值時,控制電路120降低工作頻率MCLK,用以放慢影像擷取裝置110輸出影像資料DTI 的速度。然而,當控制電路120儲存的影像資料DTI 的數量小於一第二臨界值時,控制電路120提高工作頻率MCLK,用以加快影像擷取裝置110輸出影像資料DTI 的速度。在本實施例中,控制電路120利用串列方式輸出顯示資料DTD ,但並非用以限制本發明。在其它實施例中,控制電路120利用並列方式輸出顯示資料DTD 。本發明並不限定控制電路120的架構。在一可能實施例中,控制電路120係為一微控制單元(MCU)。While the control circuit 120 is outputting the display data DT D , the control circuit 120 continues to receive and store the image data DT I . When the amount of the image data DT I stored by the control circuit 120 is greater than a first critical value, the control circuit 120 reduces the operating frequency MCLK to slow down the output speed of the image data DT I by the image capture device 110 . However, when the amount of the image data DT I stored by the control circuit 120 is less than a second critical value, the control circuit 120 increases the operating frequency MCLK to increase the output speed of the image data DT I by the image capture device 110 . In this embodiment, the control circuit 120 outputs the display data DT D in a serial manner, but this is not intended to limit the present invention. In other embodiments, the control circuit 120 outputs the display data DT D in a parallel manner. The present invention does not limit the architecture of the control circuit 120 . In a possible embodiment, the control circuit 120 is a micro control unit (MCU).

在其它實施例中,控制電路120根據畫素頻率PCLK接收影像資料DTI 。本發明並不限定工作頻率MCLK與畫素頻率PCLK之間的關係。在一可能實施例中,當控制電路120降低工作頻率MCLK時,畫素頻率PCLK也隨之下降。因此,控制電路120接收影像資料DTI 的速度變慢。在此例中,當控制電路120增加工作頻率MCLK時,畫素頻率PCLK也隨之上升。因此,控制電路120接收影像資料DTI 的速度變快。In other embodiments, the control circuit 120 receives the image data DT I according to the pixel frequency PCLK. The present invention does not limit the relationship between the working frequency MCLK and the pixel frequency PCLK. In a possible embodiment, when the control circuit 120 reduces the operating frequency MCLK, the pixel frequency PCLK also decreases accordingly. Therefore, the speed at which the control circuit 120 receives the image data DT1 becomes slower. In this example, when the control circuit 120 increases the operating frequency MCLK, the pixel frequency PCLK also increases accordingly. Therefore, the speed at which the control circuit 120 receives the image data DT1 becomes faster.

本發明並不限定控制電路120如何判斷本身所儲存的影像資料DTI 的數量是否達一目標值。在一可能實施例中,每當影像擷取裝置110輸出一影像資料DTI 後,影像擷取裝置110致能一水平同步信號Hsync。因此,控制電路120只要根據水平同步信號Hsync被致能的次數,便可得知影像資料DTI 的數量是否達一目標值。在另一可能實施例中,控制電路120係根據內部被影像資料DTI 填滿的記憶區塊的數量,得知影像資料DTI 的數量是否達一目標值。The present invention does not limit how the control circuit 120 determines whether the quantity of the image data DT1 stored by itself reaches a target value. In a possible embodiment, whenever the image capture device 110 outputs an image data DT I , the image capture device 110 enables a horizontal synchronization signal Hsync. Therefore, the control circuit 120 can know whether the quantity of the image data DT I reaches a target value according to the number of times the horizontal synchronization signal Hsync is enabled. In another possible embodiment, the control circuit 120 knows whether the quantity of the image data DT I reaches a target value according to the quantity of memory blocks filled with the image data DT I.

本發明並不限定影像資料DTI 的格式。在一可能實施例中,每一影像資料DTI 係一列影像資料。在此例中,當控制電路120根據一影像資料DTI 輸出一顯示資料DTD 時,顯示裝置130的一列畫素根據顯示資料DTD 而呈現畫面。本發明並不限定控制電路120接收影像資料DTI 的速度以及輸出顯示資料DTD 的速度。控制電路120接收影像資料DTI 的速度可能相同或不同於輸出顯示資料DTD 的速度。The present invention does not limit the format of the image data DTI . In a possible embodiment, each image data DT I is a series of image data. In this example, when the control circuit 120 outputs a display data DT D according to an image data DT I , a row of pixels of the display device 130 presents an image according to the display data DT D. The present invention does not limit the speed at which the control circuit 120 receives the image data DT I and the speed at which the display data DT D is output. The speed at which the control circuit 120 receives the image data DT I may be the same as or different from the speed at which the display data DT D is output.

在一可能實施例中,每當控制電路120接收一影像資料DTI 時,控制電路120增加一計數值。每當控制電路120輸出一顯示資料DTD 時,控制電路120減少該計數值。在此例中,計數值表示控制電路120所儲存的影像資料DTI 的數量。在其它實施例中,控制電路120每隔一固定時間,讀取計數值,並根據計數值調整工作頻率MCLK。In a possible embodiment, whenever the control circuit 120 receives an image data DT I , the control circuit 120 increases a count value. Whenever the control circuit 120 outputs a display data DT D , the control circuit 120 decreases the count value. In this example, the count value represents the number of image data DT I stored by the control circuit 120 . In other embodiments, the control circuit 120 reads the count value at regular intervals, and adjusts the operating frequency MCLK according to the count value.

當計數值大於一高臨界值(或稱第一臨界值)時,表示控制電路120所儲存的影像資料DTI 的數量偏多。因此,控制電路120降低工作頻率MCLK,用以減慢影像擷取裝置110輸出影像資料DTI 的速度。然而,當計數值小於一低臨界值(或稱第二臨界值)時,表示控制電路120所儲存的影像資料DTI 的數量偏少。因此,控制電路120增加工作頻率MCLK,用以加快影像擷取裝置110輸出影像資料DTI 的速度。When the count value is greater than a high threshold value (or called the first threshold value), it indicates that the amount of image data DT I stored in the control circuit 120 is too large. Therefore, the control circuit 120 lowers the operating frequency MCLK to slow down the speed at which the image capture device 110 outputs the image data DT I. However, when the count value is less than a low threshold value (or called the second threshold value), it means that the amount of image data DT1 stored in the control circuit 120 is too small. Therefore, the control circuit 120 increases the operating frequency MCLK to speed up the output speed of the image data DT I by the image capture device 110 .

在其它實施例中,每當影像擷取裝置110所輸出的影像資料DTI 的數量達一預設值時,影像擷取裝置110致能一垂直同步信號Vsync。舉例而言,當影像擷取裝置110輸出240筆影像資料DTI 後,影像擷取裝置110便致能垂直同步信號Vsync。在此例中,每當影像擷取裝置110輸出一筆影像資料DTI 時,影像擷取裝置110致能水平同步信號Hsync。In other embodiments, the image capture device 110 enables a vertical synchronization signal Vsync whenever the quantity of the image data DT I output by the image capture device 110 reaches a preset value. For example, after the image capture device 110 outputs 240 pieces of image data DT I , the image capture device 110 enables the vertical synchronization signal Vsync. In this example, whenever the image capture device 110 outputs a piece of image data DT I , the image capture device 110 enables the horizontal synchronization signal Hsync.

在一些實施例中,控制電路120透過一積體電路匯流排(Inter-Integrated Circuit;I2 C)125與影像擷取裝置110溝通。在此例中,控制電路120可能根據本身事先儲存的設定值,並透過積體電路匯流排125設定影像擷取裝置110輸出彩色或黑色的影像資料,或是設定影像擷取裝置110每秒輸出畫面的張數,如60張、30張或1張畫面。在一可能實施例中,每1張畫面係由複數筆(如240筆)影像資料DTI 所構成。在一些實施例中,控制電路120透過積體電路匯流排125設定影像資料DTI 的解析度。舉例而言,控制電路120可能要求影像擷取裝置110輸出解析度為320X240或640X480的影像資料,以符合顯示裝置130的解析度。In some embodiments, the control circuit 120 communicates with the image capture device 110 through an IC bus (Inter-Integrated Circuit; I 2 C) 125 . In this example, the control circuit 120 may set the image capture device 110 to output color or black image data through the integrated circuit bus 125 according to its pre-stored setting values, or set the image capture device 110 to output color or black image data per second. The number of frames, such as 60, 30 or 1 frame. In a possible embodiment, each frame is composed of a plurality of (eg 240) image data DT I. In some embodiments, the control circuit 120 sets the resolution of the image data DT I through the IC bus 125 . For example, the control circuit 120 may require the image capture device 110 to output image data with a resolution of 320×240 or 640×480 to match the resolution of the display device 130 .

顯示裝置130根據顯示資料DTD 呈現畫面。在一可能實施例中,顯示裝置130具有一i80介面(未顯示)或是一串列週邊介面(serial peripheral interface),用以接收顯示資料DTD 。本發明並不限定顯示裝置130的種類。在一可能實施例中,顯示裝置130係為一非自發光顯示器(non-self-luminous display),如液晶顯示器(LCD display)。在其它實施例中,顯示裝置130係為一自發光顯示器(self-luminous display),如有機發光二極體顯示器(Organic Light Emitting Diode Display;OLED display)。The display device 130 presents images according to the display data DT D. In a possible embodiment, the display device 130 has an i80 interface (not shown) or a serial peripheral interface for receiving the display data DT D . The present invention does not limit the type of the display device 130 . In a possible embodiment, the display device 130 is a non-self-luminous display, such as a liquid crystal display (LCD display). In other embodiments, the display device 130 is a self-luminous display (self-luminous display), such as an organic light emitting diode display (Organic Light Emitting Diode Display; OLED display).

第2圖為本發明之控制電路的一可能示意圖。如圖所示,控制電路120包括傳輸介面210、230、一處理電路220以及一儲存電路240。傳輸介面210耦接影像擷取裝置110,用以傳送影像資料DTI 、工作頻率MCLK、垂直同步信號Vsync、水平同步信號Hsync及畫素頻率PCLK。另外,傳輸介面210具有積體電路匯流排125。Figure 2 is a possible schematic diagram of the control circuit of the present invention. As shown in the figure, the control circuit 120 includes transmission interfaces 210 , 230 , a processing circuit 220 and a storage circuit 240 . The transmission interface 210 is coupled to the image capture device 110 for transmitting image data DT I , operating frequency MCLK, vertical synchronization signal Vsync, horizontal synchronization signal Hsync and pixel frequency PCLK. In addition, the transmission interface 210 has an integrated circuit bus bar 125 .

處理電路220透過傳輸介面210接收影像資料DTI ,並將影像資料DTI 寫入儲存電路240。在本實施例中,當儲存電路240所儲存的影像資料DTI 的數量達一目標值時,處理電路220開始依序讀取並輸出儲存電路240所儲存的影像資料。The processing circuit 220 receives the image data DT I through the transmission interface 210 and writes the image data DT I into the storage circuit 240 . In this embodiment, when the amount of image data DT I stored in the storage circuit 240 reaches a target value, the processing circuit 220 starts to read and output the image data stored in the storage circuit 240 in sequence.

傳輸介面230傳送顯示資料DTD 予顯示裝置130。在本實施例中,傳輸介面230係以串列方式接收顯示資料DTD ,並以串列方式輸出顯示資料DTD 予顯示裝置130,但並非用以限制本發明。在其它實施例中,傳輸介面230可能以並列方式接收處理電路220所產生顯示資料DTDThe transmission interface 230 transmits the display data DT D to the display device 130 . In this embodiment, the transmission interface 230 receives the display data DT D in a serial manner, and outputs the display data DT D to the display device 130 in a serial manner, but this is not intended to limit the present invention. In other embodiments, the transmission interface 230 may receive the display data DT D generated by the processing circuit 220 in parallel.

儲存電路240耦接處理電路220,用以儲存影像資料DTI 。在本實施例中,儲存電路240透過處理電路220,間接地接收影像資料DTI ,但並非用以限制本發明。在其它實施例中,儲存電路240直接耦接傳輸介面210,用以直接接收影像資料DTI 。本發明並不限定儲存電路240的種類。在一可能實施例中,儲存電路240係為一靜態隨機存取記憶體(SRAM)。The storage circuit 240 is coupled to the processing circuit 220 for storing the image data DT I . In this embodiment, the storage circuit 240 indirectly receives the image data DT I through the processing circuit 220 , but this is not intended to limit the present invention. In other embodiments, the storage circuit 240 is directly coupled to the transmission interface 210 for directly receiving the image data DT I . The invention does not limit the type of the storage circuit 240 . In a possible embodiment, the storage circuit 240 is a static random access memory (SRAM).

第3圖係為儲存電路240的示意圖。如圖所示,儲存電路240具有區塊BK0~BK11,用以儲存複數影像資料DTI 。在其它實施例中,儲存電路240具有其它的區塊,用以儲存其它資訊。本實施例中,區塊BK0~BK11之每一者用以儲存一筆影像資料。在此例中,區塊BK0~BK11之每一者所儲存的影像資料係為顯示裝置130的一列畫素所需的資料。在其它實施例中,每一區塊所儲存的影像資料可供複數列畫素使用,或是複數區塊所儲存的影像資料可供單一列畫素使用。FIG. 3 is a schematic diagram of the storage circuit 240 . As shown in the figure, the storage circuit 240 has blocks BK0˜BK11 for storing a plurality of image data DT I . In other embodiments, the storage circuit 240 has other blocks for storing other information. In this embodiment, each of the blocks BK0-BK11 is used to store a piece of image data. In this example, the image data stored in each of the blocks BK0˜BK11 is data required by a row of pixels of the display device 130 . In other embodiments, the image data stored in each block can be used by multiple rows of pixels, or the image data stored in multiple blocks can be used by a single row of pixels.

在本實施例中,假設儲存電路240儲存九筆影像資料DTI ,並且每一筆影像資料DTI 可填滿一區塊。因此,區塊BK0~BK8為填滿狀態,而區塊BK9~BK11為未填滿狀態。由於區塊BK0~BK8為填滿狀態,故指標IND指向區塊BK8。在此例中,當指標IND指向區塊BK5時,表示影像資料DTI 的數量已達目標值DATCAP/2。因此,處理電路220開始讀取並輸出儲存電路240所儲存的影像資料DTIIn this embodiment, it is assumed that the storage circuit 240 stores nine pieces of image data DT I , and each piece of image data DT I can fill up one block. Therefore, the blocks BK0-BK8 are in a full state, while the blocks BK9-BK11 are in an unfilled state. Since the blocks BK0~BK8 are full, the index IND points to the block BK8. In this example, when the index IND points to the block BK5, it means that the quantity of the image data DT I has reached the target value DATCAP/2. Therefore, the processing circuit 220 starts to read and output the image data DT I stored in the storage circuit 240 .

舉例而言,處理電路220可能先讀取區塊BK0所儲存的影像資料,並將區塊BK0所儲存的影像資料作為第一筆顯示資料DTD 輸出予顯示裝置130。顯示裝置130裡的第一列畫素根據第一筆的顯示資料DTD 呈現畫面。此時,指標值IND可能往下移動。然而,由於處理電路220持續寫入影像資料DTI 至儲存電路240,故指標值IND可能逐漸往上移動至區塊BK8。For example, the processing circuit 220 may read the image data stored in the block BK0 first, and output the image data stored in the block BK0 to the display device 130 as the first display data DT D. The first column of pixels in the display device 130 presents an image according to the first display data DT D. At this time, the indicator value IND may move down. However, since the processing circuit 220 continues to write the image data DT1 to the storage circuit 240, the index value IND may gradually move up to the block BK8.

當指標值IND指向區塊BK8時,表示儲存電路240所儲存的影像資料DTI 的數量已達高臨界值DATHTH。因此,處理電路220降低工作頻率MCLK,用以命令影像擷取裝置110減慢輸出影像資料DTI 的速度。然而,當指標值IND指向區塊BK1時,表示儲存電路240所儲存的影像資料DTI 的數量已低於低臨界值DATLTH。因此,處理電路220提高工作頻率MCLK,用以命令影像擷取裝置110增加輸出影像資料DTI 的速度。當指標IND位於高臨界值DATHTH與低臨界值DATLTH之間時,處理電路220不調整工作頻率MCLK。在一可能實施例中,目標值DATCAP/2係為儲存電路240用以儲存列影像資料的記憶空間DATCAP的一半。When the index value IND points to the block BK8, it means that the quantity of the image data DT I stored in the storage circuit 240 has reached the high threshold value DATHTH. Therefore, the processing circuit 220 lowers the operating frequency MCLK to instruct the image capture device 110 to slow down the speed of outputting the image data DT I. However, when the index value IND points to the block BK1, it means that the quantity of the image data DT I stored in the storage circuit 240 is lower than the low threshold value DATLTH. Therefore, the processing circuit 220 increases the operating frequency MCLK to instruct the image capture device 110 to increase the output speed of the image data DT I. When the index IND is between the high threshold DATHTH and the low threshold DATLTH, the processing circuit 220 does not adjust the working frequency MCLK. In a possible embodiment, the target value DATCAP/2 is half of the memory space DATCAP of the storage circuit 240 for storing row image data.

由於處理電路220在儲存電路240的影像資料的數量達一目標值後,便開始讀取儲存電路240所儲存的影像資料,用以提供顯示資料DTD 予顯示裝置130,故儲存電路240的記憶空間不需太大。再者,由於處理電路220動態地調整工作頻率MCLK,故可適當地控制儲存電路240所儲存的列影像資料的數量,而不會遺失影像資料DTISince the processing circuit 220 starts to read the image data stored in the storage circuit 240 after the amount of image data in the storage circuit 240 reaches a target value, in order to provide display data DT D to the display device 130, the memory of the storage circuit 240 The space does not need to be too large. Moreover, since the processing circuit 220 dynamically adjusts the operating frequency MCLK, the number of rows of image data stored in the storage circuit 240 can be properly controlled without losing the image data DT I .

在一些實施例中,當處理電路220偵測到一異常情況發生時,處理電路220執行一特定動作。舉例而言,當指標IND大於一邊界值DATFULLF(如稱第三臨界值),表示影像擷取裝置110輸出影像資料DTI 的速度太快,儲存電路240來不及儲存影像資料DTI 。因此,處理電路220可能在輸出BK0~BK11所儲存的列影像資料後,暫停提供顯示資料DTD 予顯示裝置130,直到垂直同步信號Vsync被致能。在此例中,由於處理電路220暫停刷新顯示裝置130的畫面,故顯示裝置130的某些列畫素可能呈現上一畫面。然而,在垂直同步信號Vsync被致能後,處理電路220開始輸出顯示資料DTD 予顯示裝置130,因此,使用者不易觀察到顯示裝置130呈現不正確的畫面。在其它實施例中,當儲存電路240來不及儲存影像資料DTI 時,處理電路220可能輸出特定顯示資料予顯示裝置130,用以讓顯示裝置130的某些列畫素呈現黑畫面。In some embodiments, when the processing circuit 220 detects that an abnormal situation occurs, the processing circuit 220 executes a specific action. For example, when the index IND is greater than a boundary value DATFULLF (such as the third threshold value), it means that the image capture device 110 outputs the image data DT I too fast, and the storage circuit 240 has no time to store the image data DT I . Therefore, the processing circuit 220 may suspend providing the display data DT D to the display device 130 after outputting the column image data stored in BK0-BK11 until the vertical synchronization signal Vsync is enabled. In this example, since the processing circuit 220 suspends refreshing the frame of the display device 130 , some columns of pixels of the display device 130 may present a previous frame. However, after the vertical synchronous signal Vsync is enabled, the processing circuit 220 starts to output the display data DT D to the display device 130 , so the user is not easy to observe that the display device 130 presents an incorrect picture. In other embodiments, when the storage circuit 240 has no time to store the image data DT I , the processing circuit 220 may output specific display data to the display device 130 to make certain rows of pixels of the display device 130 present black images.

同樣地,當指標IND低於另一邊界值DATEPTF(如稱第四臨界值),表示影像擷取裝置110輸出影像資料DTI 的速度太慢,儲存電路240未儲存完整的影像資料DTI 。因此,處理電路220無法提供正確的顯示資料DTD 予顯示裝置130。此時,處理電路220可能暫停擷取區塊BK0~BK11,並暫停刷新顯示裝置130的畫面。在此例中,顯示裝置130可能呈現上一畫面。在其它實施例中,處理電路220可能提供一預設影像予呈顯示裝置130,用以讓顯示裝置130暫時呈現黑畫面。此時,處理電路220可能增加工作頻率MCLK,用以加快影像擷取裝置110輸出影像資料DTI 的速度。由於影像資料DTI 的數量很快達目標值DATCAP/2,故處理電路220可立即產生顯示資料DTD 予顯示置130。由於視覺暫留的影響,並且處理電路220即時提供顯示資料DTD ,故使用者不易觀察到顯示裝置130呈現不正確的畫面。Similarly, when the index IND is lower than another boundary value DATEPTF (such as the fourth critical value), it means that the output speed of the image capture device 110 is too slow, and the storage circuit 240 has not stored the complete image data DT I . Therefore, the processing circuit 220 cannot provide correct display data DT D to the display device 130 . At this time, the processing circuit 220 may suspend capturing the blocks BK0 - BK11 and suspend refreshing the frame of the display device 130 . In this example, the display device 130 may present the previous frame. In other embodiments, the processing circuit 220 may provide a preset image to the display device 130 for temporarily displaying a black screen on the display device 130 . At this time, the processing circuit 220 may increase the operating frequency MCLK to increase the speed at which the image capture device 110 outputs the image data DT I. Since the amount of the image data DT I reaches the target value DATCAP/2 very quickly, the processing circuit 220 can immediately generate the display data DT D for the display device 130 . Due to the effect of persistence of vision and the processing circuit 220 provides the display data DT D in real time, it is difficult for the user to observe incorrect images presented by the display device 130 .

請參考第2圖,控制電路120包括一計數電路250。計數電路250具有一計數值VA。計數值VA相當於第3圖的指標IND。在此例中,處理電路220根據儲存電路240所儲存的影像資料DTI 的數量,調整計數值VA,並根據計數值VA調整工作頻率MCLK。在另一可能實施例中,計數值VA與水平同步信號Hsync被致能的次數有關。此例中,每當影像擷取裝置110致能水平同步信號Hsync時,處理電路220增加計數值VA。每當處理電路220產生一顯示資料DTD 時,處理電路220減少計數值VA。Please refer to FIG. 2 , the control circuit 120 includes a counting circuit 250 . The counting circuit 250 has a counting value VA. The count value VA corresponds to the index IND in FIG. 3 . In this example, the processing circuit 220 adjusts the count value VA according to the quantity of the image data DT I stored in the storage circuit 240, and adjusts the operating frequency MCLK according to the count value VA. In another possible embodiment, the count value VA is related to the number of times the horizontal synchronization signal Hsync is enabled. In this example, the processing circuit 220 increases the count value VA every time the image capture device 110 enables the horizontal synchronization signal Hsync. Whenever the processing circuit 220 generates a display data DT D , the processing circuit 220 decreases the count value VA.

本發明並不限定處理電路220何時調整工作頻率MCLK。在一可能實施例中,每當水平同步信號Hsync被致能時,處理電路220便根據計數值VA調整工作頻率MCLK。在其它實施例中,當水平同步信號Hsync被致能的次數達一預設值時,處理電路220便讀取計數值VA。The present invention does not limit when the processing circuit 220 adjusts the working frequency MCLK. In a possible embodiment, whenever the horizontal synchronization signal Hsync is enabled, the processing circuit 220 adjusts the operating frequency MCLK according to the count value VA. In other embodiments, when the number of times the horizontal synchronization signal Hsync is enabled reaches a preset value, the processing circuit 220 reads the count value VA.

第4圖為本發明之控制方法的一可能流程示意圖。本發明的控制方法400適用於一控制電路(如第2圖的控制電路200),用以調整一影像擷取裝置輸出影像資料的速度。在此例中,控制電路不需設置大容量的記憶體儲存影像資料。因此,可增加控制電路的可使用空間,並減少元件成本,因容量愈大,記憶體愈貴。FIG. 4 is a schematic flow chart of a possible flow of the control method of the present invention. The control method 400 of the present invention is applicable to a control circuit (such as the control circuit 200 in FIG. 2 ) for adjusting the speed at which an image capture device outputs image data. In this example, the control circuit does not need a large-capacity memory to store image data. Therefore, the usable space of the control circuit can be increased, and the cost of components can be reduced, because the larger the capacity, the more expensive the memory.

首先,進行一初始化設定(步驟S411)。在一可能實施例中,步驟S411係初始化控制電路內部的多個旗標。該等旗標用以提供不同的預設值,如第3圖的DATFULLF、DATHTH、DATCAP/2、DATLTH及DATEPTF。另外,控制電路可能根據該等旗標,設定外部的影像擷取裝置。在一可能實施例中,該等旗標的數量可能事先燒錄在控制電路中,故可省略步驟S411。First, perform an initialization setting (step S411). In a possible embodiment, step S411 is to initialize a plurality of flags inside the control circuit. These flags are used to provide different default values, such as DATFULLF, DATHTH, DATCAP/2, DATLTH and DATEPTF in Figure 3. In addition, the control circuit may set an external image capture device according to the flags. In a possible embodiment, the number of these flags may be programmed in the control circuit in advance, so step S411 may be omitted.

接收並儲存複數影像資料(步驟S412)。在一可能實施例中,該等影像資料係由一影像擷取裝置(如第1圖所示的110)所提供。影像擷取裝置可能包括CCD或是CMOS感測元件。在一些實施例中,每一筆影像資料係為一列影像資料,用以供顯示裝置的一列畫素使用。在一可能實施例中,步驟S412係將該等影像資料儲存於一儲存電路中。該儲存電路可能係為一揮發性記憶體。Receive and store multiple image data (step S412). In a possible embodiment, the image data is provided by an image capture device (such as 110 shown in FIG. 1 ). The image capture device may include a CCD or a CMOS sensor. In some embodiments, each piece of image data is a row of image data for use by a row of pixels of the display device. In a possible embodiment, step S412 is to store the image data in a storage circuit. The storage circuit may be a volatile memory.

判斷被儲存的影像資料的數量是否達一目標值(步驟S413)。在一可能實施例中,該目標值係為步驟S411所初始化的一旗標的數值,如第3圖的目標值DATCAP/2。本發明並不限定步驟S413如何判斷被儲存的影像資料的數量是否達一目標值。在一可能實施例中,每當影像擷取裝置致能一水平同步信號時,一計數值逐漸增加。因此,藉由該計數值,便可得知所儲存的影像資料的數量是否達一目標值。在其它實施例中,步驟S413係根據被影像資料填滿的記憶區塊的數量,判斷被儲存的影像資料的數量是否達一目標值。It is judged whether the quantity of the stored image data reaches a target value (step S413). In a possible embodiment, the target value is the value of a flag initialized in step S411, such as the target value DATCAP/2 in FIG. 3 . The present invention does not limit how the step S413 determines whether the quantity of the stored image data reaches a target value. In a possible embodiment, each time the image capture device enables a horizontal synchronization signal, a count value is gradually increased. Therefore, according to the count value, it can be known whether the quantity of the stored image data reaches a target value. In other embodiments, step S413 is to determine whether the number of stored image data reaches a target value according to the number of memory blocks filled with image data.

當被儲存的影像資料的數量未達目標值時,回到步驟S412,繼續接收並儲存影像資料。當儲存的影像資料的數量達目標值時,輸出一顯示資料予一顯示裝置(步驟S414)。在一可能實施例中,步驟S414係將儲存電路所儲存的影像資料作為顯示資料輸出予顯示裝置。在此例中,每當步驟S414輸出一顯示資料後,上述計數值會被減少。不過,同時只要有一影像資料被儲存,上述計數值會被增加。When the number of stored image data does not reach the target value, return to step S412 to continue receiving and storing image data. When the quantity of the stored image data reaches the target value, output a display data to a display device (step S414). In a possible embodiment, step S414 is to output the image data stored in the storage circuit to the display device as display data. In this example, each time a display data is output in step S414, the count value will be decreased. However, as long as one image data is stored at the same time, the above count value will be increased.

根據所儲存的影像資料的數量,調整影像擷取裝置輸出影像資料的速度(步驟S415)。在一可能實施例中,當影像擷取裝置致能一水平同步信號時,才會觸發步驟S415。舉例而言,在步驟S414後,如果水平同步信號未被觸發,則不進行步驟S415。在其它實施例中,當水平同步信號被致能的次數達一預設值時,才會進行步驟S415。According to the quantity of the stored image data, the speed of outputting the image data by the image capture device is adjusted (step S415). In a possible embodiment, step S415 is only triggered when the image capture device enables a horizontal synchronization signal. For example, after step S414, if the horizontal synchronization signal is not triggered, then step S415 is not performed. In other embodiments, step S415 is performed only when the number of times the horizontal synchronization signal is enabled reaches a preset value.

在本實施例中,步驟S415包括步驟S416~S419。首先,判斷所儲存的影像資料的數量是否大於一第一臨界值(步驟S416)。如果所儲存的影像資料的數量大於第一臨界值時,放慢影像擷取裝置輸出影像資料的速度(步驟S417)。在一可能實施例中,步驟S417係降低影像擷取裝置的工作頻率。在此例中,影像擷取裝置根據減少的工作頻率,減少一畫素頻率。然而,回到步驟S414,繼續讀取並轉換所儲存的影像資料。In this embodiment, step S415 includes steps S416-S419. Firstly, it is determined whether the quantity of the stored image data is greater than a first threshold (step S416). If the amount of the stored image data is greater than the first threshold, slow down the output speed of the image capture device (step S417). In a possible embodiment, step S417 is to reduce the operating frequency of the image capture device. In this example, the image capture device reduces the frequency of one pixel according to the reduced operating frequency. However, return to step S414 to continue reading and converting the stored image data.

如果所儲存的影像資料的數量未大於第一臨界值時,判斷所儲存的影像資料的數量是否小於一第二臨界值(步驟S418)。在本實施例中,第二臨界值小於第一臨界值。當所儲存的影像資料的數量小於第二臨界值時,加快影像擷取裝置輸出影像資料的速度(步驟S419)。在一可能實施例中,步驟S419係加快影像擷取裝置的工作頻率。在此例中,影像擷取裝置可能根據加快的工作頻率,增加畫素頻率。然而,回到步驟S414,繼續讀取並轉換所儲存的影像資料。If the quantity of the stored image data is not greater than the first threshold, it is determined whether the quantity of the stored image data is less than a second threshold (step S418 ). In this embodiment, the second critical value is smaller than the first critical value. When the quantity of the stored image data is less than the second threshold value, the speed of outputting the image data by the image capture device is increased (step S419 ). In a possible embodiment, step S419 is to speed up the working frequency of the image capture device. In this example, the image capture device may increase the pixel frequency according to the accelerated operating frequency. However, return to step S414 to continue reading and converting the stored image data.

在本實施例中,在開始接收影像資料(步驟S412)後,持續接收影像資料。因此,儲存電路所儲存的影像資料的數量可維持在一預設範圍內。In this embodiment, after starting to receive image data (step S412 ), continue to receive image data. Therefore, the amount of image data stored by the storage circuit can be maintained within a preset range.

第5圖為本發明之控制方法的另一流程示意圖。第5圖相似於第4圖,不同之處在於,第5圖的控制方法500多了步驟S520及521。由於步驟S511~S519相似於步驟S411~S419,故不再贅述。在本實施例中。步驟S520係判斷一異常情況是否發生。當異常情況發生時,執行一特定動作(步驟S521),然後回到步驟S512,繼續接收並儲存影像資料。當異常情況未發生時,執行步驟S515。Fig. 5 is another schematic flowchart of the control method of the present invention. FIG. 5 is similar to FIG. 4, except that the control method 500 in FIG. 5 has more steps S520 and S521. Since the steps S511-S519 are similar to the steps S411-S419, they are not repeated here. In this example. Step S520 is to determine whether an abnormal situation occurs. When an abnormal situation occurs, perform a specific action (step S521), and then return to step S512 to continue receiving and storing image data. When no abnormal situation occurs, step S515 is executed.

在一可能實施例中,異常情況係為,儲存電路所儲存的資料的數量大於一第三臨界值或是小於一第四臨界值,其中第三臨界值大於第一臨界值,第四臨界值小於第二臨界值。舉例而言,當儲存電路所儲存的影像資料的數量大於第三臨界值時,表示影像擷取裝置輸出影像資料的速度太快了,儲存電路來不及儲存影像資料。在其它實施例中,當儲存電路所儲存的影像資料的數量小於第四臨界值時,表示影像擷取裝置輸出影像資料的速度太慢了,儲存電路裡的影像資料不足以驅動顯示裝置。In a possible embodiment, the abnormal condition is that the amount of data stored in the storage circuit is greater than a third critical value or less than a fourth critical value, wherein the third critical value is greater than the first critical value, and the fourth critical value less than the second critical value. For example, when the amount of image data stored in the storage circuit is greater than the third critical value, it means that the output speed of the image capture device is too fast for the storage circuit to store the image data. In other embodiments, when the amount of image data stored in the storage circuit is less than the fourth critical value, it means that the output speed of the image capture device is too slow, and the image data in the storage circuit is not enough to drive the display device.

當上述異常情況發生時,執行一特定動作,如輸出一預設資料予顯示裝置。在此例中,顯示裝置的畫素可能呈現黑畫面(對應於預設資料)。由於視覺暫留的影像,使用者不會察覺到黑畫面。在其它實施例中,特定動作可能暫停刷新顯示裝置,也就是不輸出任何信號予顯示裝置。因此,顯示裝置呈現先前的畫面。由於本發明的控制電路將適當地調整(加快或放慢)影像擷取裝置輸出影像資料的速度,故可即時刷新顯示裝置,以避免資料過載(overrun)或是欠載(underrun)。When the above abnormal situation occurs, perform a specific action, such as outputting a preset data to the display device. In this example, the pixels of the display device may display a black frame (corresponding to default data). Due to the image persistence of vision, the user will not perceive the black screen. In other embodiments, the specific action may suspend refreshing the display device, that is, not outputting any signal to the display device. Therefore, the display device presents the previous picture. Since the control circuit of the present invention will properly adjust (speed up or slow down) the speed of outputting image data from the image capture device, it can refresh the display device in real time to avoid data overrun or underrun.

本發明之控制方法,或特定型態或其部份,可以以程式碼的型態存在。程式碼可儲存於實體媒體,如軟碟、光碟片、硬碟、或是任何其他機器可讀取(如電腦可讀取)儲存媒體,亦或不限於外在形式之電腦程式產品,其中,當程式碼被機器,如電腦載入且執行時,此機器變成用以參與本發明之控制電路。程式碼也可透過一些傳送媒體,如電線或電纜、光纖、或是任何傳輸型態進行傳送,其中,當程式碼被機器,如電腦接收、載入且執行時,此機器變成用以參與本發明之控制路。當在一般用途處理單元實作時,程式碼結合處理單元提供一操作類似於應用特定邏輯電路之獨特裝置。The control method of the present invention, or specific forms or parts thereof, may exist in the form of program codes. The code may be stored on a physical medium, such as a floppy disk, a CD, a hard disk, or any other machine-readable (such as a computer-readable) storage medium, or a computer program product without limitation in an external form, wherein, When the program code is loaded and executed by a machine, such as a computer, the machine becomes a control circuit for participating in the present invention. Code may also be sent via some transmission medium, such as wire or cable, optical fiber, or any type of transmission in which, when the code is received, loaded, and executed by a machine, such as a computer, the machine becomes the one used to participate in this Invented Control Road. When implemented on a general-purpose processing unit, the code combines with the processing unit to provide a unique device that operates similarly to application-specific logic circuits.

除非另作定義,在此所有詞彙(包含技術與科學詞彙)均屬本發明所屬技術領域中具有通常知識者之一般理解。此外,除非明白表示,詞彙於一般字典中之定義應解釋為與其相關技術領域之文章中意義一致,而不應解釋為理想狀態或過分正式之語態。Unless otherwise defined, all terms (including technical and scientific terms) used herein are to be understood by those of ordinary skill in the art to which this invention belongs. In addition, unless expressly stated, the definition of a word in a general dictionary should be interpreted as consistent with the meaning in the article in its related technical field, and should not be interpreted as an ideal state or an overly formal voice.

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾。舉例來,本發明實施例所系統、裝置或是方法可以硬體、軟體或硬體以及軟體的組合的實體實施例加以實現。因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. . For example, the system, device or method of the embodiments of the present invention can be implemented in physical embodiments of hardware, software or a combination of hardware and software. Therefore, the scope of protection of the present invention should be defined by the scope of the appended patent application.

100:操作系統 100: operating system

110:影像擷取裝置 110: image capture device

120:控制電路 120: control circuit

130:顯示裝置 130: display device

125:積體電路匯流排 125: Integrated circuit bus

210、230:傳輸介面 210, 230: transmission interface

220:處理電路 220: processing circuit

240:儲存電路 240: storage circuit

250:計數電路 250: counting circuit

400、500:控制方法 400, 500: control method

MCLK:工作頻率 MCLK: operating frequency

VA:計數值 VA: count value

DTI:影像資料 DT I : Image data

PCLK:畫素頻率 PCLK: pixel frequency

DTD:顯示資料 DT D : display data

Hsync:水平同步信號 Hsync: horizontal synchronization signal

Vsync:垂直同步信號 Vsync: vertical synchronization signal

BK0~BK11:區塊 BK0~BK11: block

IND:指標 IND: index

DATCAP/2:目標值 DATCAP/2: target value

DATHTH、DATLTH:臨界值 DATHTH, DATLTH: Threshold

DATCAP:記憶空間 DATCAP: memory space

DATFULLF、DATEPTF:邊界值 DATFULLF, DATEPTF: Boundary value

S411~S419、S511~S521:步驟 S411~S419, S511~S521: steps

第1圖為本發明之操作系統的示意圖。 第2圖為本發明之控制電路的一可能示意圖。 第3圖係為儲存電路的示意圖。 第4圖為本發明之控制方法的一可能流程示意圖。 第5圖為本發明之控制方法的另一可能流程示意圖。Fig. 1 is a schematic diagram of the operating system of the present invention. Figure 2 is a possible schematic diagram of the control circuit of the present invention. FIG. 3 is a schematic diagram of a storage circuit. FIG. 4 is a schematic flow chart of a possible flow of the control method of the present invention. FIG. 5 is a schematic diagram of another possible flow chart of the control method of the present invention.

400:控制方法400: control method

S411~S419:步驟S411~S419: steps

Claims (8)

一種控制電路,耦接於一影像擷取裝置與一顯示裝置之間,該影像擷取裝置根據一工作頻率輸出複數影像資料,該控制電路包括:一第一傳輸介面,耦接該影像擷取裝置,用以接收該等影像資料;一儲存電路,耦接該第一傳輸介面,用以接收並儲存該等影像資料;一處理電路,擷取並處理該儲存電路所儲存的該等影像資料,用以產生複數顯示資料,並根據該儲存電路所儲存的資料的數量,產生該工作頻率;以及一第二傳輸介面,耦接該處理電路,用以輸出該等顯示資料予該顯示裝置;其中當該儲存電路所儲存的資料的數量大於一第一臨界值時,該處理電路降低該工作頻率,用以放慢該影像擷取裝置輸出該影像資料的速度,當該儲存電路所儲存的資料的數量小於一第二臨界值時,該處理電路增加該工作頻率,用以加快該影像擷取裝置輸出該影像資料的速度,該第一臨界值大於該第二臨界值。 A control circuit, coupled between an image capture device and a display device, the image capture device outputs multiple image data according to an operating frequency, the control circuit includes: a first transmission interface, coupled to the image capture A device for receiving the image data; a storage circuit coupled to the first transmission interface for receiving and storing the image data; a processing circuit for retrieving and processing the image data stored in the storage circuit , used to generate a plurality of display data, and generate the operating frequency according to the amount of data stored in the storage circuit; and a second transmission interface, coupled to the processing circuit, for outputting the display data to the display device; Wherein when the amount of data stored in the storage circuit is greater than a first critical value, the processing circuit reduces the operating frequency to slow down the speed at which the image capture device outputs the image data, when the data stored in the storage circuit When the amount of data is less than a second critical value, the processing circuit increases the operating frequency to speed up the output speed of the image capture device for outputting the image data, and the first critical value is greater than the second critical value. 如申請專利範圍第1項所述之控制電路,其中該影像擷取裝置轉換該工作頻率,用以產生一畫素頻率,並提供該畫素頻率予該處理電路,該處理電路根據該畫素頻率接收該等影像資料,並將該等影像資料寫入該儲存電路。 The control circuit described in item 1 of the scope of the patent application, wherein the image capture device converts the operating frequency to generate a pixel frequency, and provides the pixel frequency to the processing circuit, and the processing circuit according to the pixel The frequency receives the image data, and writes the image data into the storage circuit. 如申請專利範圍第2項所述之控制電路,其中當該處理電路降低該工作頻率時,該影像擷取裝置降低該畫素頻率,當該處理電路增加該工作頻率時,該影像擷取裝置增加該畫素頻率。 The control circuit described in item 2 of the scope of patent application, wherein when the processing circuit reduces the operating frequency, the image capture device reduces the pixel frequency, and when the processing circuit increases the operating frequency, the image capture device Increase the pixel frequency. 如申請專利範圍第1項所述之控制電路,其中當該儲存電路所儲存的資料的數量大於一第三臨界值或是小於一第四臨界值時,該處理電路暫停擷取該儲存電路所儲存的該等影像資料,該第三臨界值大於該第一臨界值,該第四臨界值小於該第二臨界值。 The control circuit described in item 1 of the scope of the patent application, wherein when the amount of data stored in the storage circuit is greater than a third critical value or less than a fourth critical value, the processing circuit suspends the retrieval of the data stored in the storage circuit For the stored image data, the third critical value is greater than the first critical value, and the fourth critical value is smaller than the second critical value. 申請專利範圍第4項所述之控制電路,其中當該儲存電路所儲存的資料的數量大於該第三臨界值或是小於該第四臨界值時,該處理電路透過該第二傳輸介面,輸出一預設資料予該顯示裝置。 The control circuit described in item 4 of the scope of the patent application, wherein when the amount of data stored in the storage circuit is greater than the third critical value or smaller than the fourth critical value, the processing circuit outputs through the second transmission interface A default data is given to the display device. 如申請專利範圍第1項所述之控制電路,更包括:一計數電路,具有一計數值,其中該處理電路根據該儲存電路所儲存的資料的數量調整該計數值,並根據該計數值調整該工作頻率。 The control circuit described in item 1 of the scope of the patent application further includes: a counting circuit with a count value, wherein the processing circuit adjusts the count value according to the amount of data stored in the storage circuit, and adjusts the count value according to the count value The operating frequency. 一種控制方法,適用於一控制電路,並包括接收複數影像資料,其中該等影像資料係由一影像擷取裝置所提供;儲存該等影像資料於一儲存電路中;擷取並處理該儲存電路所儲存的該等影像資料,用以產生複數顯示資料;輸出該等顯示資料予一顯示裝置;以及根據該儲存電路所儲存的資料的數量,調整該影像擷取裝置的一工作頻率;其中根據該儲存電路所儲存的資料的數量,調整該影像擷取裝置的該工作頻率的步驟包括:判斷該儲存電路所儲存的資料的數量是否大於一第一臨界值;當該儲存電路所儲存的資料的數量大於該第一臨界值時,降低該工作頻率; 判斷該儲存電路所儲存的資料的數量是否小於一第二臨界值;當該儲存電路所儲存的資料的數量小於該第二臨界值時,增加該工作頻率;其中該第一臨界值大於該第二臨界值。 A control method, which is applicable to a control circuit, and includes receiving multiple image data, wherein the image data is provided by an image capture device; storing the image data in a storage circuit; capturing and processing the storage circuit The stored image data is used to generate multiple display data; output the display data to a display device; and adjust an operating frequency of the image capture device according to the amount of data stored in the storage circuit; The amount of data stored in the storage circuit, the step of adjusting the operating frequency of the image capture device includes: judging whether the amount of data stored in the storage circuit is greater than a first critical value; when the data stored in the storage circuit When the quantity is greater than the first critical value, reduce the operating frequency; judging whether the quantity of data stored in the storage circuit is less than a second critical value; when the quantity of data stored in the storage circuit is less than the second critical value, increasing the operating frequency; wherein the first critical value is greater than the second critical value Two critical values. 如申請專利範圍第7項所述之控制方法,更包括:接收一畫素頻率;以及根據該畫素頻率接收該等影像資料;其中當該工作頻率被降低時,該畫素頻率為一第一數值,當該工作頻率被增加時,該畫素頻率為一第二數值,該第一數值小於該第二數值。 The control method described in item 7 of the scope of the patent application further includes: receiving a pixel frequency; and receiving the image data according to the pixel frequency; wherein when the working frequency is reduced, the pixel frequency is a first A value, when the working frequency is increased, the pixel frequency is a second value, the first value is smaller than the second value.
TW108144548A 2019-12-05 2019-12-05 Control circuit and control method thereof TWI797401B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW108144548A TWI797401B (en) 2019-12-05 2019-12-05 Control circuit and control method thereof
CN201911374373.4A CN112929512B (en) 2019-12-05 2019-12-27 Control circuit and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108144548A TWI797401B (en) 2019-12-05 2019-12-05 Control circuit and control method thereof

Publications (2)

Publication Number Publication Date
TW202123675A TW202123675A (en) 2021-06-16
TWI797401B true TWI797401B (en) 2023-04-01

Family

ID=76162208

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108144548A TWI797401B (en) 2019-12-05 2019-12-05 Control circuit and control method thereof

Country Status (2)

Country Link
CN (1) CN112929512B (en)
TW (1) TWI797401B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI818528B (en) * 2022-04-29 2023-10-11 新唐科技股份有限公司 Control device and control method thereof
TWI854589B (en) * 2023-04-11 2024-09-01 新唐科技股份有限公司 Microcontroller circuit and boot control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200849972A (en) * 2007-06-15 2008-12-16 Holtek Semiconductor Inc Circuit and method for regulating image clock
CN101431643A (en) * 2007-11-06 2009-05-13 瑞昱半导体股份有限公司 Apparatus and method for reducing video data output speed
US8212908B2 (en) * 2008-02-27 2012-07-03 Ricoh Company, Limited Timing generator and image scanning apparatus
US8355183B2 (en) * 2001-07-31 2013-01-15 Transpacific Systems, Llc Scanning speed control device and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63201783A (en) * 1987-02-18 1988-08-19 Canon Inc Picture processing device
US20120169924A1 (en) * 2011-01-05 2012-07-05 Mediatek Inc. Video processing apparatus capable of dynamically controlling processed picture quality based on runtime memory bandwidth utilization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8355183B2 (en) * 2001-07-31 2013-01-15 Transpacific Systems, Llc Scanning speed control device and method
TW200849972A (en) * 2007-06-15 2008-12-16 Holtek Semiconductor Inc Circuit and method for regulating image clock
CN101431643A (en) * 2007-11-06 2009-05-13 瑞昱半导体股份有限公司 Apparatus and method for reducing video data output speed
US8212908B2 (en) * 2008-02-27 2012-07-03 Ricoh Company, Limited Timing generator and image scanning apparatus

Also Published As

Publication number Publication date
CN112929512A (en) 2021-06-08
CN112929512B (en) 2024-04-05
TW202123675A (en) 2021-06-16

Similar Documents

Publication Publication Date Title
TW583440B (en) Display control device of liquid crystal panel and liquid crystal display device
US20150138212A1 (en) Display driver ic and method of operating system including the same
US20150194137A1 (en) Method and apparatus for optimizing display updates on an interactive display device
TWI797401B (en) Control circuit and control method thereof
JP6601020B2 (en) Imaging display device
KR20170024920A (en) Display driving circuit and display device comprising thereof
JP2011248357A (en) Processing method, display controller, and computer readable medium
JP2019525248A (en) Reconfigurable display and method for reconfigurable display
TWI410916B (en) Method, apparatus, and computer readable medium thereof for providing a sticky overdrive to a pixel
US11250763B2 (en) Picture frame display apparatus and a display method
KR102581719B1 (en) Device and method for generating luminance compensation data based on mura characteristic and device and method for performing luminance compensation
US20240046842A1 (en) Display device and method for driving pixels by processing image data
CN114982250B (en) Signal processing method and device and display device
US10154217B2 (en) Imaging apparatus, image processing apparatus, and imaging display apparatus
TWI616093B (en) Display system
US20090009507A1 (en) Display controller and method of controlling the same
JP2020024380A (en) Display device and method for controlling the same
TWI774100B (en) Video processor chip and video processing method
US20230136973A1 (en) Display device, and method of operating a display device
CN100557685C (en) Image display method
CN100353415C (en) Display Controller and Related Methods
JP2008058856A (en) Display device
US20130120333A1 (en) Method of establishing look-up table for electrophoretic display and device thereof
CN116343711A (en) Display device and picture burn-in preventing method thereof
TW202326659A (en) Display apparatus and method for preventing image sticking thereof