TW201320089A - Self-test driver circuit - Google Patents
Self-test driver circuit Download PDFInfo
- Publication number
- TW201320089A TW201320089A TW100140896A TW100140896A TW201320089A TW 201320089 A TW201320089 A TW 201320089A TW 100140896 A TW100140896 A TW 100140896A TW 100140896 A TW100140896 A TW 100140896A TW 201320089 A TW201320089 A TW 201320089A
- Authority
- TW
- Taiwan
- Prior art keywords
- programmable data
- signal
- data
- self
- register
- Prior art date
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
Abstract
Description
本發明內容是有關於一種驅動電路,且特別是有關於一種可程式化之驅動電路。SUMMARY OF THE INVENTION The present invention is directed to a drive circuit and, more particularly, to a programmable drive circuit.
液晶顯示器具有輕薄、耗電小等優點,且近年來已被廣泛地應用於筆記型電腦、行動電話、個人數位助理(PDA)等現代化資訊設備中。Liquid crystal displays have the advantages of being thin and light, and low in power consumption, and have been widely used in modern information devices such as notebook computers, mobile phones, and personal digital assistants (PDAs) in recent years.
由於液晶顯示器能與半導體製程技術相容,因此其已迅速擴及各範圍的應用層面,甚至已經成為平面顯示器的主流。在液晶顯示器中,驅動積體電路(IC)為重要的零組件之一,其佔液晶顯示器的成本比重相當高。因此,如何確保驅動IC的品質,實為決定平面顯示器優劣的一大關鍵。Since liquid crystal displays are compatible with semiconductor process technology, they have rapidly expanded to a wide range of application levels and have even become mainstream in flat panel displays. In a liquid crystal display, driving an integrated circuit (IC) is one of the important components, which accounts for a relatively high cost of the liquid crystal display. Therefore, how to ensure the quality of the driver IC is a key to determining the pros and cons of the flat panel display.
以目前對驅動IC進行程式化(或稱燒錄)的過程而言,其主要是將辨識碼(ID code)、共同電壓值(VCOM)、...等所需參數,以程式化(或稱燒錄)的方式寫入驅動IC中,接著再透過對應的傳輸介面將所需參數自驅動IC中讀取出來。前述傳輸介面可以是序列周邊介面(Serial Peripheral Interface,SPI)、行動產業處理器介面(Mobile Industry Processor Interface,MIPI)或行動顯示數位介面(Mobile Display Digital Interface,MDDI)、...等對應的傳輸介面。In the current process of programming (or burning) the driver IC, it mainly programs the required parameters such as ID code, common voltage value (VCOM), etc. (or The method of burning is written into the driver IC, and then the required parameters are read from the driver IC through the corresponding transmission interface. The foregoing transmission interface may be a corresponding transmission of a Serial Peripheral Interface (SPI), a Mobile Industry Processor Interface (MIPI), or a Mobile Display Digital Interface (MDDI), etc. interface.
然而,由於上述MIPI及MDDI等傳輸介面均是屬於高速串列的傳輸介面,因此通常需要先利用介面轉換裝置(如:bridge IC)將上述所需參數讀取出來,而後才能進行資料傳輸,並藉此判定寫入之參數是否正確。如此一來,卻使判得斷寫入之參數是否正確的測試過程相當繁複。However, since the above-mentioned MIPI and MDDI transmission interfaces are all high-speed serial transmission interfaces, it is usually necessary to first read out the required parameters by using an interface conversion device (for example, bridge IC), and then data transmission is performed. This determines whether the written parameters are correct. As a result, the test process that determines whether the parameters written correctly are correct is quite complicated.
為此,有必要提出一種驅動電路或測試方法,藉此供方便且簡易地測試程式化(或稱燒錄)的參數是否正確。For this reason, it is necessary to propose a driving circuit or a test method for conveniently and easily testing whether the parameters of the stylized (or burned) are correct.
本發明內容之一技術樣態是在提供一種自測試驅動電路,藉此簡化對驅動電路進行測試的過程。One aspect of the present invention is to provide a self test drive circuit whereby the process of testing the drive circuit is simplified.
本發明內容之一實施方式係關於一種自測試驅動電路,其包含一第一暫存器、一第二暫存器以及一比較器。第一暫存器用以儲存一第一可程式化資料。第二暫存器用以儲存與第一可程式化資料預設相同之一第二可程式化資料。比較器用以於一程式化過程之後比較第一可程式化資料以及第二可程式化資料,並於第一可程式化資料與第二可程式化資料不相同時產生一錯誤信號。One embodiment of the present invention is directed to a self test drive circuit including a first register, a second register, and a comparator. The first register is configured to store a first programmable data. The second register is configured to store one of the second programmable data that is the same as the first programmable data preset. The comparator is configured to compare the first programmable data and the second programmable data after a stylization process, and generate an error signal when the first programmable data and the second programmable data are different.
在本發明一實施例中,自測試驅動電路更包含一記憶體。記憶體用以於程式化過程中經程式化而儲存與第一可程式化資料或第二可程式化資料預設相同之一第三可程式化資料,並將第三可程式化資料載入第二暫存器。In an embodiment of the invention, the self test drive circuit further includes a memory. The memory is programmed to store a third executable data that is identical to the first programmable data or the second programmable data preset during the stylization process, and load the third programmable data The second register.
當記憶體經程式化而儲存之第三可程式化資料與第一可程式化資料不相同或是與第二可程式化資料不相同時,比較器可產生錯誤信號。The comparator can generate an error signal when the third programmable data stored in the memory is not the same as the first programmable data or is different from the second programmable data.
在本發明另一實施例中,比較器係於第一可程式化資料與第二可程式化資料相同時產生一正確信號。錯誤信號可為一具有工作週期比為N:1之時脈信號或是一低位準信號,而正確信號可為一具有工作週期比為1:1之時脈信號或是一高位準信號,其中N為大於1之正整數。In another embodiment of the invention, the comparator generates a correct signal when the first programmable data is identical to the second programmable data. The error signal can be a clock signal having a duty cycle ratio of N:1 or a low level signal, and the correct signal can be a clock signal having a duty cycle ratio of 1:1 or a high level signal, wherein N is a positive integer greater than one.
在本發明一實施例中,自測試驅動電路更包含一多工器。多工器用以處理錯誤信號以及一資料傳輸啟動信號,以選擇性地輸出錯誤信號和資料傳輸啟動信號中之一者。In an embodiment of the invention, the self test drive circuit further includes a multiplexer. The multiplexer is configured to process the error signal and a data transmission enable signal to selectively output one of the error signal and the data transmission enable signal.
本發明內容之另一技術樣態是在提供一種自測試驅動電路中之測試方法,藉此簡化對寫入驅動電路之資料進行測試的過程。Another aspect of the present invention is to provide a test method in a self test drive circuit whereby the process of testing the data written to the drive circuit is simplified.
本發明內容之另一實施方式係關於一種自測試驅動電路中之測試方法,其包含下列步驟。寫入一第一可程式化資料,並儲存與第一可程式化資料預設相同之一第二可程式化資料。此外,於一程式化過程之後,比較第一可程式化資料以及第二可程式化資料。當第一可程式化資料與第二可程式化資料不相同時,產生一錯誤信號。當第一可程式化資料與該第二可程式化資料相同時,產生一正確信號。Another embodiment of the present invention is directed to a test method in a self test drive circuit that includes the following steps. Writing a first programmable data and storing a second programmable data that is the same as the first programmable data preset. In addition, after the stylization process, the first programmable data and the second programmable data are compared. When the first programmable data is different from the second programmable data, an error signal is generated. When the first programmable data is identical to the second programmable data, a correct signal is generated.
在本發明一實施例中,儲存第二可程式化資料的步驟更包含下列步驟。首先,對一記憶體進行程式化,以儲存與第一可程式化資料或第二可程式化資料預設相同之一第三可程式化資料。接著,載入第三可程式化資料作為第二可程式化資料。當第三可程式化資料與第一可程式化資料不相同或是與第二可程式化資料不相同時,產生錯誤信號。In an embodiment of the invention, the step of storing the second programmable material further comprises the following steps. First, a memory is programmed to store a third programmable data that is identical to the first programmable data or the second programmable data. Next, the third programmable data is loaded as the second programmable data. An error signal is generated when the third programmable data is different from the first programmable data or different from the second programmable data.
在本發明另一實施例中,錯誤信號係為一具有工作週期比為N:1之時脈信號或是一低位準信號,正確信號係為一具有工作週期比為1:1之時脈信號或是一高位準信號,其中N為大於1之正整數。In another embodiment of the present invention, the error signal is a clock signal having a duty cycle ratio of N:1 or a low level signal, and the correct signal is a clock signal having a duty cycle ratio of 1:1. Or a high level signal, where N is a positive integer greater than one.
根據本發明之技術內容,應用前述自測試驅動電路及其中之測試方法,無論是驅動電路進行程式化的過程發生錯誤,或是驅動電路中的資料讀取過程發生錯誤,均可直接透過自測試驅動電路所輸出的信號,判別驅動電路於程式化過程中是否正確無誤,並可同時得知程式化的資料是否正確。According to the technical content of the present invention, the self-test driving circuit and the testing method thereof are applied, and no error occurs in the process of programming the driving circuit, or an error occurs in the data reading process in the driving circuit, and the self-test can be directly passed. The signal outputted by the driving circuit determines whether the driving circuit is correct during the stylization process, and can simultaneously know whether the stylized data is correct.
下文係舉實施例配合所附圖式作詳細說明,但所提供之實施例並非用以限制本發明所涵蓋的範圍,而結構運作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本發明所涵蓋的範圍。此外,圖式僅以說明為目的,並未依照原尺寸作圖。The embodiments are described in detail below with reference to the accompanying drawings, but the embodiments are not intended to limit the scope of the invention, and the description of the structure operation is not intended to limit the order of execution, any component recombination The structure, which produces equal devices, is within the scope of the present invention. In addition, the drawings are for illustrative purposes only and are not drawn to the original dimensions.
關於本文中所使用之『約』、『大約』或『大致』一般通常係指數值之誤差或範圍於百分之二十以內,較好地是於百分之十以內,而更佳地則是於百分之五以內。文中若無明確說明,其所提及的數值皆視作為近似值,即如『約』、『大約』或『大致』所表示的誤差或範圍。As used herein, "about", "about" or "substantially" generally means that the error or range of the index value is within 20%, preferably within 10%, and more preferably It is within 5 percent. In the text, unless otherwise stated, the numerical values referred to are regarded as approximations, that is, the errors or ranges indicated by "about", "about" or "roughly".
另外,關於本文中所使用之『耦接』及『連接』,均可指二或多個元件相互直接作實體接觸或電性接觸,或是相互間接作實體接觸或電性接觸,而『耦接』還可指二或多個元件相互操作或動作。In addition, as used herein, "coupled" and "connected" may mean that two or more elements are in direct physical or electrical contact with each other, or indirectly in physical or electrical contact with each other. It can also mean that two or more components operate or act in each other.
第1圖係依照本發明一實施例所繪示之一種自測試驅動電路的示意圖。此自測試驅動電路100可於一程式化(programming)(或燒錄)過程被編程(或燒入)相關的所需資料(包括辨識碼、共同電壓、...等所需參數或設定值),然後自行比對或測試被編程的資料是否有誤,因此被編程的資料可直接在自測試驅動電路100中被判定是否正確,而不需先被讀取出來後才能被判定是否正確。FIG. 1 is a schematic diagram of a self-test driving circuit according to an embodiment of the invention. The self-test driving circuit 100 can be programmed (or burned) into a required data (including identification code, common voltage, ..., etc.) or a desired value in a programming (or burning) process. Then, it is self-aligned or tested whether the programmed data is incorrect, so the programmed data can be directly determined in the self-test driving circuit 100, and it can be determined whether it is correct without being read first.
關於本文中所使用之『程式化』,其亦可稱『燒錄』,兩者均可指一種程式化的方式,其包括一種將資料作程式編碼後寫入的動作或步驟。As used herein, "programming", which can also be referred to as "burning", can refer to a stylized approach that includes an action or step of encoding a data program.
在實作上,此自測試驅動電路100可以是應用於液晶顯示器中的驅動積體電路(IC),也可以是應用於其它裝置中的驅動積體電路;換言之,自測試驅動電路100可依實際需求應用於任何電子裝置中。In practice, the self-test driving circuit 100 may be a driving integrated circuit (IC) applied to a liquid crystal display, or may be a driving integrated circuit applied to other devices; in other words, the self-test driving circuit 100 may be The actual needs are applied to any electronic device.
如第1圖所示,自測試驅動電路100包含一第一暫存器110、一第二暫存器120以及一比較器130。比較器130的輸入端耦接於第一暫存器110和第二暫存器120的輸出端。第一暫存器110係用以儲存一第一可程式化資料D1。第二暫存器120係用以儲存與第一可程式化資料D1預設相同之一第二可程式化資料D2。比較器130則用以於一程式化過程之後,比較第一可程式化資料D1以及第二可程式化資料D2,並據以產生一判定信號MTR。As shown in FIG. 1 , the self test drive circuit 100 includes a first register 110 , a second register 120 , and a comparator 130 . The input end of the comparator 130 is coupled to the output ends of the first register 110 and the second register 120. The first register 110 is configured to store a first programmable data D1. The second register 120 is configured to store a second programmable data D2 that is the same as the preset of the first programmable data D1. The comparator 130 is configured to compare the first programmable data D1 and the second programmable data D2 after a stylization process, and accordingly generate a determination signal MTR.
上述及下列『可程式化資料』可以是程式化過程中寫入的資料,也可以是程式化過程之前即預先儲存的資料,具體而言,可程式化資料可以是暫存器所預先儲存的資料。舉例來說,上述第一可程式化資料D1可以是預先儲存於第一暫存器110中的資料。是故,上述所稱『可程式化資料』亦可稱為『暫存器資料』,亦即第一暫存器110係用以儲存第一暫存器資料,且第二暫存器120係用以儲存第二暫存器資料。The above and the following "programmable data" may be data written during the stylization process, or may be pre-stored before the stylization process. Specifically, the stylized data may be pre-stored by the temporary register. data. For example, the first programmable data D1 may be data stored in the first temporary storage unit 110 in advance. Therefore, the above-mentioned "programmable data" may also be referred to as "storage data", that is, the first register 110 is used to store the first register data, and the second register 120 is Used to store the second register data.
換言之,上述及下列所稱『可程式化資料』僅為例示之用語,並非用以限定發明,本領域具通常知識者可以在不脫離本發明之精神和範圍內,依據實際需求使用暫存器儲存相對應之資料。In other words, the above-mentioned and the following "programmable materials" are merely illustrative and are not intended to limit the invention, and those skilled in the art can use the temporary storage device according to actual needs without departing from the spirit and scope of the present invention. Store the corresponding information.
實作上,第一暫存器110與第二暫存器120可以相同或相異,而第一可程式化資料D1與第二可程式化資料D2係包括辨識碼、共同電壓、...等所需參數或設定值。In practice, the first register 110 and the second register 120 may be the same or different, and the first programmable data D1 and the second programmable data D2 include an identification code, a common voltage, ... Wait for the required parameters or set values.
操作上,第一可程式化資料D1可以在程式化過程中,從驅動電路100外部之一多次可程式化(Multiple-Time Programming,MTP)裝置(未繪示)寫入第一暫存器110中。另外,第二可程式化資料D2可先從多次可程式化裝置經編程(或稱燒入)進自測試驅動電路100,然後再載入第二暫存器120中。接著,在程式化過程之後,比較器130再比較第一可程式化資料D1和第二可程式化資料D2,並藉由自測試驅動電路100的硬體接腳輸出判定信號MTR,藉此供判定第一可程式化資料D1與第二可程式化資料D2是否相同。如此一來,便可直接透過自測試驅動電路100所輸出的信號,判別驅動電路100於程式化過程中是否正確無誤,並同時得知程式化的資料是否正確。In operation, the first programmable data D1 can be written into the first temporary register from a multiple-time programming (MTP) device (not shown) outside the driving circuit 100 during the stylization process. 110. In addition, the second programmable data D2 can be programmed (or burned) from the plurality of programmable devices into the self-test drive circuit 100 and then loaded into the second register 120. Then, after the stylization process, the comparator 130 compares the first programmable data D1 and the second programmable data D2, and outputs a determination signal MTR from the hardware pin of the test driving circuit 100. It is determined whether the first programmable data D1 and the second programmable data D2 are the same. In this way, the signal output from the test drive circuit 100 can be directly determined whether the drive circuit 100 is correct during the stylization process, and at the same time, whether the stylized data is correct.
在一實施例中,當第一可程式化資料D1與第二可程式化資料D2不相同時,判定信號MTR為一錯誤信號。當第一可程式化資料D1與第二可程式化資料D2相同時,判定信號MTR為一正確信號。In an embodiment, when the first programmable data D1 and the second programmable data D2 are different, the determination signal MTR is an error signal. When the first programmable data D1 is identical to the second programmable data D2, the determination signal MTR is a correct signal.
在一實施例中,當判定信號MTR為錯誤信號時,此錯誤信號可為一具有工作週期比(duty cycle ratio)為N:1之時脈信號或是一低位準信號,其中N為大於1之正整數;而當判定信號MTR為正確信號時,此正確信號可為一具有工作週期比為1:1之時脈信號或是一高位準信號。上述錯誤信號與正確信號僅為舉例並用以供方便判定而已,並非用以限定本發明。換言之,本領域具通常知識者均可依據實際需求,採用各種可供區別或判定的信號,藉此區分錯誤信號與正確信號。In an embodiment, when the determination signal MTR is an error signal, the error signal may be a clock signal having a duty cycle ratio of N:1 or a low level signal, where N is greater than 1 A positive integer; and when the decision signal MTR is a correct signal, the correct signal can be a clock signal having a duty cycle ratio of 1:1 or a high level signal. The above error signals and correct signals are merely examples and are used for convenience determination, and are not intended to limit the present invention. In other words, those skilled in the art can use various signals that can be distinguished or determined according to actual needs, thereby distinguishing between an error signal and a correct signal.
第2圖係依照本發明另一實施例所繪示之一種自測試驅動電路的示意圖。在本實施例中,自測試驅動電路200包含第一暫存器210、第二暫存器220、比較器230以及一記憶體240。比較器230的輸入端耦接於第一暫存器210和第二暫存器220的輸出端,且第二暫存器220的輸入端耦接於記憶體240的輸出端。2 is a schematic diagram of a self-test driving circuit according to another embodiment of the present invention. In the present embodiment, the self test drive circuit 200 includes a first register 210, a second register 220, a comparator 230, and a memory 240. The input end of the comparator 230 is coupled to the output of the first register 210 and the second register 220, and the input of the second register 220 is coupled to the output of the memory 240.
類似上述,第一暫存器210和第二暫存器220分別用以儲存第一可程式化資料D1和第二可程式化資料D2,而比較器230用以於程式化過程之後比較第一可程式化資料D1和第二可程式化資料D2,並據以產生判定信號MTR。此外,記憶體240係用以於程式化過程中經程式化而儲存與第一可程式化資料D1或第二可程式化資料D2預設相同之一第三可程式化資料D3,並於程式化過程之後將第三可程式化資料D3載入第二暫存器220,使得第三可程式化資料D3可作為第二可程式化資料D2。Similarly, the first register 210 and the second register 220 are respectively configured to store the first programmable data D1 and the second programmable data D2, and the comparator 230 is used to compare the first after the stylization process. The data D1 and the second programmable data D2 can be programmed and the decision signal MTR is generated accordingly. In addition, the memory 240 is configured to be programmed to store a third programmable data D3 that is identical to the first programmable data D1 or the second programmable data D2 during the stylization process. The third programmable data D3 is loaded into the second register 220 after the process, so that the third programmable data D3 can be used as the second programmable data D2.
實作上,第一暫存器210與第二暫存器220可以相同或相異,記憶體240可為一非揮發性記憶體(Non-volatile memory,NVM),而第一可程式化資料D1、第二可程式化資料D2與第三可程式化資料D3係包括辨識碼、共同電壓、...等所需參數或設定值。In practice, the first register 210 and the second register 220 can be the same or different, and the memory 240 can be a non-volatile memory (NVM), and the first programmable data D1, the second programmable data D2 and the third programmable data D3 include required parameters or set values such as identification code, common voltage, and the like.
操作上,第一可程式化資料D1可以在程式化過程中,從驅動電路200外部的多次可程式化裝置(未繪示)寫入第一暫存器210中,或者第一可程式化資料D1可預先儲存於第一暫存器210中,而第三可程式化資料D3可同時在記憶體240被程式化的過程中,從多次可程式化裝置經編程(或稱燒入)進記憶體240。舉例來說,資料可從第一暫存器210經編程(或稱燒入)進記憶體240,使得記憶體240儲存第三可程式化資料D3。In operation, the first programmable data D1 can be written into the first temporary memory 210 from a plurality of programmable devices (not shown) external to the driving circuit 200 during the stylization process, or can be first programmable. The data D1 can be pre-stored in the first register 210, and the third programmable data D3 can be programmed (or burned) from the plurality of programmable devices simultaneously during the programming of the memory 240. Into the memory 240. For example, the data can be programmed (or burned) from the first register 210 into the memory 240 such that the memory 240 stores the third programmable data D3.
接著在程式化過程之後,第三可程式化資料D3可由記憶體240載入至第二暫存器220中,使得第二暫存器220可儲存第二可程式化資料D2。然後,比較器230再比較第一可程式化資料D1和第二可程式化資料D2,並藉由自測試驅動電路200的硬體接腳輸出判定信號MTR,藉此供判定第一可程式化資料D1是否與第二可程式化資料D2或第三可程式化資料D3相同。Then, after the stylization process, the third programmable data D3 can be loaded into the second register 220 by the memory 240, so that the second register 220 can store the second programmable data D2. Then, the comparator 230 compares the first programmable data D1 and the second programmable data D2, and outputs a determination signal MTR from the hardware pin of the test driving circuit 200, thereby determining the first programmable Whether the data D1 is the same as the second programmable data D2 or the third programmable data D3.
舉例來說,在資料D3預設為與資料D1相同的情形下,當程式化過程或資料讀取過程正確時,則經編程(或稱燒入)進記憶體240的資料D3當然與資料D1相同,且資料D3也會與資料D2相同,使得資料D1與資料D2相同,比較器230所產生之判定信號MTR為正確信號。For example, in the case where the data D3 is preset to be the same as the data D1, when the stylization process or the data reading process is correct, the data D3 programmed (or burned) into the memory 240 is of course related to the data D1. The same, and the data D3 will be the same as the data D2, so that the data D1 is the same as the data D2, and the determination signal MTR generated by the comparator 230 is the correct signal.
其次,當程式化過程發生錯誤,使得經編程(或稱燒入)進記憶體240的資料D3與資料D1不相同時,即使資料讀取過程正確而使得資料D3與資料D2相同,則資料D1與資料D2仍不相同,因此比較器230所產生之判定信號MTR為錯誤信號。Secondly, when an error occurs in the stylization process, so that the data D3 programmed (or burned) into the memory 240 is different from the data D1, even if the data reading process is correct and the data D3 is the same as the data D2, the data D1 Still different from the data D2, the decision signal MTR generated by the comparator 230 is an error signal.
再者,當程式化過程正確時,若是資料讀取過程發生錯誤而使得資料D3與資料D2不相同的話,則資料D1與資料D2仍不相同,因此比較器230所產生之判定信號MTR仍為錯誤信號。Moreover, when the stylization process is correct, if the data reading process is incorrect and the data D3 is different from the data D2, the data D1 and the data D2 are still different, so the determination signal MTR generated by the comparator 230 is still Error signal.
如此一來,無論是可程式化裝置對驅動電路200進行程式化的過程發生錯誤,或是驅動電路200中的資料讀取過程發生錯誤,均可直接透過驅動電路200所輸出的信號,判別驅動電路200於程式化過程中是否正確無誤,並同時得知程式化的資料是否正確。In this way, whether the programming of the driver circuit 200 by the programmable device is wrong, or an error occurs in the data reading process of the driving circuit 200, the signal output from the driving circuit 200 can be directly transmitted to determine the driving. The circuit 200 is correct during the stylization process, and at the same time, it is known whether the stylized data is correct.
在本實施例中,當判定信號MTR為錯誤信號時,此錯誤信號可為一具有工作週期比(duty cycle ratio)為N:1之時脈信號或是一低位準信號,其中N為大於1之正整數;而當判定信號MTR為正確信號時,此正確信號可為一具有工作週期比為1:1之時脈信號或是一高位準信號。上述錯誤信號與正確信號僅為舉例並用以供方便判定而已,並非用以限定本發明。換言之,本領域具通常知識者均可依據實際需求,採用各種可供區別或判定的信號,藉此區分錯誤信號與正確信號。In this embodiment, when the determination signal MTR is an error signal, the error signal may be a clock signal having a duty cycle ratio of N:1 or a low level signal, where N is greater than 1 A positive integer; and when the decision signal MTR is a correct signal, the correct signal can be a clock signal having a duty cycle ratio of 1:1 or a high level signal. The above error signals and correct signals are merely examples and are used for convenience determination, and are not intended to limit the present invention. In other words, those skilled in the art can use various signals that can be distinguished or determined according to actual needs, thereby distinguishing between an error signal and a correct signal.
第3圖係依照本發明又一實施例所繪示之一種自測試驅動電路的示意圖。在本實施例中,自測試驅動電路300包含第一暫存器310、第二暫存器320、比較器330、記憶體340以及一多工器350。比較器330的輸入端耦接於第一暫存器310和第二暫存器320的輸出端,且第二暫存器320的輸入端耦接於記憶體340的輸出端。多工器350的輸入端則耦接比較器330的輸出端,用以接收比較器330所輸出的判定信號MTR,並另外接收一資料傳輸啟動信號TE。FIG. 3 is a schematic diagram of a self-test driving circuit according to another embodiment of the present invention. In the present embodiment, the self test drive circuit 300 includes a first register 310, a second register 320, a comparator 330, a memory 340, and a multiplexer 350. The input end of the comparator 330 is coupled to the output of the first register 310 and the second register 320, and the input of the second register 320 is coupled to the output of the memory 340. The input end of the multiplexer 350 is coupled to the output of the comparator 330 for receiving the decision signal MTR output by the comparator 330 and additionally receiving a data transmission enable signal TE.
類似上述,第一暫存器310和第二暫存器320分別用以儲存第一可程式化資料D1和第二可程式化資料D2,而比較器330用以於程式化過程之後比較第一可程式化資料D1和第二可程式化資料D2,並據以產生判定信號MTR。此外,記憶體340係用以於程式化過程中經程式化而儲存與第一可程式化資料D1或第二可程式化資料D2預設相同之第三可程式化資料D3,並於程式化過程之後將第三可程式化資料D3載入第二暫存器220,使得第三可程式化資料D3可作為第二可程式化資料D2。另外,多工器350則用以對判定信號MTR及資料傳輸啟動信號TE進行處理,以在相對應的情形下選擇性地輸出兩信號中之一者;換言之,多工器350係作切換而輸出判定信號MTR或是輸出資料傳輸啟動信號TE。Similarly, the first register 310 and the second register 320 are respectively configured to store the first programmable data D1 and the second programmable data D2, and the comparator 330 is used to compare the first after the stylization process. The data D1 and the second programmable data D2 can be programmed and the decision signal MTR is generated accordingly. In addition, the memory 340 is used to programmatically store the third programmable data D3 that is the same as the preset of the first programmable data D1 or the second programmable data D2 during the stylization process, and is programmed. The third programmable data D3 is loaded into the second register 220 after the process, so that the third programmable data D3 can be used as the second programmable data D2. In addition, the multiplexer 350 is configured to process the determination signal MTR and the data transmission enable signal TE to selectively output one of the two signals in a corresponding situation; in other words, the multiplexer 350 is switched. The output determination signal MTR or the output data transmission enable signal TE.
在實作上,第一暫存器310與第二暫存器320可以相同或相異,記憶體340可為一非揮發性記憶體(Non-volatile memory,NVM),而第一可程式化資料D1、第二可程式化資料D2與第三可程式化資料D3係包括辨識碼、共同電壓、...等所需參數或設定值。In practice, the first register 310 and the second register 320 may be the same or different, and the memory 340 may be a non-volatile memory (NVM), and the first programmable The data D1, the second programmable data D2, and the third programmable data D3 include required parameters or set values such as identification code, common voltage, and the like.
操作上,第一可程式化資料D1可以在程式化過程中,從驅動電路300外部的多次可程式化裝置(未繪示)寫入第一暫存器310中,或者第一可程式化資料D1可預先儲存於第一暫存器310中,而同時第三可程式化資料D3可以經程式化過程從多次可程式化裝置經編程(或稱燒入)進記憶體340。舉例來說,資料可從第一暫存器310經編程(或稱燒入)進記憶體340,使得記憶體340儲存第三可程式化資料D3。In operation, the first programmable data D1 can be written into the first temporary register 310 from a plurality of programmable devices (not shown) external to the driving circuit 300 during the stylization process, or can be first programmable. The data D1 can be pre-stored in the first register 310, while the third programmable data D3 can be programmed (or burned) into the memory 340 from the plurality of programmable devices via a stylization process. For example, the data can be programmed (or burned) from the first register 310 into the memory 340 such that the memory 340 stores the third programmable data D3.
接著在程式化過程之後,第三可程式化資料D3可由記憶體340載入至第二暫存器320中,使得第二暫存器320可儲存第二可程式化資料D2。然後,比較器330再比較第一暫存器310中的第一可程式化資料D1和第二暫存器320中的第二可程式化資料D2,並藉由自測試驅動電路300的硬體接腳輸出判定信號MTR,藉此供判定第一可程式化資料D1是否與第二可程式化資料D2或第三可程式化資料D3相同。Then, after the stylization process, the third programmable data D3 can be loaded into the second register 320 by the memory 340, so that the second register 320 can store the second programmable data D2. Then, the comparator 330 compares the first programmable data D1 in the first temporary register 310 with the second programmable data D2 in the second temporary storage 320, and the hardware of the self-test driving circuit 300 The pin outputs a decision signal MTR, thereby determining whether the first programmable data D1 is identical to the second programmable data D2 or the third programmable data D3.
同上所述,在資料D3預設為與資料D1相同的情形下,當程式化過程或資料讀取過程正確時,比較器330所產生之判定信號MTR為正確信號;當程式化過程發生錯誤,使得經編程(或稱燒入)進記憶體340的資料D3與資料D1不相同時,比較器330所產生之判定信號MTR為錯誤信號;當資料讀取過程發生錯誤而使得資料D3與資料D2不相同時,比較器330所產生之判定信號MTR仍為錯誤信號。As described above, in the case where the data D3 is preset to be the same as the data D1, when the stylization process or the data reading process is correct, the determination signal MTR generated by the comparator 330 is a correct signal; when an error occurs in the stylization process, When the data D3 programmed (or burned) into the memory 340 is different from the data D1, the determination signal MTR generated by the comparator 330 is an error signal; when an error occurs in the data reading process, the data D3 and the data D2 are caused. When not the same, the decision signal MTR generated by the comparator 330 is still an error signal.
如此一來,無論是可程式化裝置對驅動電路300進行程式化的過程發生錯誤,或是驅動電路300中的資料讀取過程發生錯誤,均可直接透過驅動電路300所輸出的信號,判別驅動電路300於程式化過程中是否正確無誤,並同時得知程式化的資料是否正確。In this way, whether the programming of the driver circuit 300 by the programmable device is wrong, or an error occurs in the data reading process of the driving circuit 300, the signal output from the driving circuit 300 can be directly transmitted to determine the driving. The circuit 300 is correct during the stylization process, and at the same time, it is known whether the stylized data is correct.
其次,資料傳輸啟動信號TE一般可透過驅動電路300固有的硬體接腳輸出,藉以決定驅動電路300係開始或停止資料的傳送循環(transmission cycle)。因此,若是以多工器350來處理判定信號MTR以及資料傳輸啟動信號TE,使得判定信號MTR以及資料傳輸啟動信號TE其中一者能透過多工器350之切換而輸出的話,則判定信號MTR和資料傳輸啟動信號TE便可以透過原先的硬體接腳輸出,藉此避免驅動電路300必須配置不同接腳供信號MTR和TE輸出的情形,並可進而節省成本。Secondly, the data transmission enable signal TE can be generally output through the hardware pin inherent to the drive circuit 300, thereby determining whether the drive circuit 300 starts or stops the data transmission cycle. Therefore, if the determination signal MTR and the data transmission enable signal TE are processed by the multiplexer 350 so that one of the determination signal MTR and the data transmission enable signal TE can be output through the switching of the multiplexer 350, the determination signal MTR and The data transmission enable signal TE can be output through the original hardware pin, thereby preventing the drive circuit 300 from having to configure different pins for the signal MTR and TE output, and further saving cost.
上述實施例中關於自測試驅動電路中的電路結構特徵,均可單獨形成,也可以相互搭配形成。因此,上述各實施例僅是為了方便說明起見而敘述單一持徵,而所有實施例均可以依照實際需求選擇性地相互搭配,以製作本揭示內容中的自測試驅動電路,其並非用以限定本發明。The circuit structure features in the self-test driving circuit in the above embodiments may be formed separately or in combination with each other. Therefore, the above embodiments are merely for convenience of description, and all the embodiments can be selectively matched with each other according to actual needs to fabricate the self-test driving circuit in the present disclosure, which is not used for The invention is defined.
第4圖係依照本發明一實施例所繪示之一種自測試驅動電路中測試方法的流程圖。首先,寫入第一可程式化資料,並儲存與第一可程式化資料預設相同之第二可程式化資料(步驟402)。接著,比較第一可程式化資料和第二可程式化資料(步驟404)。然後,判斷第一可程式化資料與第二可程式化資料是否相同(步驟406)。當第一可程式化資料與第二可程式化資料不相同時,產生錯誤信號(步驟408)。當第一可程式化資料與第二可程式化資料相同時,產生正確信號(步驟410)。4 is a flow chart of a test method in a self test drive circuit according to an embodiment of the invention. First, the first programmable data is written, and the second programmable data is the same as the first programmable data preset (step 402). Next, the first programmable data and the second programmable data are compared (step 404). Then, it is determined whether the first programmable material is identical to the second programmable data (step 406). When the first programmable data is different from the second programmable data, an error signal is generated (step 408). When the first programmable data is identical to the second programmable data, a correct signal is generated (step 410).
在一實施例中,上述儲存第二可程式化資料的步驟更可包含以下步驟。首先,對一記憶體進行程式化,以儲存與第一可程式化資料或第二可程式化資料預設相同之一第三可程式化資料。然後,載入第三可程式化資料作為第二可程式化資料。In an embodiment, the step of storing the second programmable data may further comprise the following steps. First, a memory is programmed to store a third programmable data that is identical to the first programmable data or the second programmable data. Then, the third programmable data is loaded as the second programmable data.
在另一實施例中,上述測試方法更可包含以下步驟。當第三可程式化資料與第一可程式化資料不相同或是與第二可程式化資料不相同時,產生錯誤信號。In another embodiment, the above testing method may further comprise the following steps. An error signal is generated when the third programmable data is different from the first programmable data or different from the second programmable data.
在本實施例中,當判定信號MTR為錯誤信號時,此錯誤信號可為一具有工作週期比(duty cycle ratio)為N:1之時脈信號或是一低位準信號,其中N為大於1之正整數;而當判定信號MTR為正確信號時,此正確信號可為一具有工作週期比為1:1之時脈信號或是一高位準信號。上述錯誤信號與正確信號僅為舉例並用以供方便判定而已,並非用以限定本發明。換言之,本領域具通常知識者均可依據實際需求,採用各種可供區別或判定的信號,藉此區分錯誤信號與正確信號。In this embodiment, when the determination signal MTR is an error signal, the error signal may be a clock signal having a duty cycle ratio of N:1 or a low level signal, where N is greater than 1 A positive integer; and when the decision signal MTR is a correct signal, the correct signal can be a clock signal having a duty cycle ratio of 1:1 or a high level signal. The above error signals and correct signals are merely examples and are used for convenience determination, and are not intended to limit the present invention. In other words, those skilled in the art can use various signals that can be distinguished or determined according to actual needs, thereby distinguishing between an error signal and a correct signal.
第5圖係依照本發明另一實施例所繪示之一種自測試驅動電路中測試方法的流程圖。為清楚說明起見,請同時參照第2圖和第5圖。首先,寫入可程式化資料D1至第一暫存器210(步驟502)。其次,於寫入可程式化資料D1的同時,對記憶體240進行程式化(或燒錄),以將與可程式化資料D1預設相同的可程式化資料D3編程(或燒入)至記憶體240(步驟504)。接著,自記憶體240載入可程式化資料D3至第二暫存器220,使得可程式化資料D3另作為可程式化資料D2儲存於第二暫存器220中(步驟506)。然後,比較可程式化資料D1以及可程式化資料D2(步驟508)。FIG. 5 is a flow chart of a test method in a self test drive circuit according to another embodiment of the invention. For the sake of clarity, please refer to Figures 2 and 5 at the same time. First, the programmable data D1 is written to the first register 210 (step 502). Next, while writing the programmable data D1, the memory 240 is programmed (or burned) to program (or burn) the programmable data D3 that is the same as the preset of the programmable data D1. Memory 240 (step 504). Then, the programmable data D3 is loaded from the memory 240 to the second temporary memory 220, so that the programmable data D3 is additionally stored in the second temporary storage 220 as the programmable data D2 (step 506). Then, the programmable data D1 and the programmable data D2 are compared (step 508).
接著,判斷可程式化資料D1與可程式化資料D2是否相同(步驟510)。當可程式化資料D1與可程式化資料D2不相同時,產生錯誤信號(步驟512)。當可程式化資料D1與可程式化資料D2相同時,產生正確信號(步驟514)。Next, it is determined whether the programmable data D1 is identical to the programmable data D2 (step 510). When the programmable data D1 is different from the programmable data D2, an error signal is generated (step 512). When the programmable data D1 is identical to the programmable data D2, a correct signal is generated (step 514).
在本實施例中,當判定信號MTR為錯誤信號時,此錯誤信號可為一具有工作週期比(duty cycle ratio)為N:1之時脈信號或是一低位準信號,其中N為大於1之正整數;而當判定信號MTR為正確信號時,此正確信號可為一具有工作週期比為1:1之時脈信號或是一高位準信號。上述錯誤信號與正確信號僅為舉例並用以供方便判定而已,並非用以限定本發明。換言之,本領域具通常知識者均可依據實際需求,採用各種可供區別或判定的信號,藉此區分錯誤信號與正確信號。In this embodiment, when the determination signal MTR is an error signal, the error signal may be a clock signal having a duty cycle ratio of N:1 or a low level signal, where N is greater than 1 A positive integer; and when the decision signal MTR is a correct signal, the correct signal can be a clock signal having a duty cycle ratio of 1:1 or a high level signal. The above error signals and correct signals are merely examples and are used for convenience determination, and are not intended to limit the present invention. In other words, those skilled in the art can use various signals that can be distinguished or determined according to actual needs, thereby distinguishing between an error signal and a correct signal.
在本實施例中所提及的步驟,除特別敘明其順序者外,均可依實際需要調整其前後順序,甚至可同時或部分同時執行,第4圖及第5圖所示之流程圖僅為實施例,並非用以限定本發明。The steps mentioned in this embodiment can be adjusted according to actual needs, except that the order is specifically described, and even can be performed simultaneously or partially simultaneously. The flowcharts shown in FIG. 4 and FIG. It is merely an example and is not intended to limit the invention.
依據上述,應用前述自測試驅動電路及其中之測試方法,無論是驅動電路進行程式化的過程發生錯誤,或是驅動電路中的資料讀取過程發生錯誤,均可直接透過自測試驅動電路所輸出的信號,判別驅動電路於程式化過程中是否正確無誤,並可同時得知程式化的資料是否正確。According to the above, the self-test driving circuit and the testing method thereof are applied, and the error occurs in the process of programming the driving circuit, or the data reading process in the driving circuit is in error, and can be directly output through the self-test driving circuit. The signal determines whether the driver circuit is correct during the stylization process, and can also know whether the stylized data is correct.
此外,應用前述自測試驅動電路及其中之測試方法,不僅可直接藉由驅動電路的硬體接腳知悉程式化的過程是否正確,方便驅動電路的測試,而且更可節省檢測的時間,亦可提高檢測的準確性。In addition, the application of the self-test driving circuit and the testing method thereof can not only directly know whether the stylized process is correct by the hardware pin of the driving circuit, but also facilitate the testing of the driving circuit, and save the detection time. Improve the accuracy of the test.
雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何本領域具通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。The present invention has been disclosed in the above embodiments, but it is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.
100、200、300...自測試驅動電路100, 200, 300. . . Self test drive circuit
110、210、310...第一暫存器110, 210, 310. . . First register
120、220、320...第二暫存器120, 220, 320. . . Second register
130、230、330...比較器130, 230, 330. . . Comparators
240、340...記憶體240, 340. . . Memory
350...多工器350. . . Multiplexer
402~410、502~514...步驟402-410, 502-514. . . step
第1圖係依照本發明一實施例所繪示之一種自測試驅動電路的示意圖。FIG. 1 is a schematic diagram of a self-test driving circuit according to an embodiment of the invention.
第2圖係依照本發明另一實施例所繪示之一種自測試驅動電路的示意圖。2 is a schematic diagram of a self-test driving circuit according to another embodiment of the present invention.
第3圖係依照本發明又一實施例所繪示之一種自測試驅動電路的示意圖。FIG. 3 is a schematic diagram of a self-test driving circuit according to another embodiment of the present invention.
第4圖係依照本發明一實施例所繪示之一種自測試驅動電路中測試方法的流程圖。4 is a flow chart of a test method in a self test drive circuit according to an embodiment of the invention.
第5圖係依照本發明另一實施例所繪示之一種自測試驅動電路中測試方法的流程圖。FIG. 5 is a flow chart of a test method in a self test drive circuit according to another embodiment of the invention.
300...自測試驅動電路300. . . Self test drive circuit
310...第一暫存器310. . . First register
320...第二暫存器320. . . Second register
330...比較器330. . . Comparators
340...記憶體340. . . Memory
350...多工器350. . . Multiplexer
Claims (11)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100140896A TWI493560B (en) | 2011-11-09 | 2011-11-09 | Self-test driver circuit |
CN201110396133.1A CN102402961B (en) | 2011-11-09 | 2011-11-29 | Self-test driving circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW100140896A TWI493560B (en) | 2011-11-09 | 2011-11-09 | Self-test driver circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201320089A true TW201320089A (en) | 2013-05-16 |
TWI493560B TWI493560B (en) | 2015-07-21 |
Family
ID=45885116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW100140896A TWI493560B (en) | 2011-11-09 | 2011-11-09 | Self-test driver circuit |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102402961B (en) |
TW (1) | TWI493560B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI628942B (en) * | 2015-02-05 | 2018-07-01 | 絡達科技股份有限公司 | Communication module, communication device capable of self-detecting operation status and detecting method thereof |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109658898B (en) * | 2019-02-27 | 2021-12-17 | 惠科股份有限公司 | Circuit and method for preventing error of read data and display device |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1504884A (en) * | 2002-11-29 | 2004-06-16 | 华为技术有限公司 | Self-testing method and apparatus for synchronous dynamic random memory |
KR100634356B1 (en) * | 2004-05-12 | 2006-10-16 | 삼성전자주식회사 | Memory system safely loading main data and data loading method thereof |
US20070208968A1 (en) * | 2006-03-01 | 2007-09-06 | Anand Krishnamurthy | At-speed multi-port memory array test method and apparatus |
TW200816432A (en) * | 2006-09-29 | 2008-04-01 | Realtek Semiconductor Corp | Card reader controller |
US7665003B2 (en) * | 2006-12-15 | 2010-02-16 | Qualcomm Incorporated | Method and device for testing memory |
US7940595B2 (en) * | 2006-12-22 | 2011-05-10 | Sidense Corp. | Power up detection system for a memory device |
US20080209294A1 (en) * | 2007-02-26 | 2008-08-28 | Hakan Brink | Built-in self testing of a flash memory |
US20080282120A1 (en) * | 2007-05-11 | 2008-11-13 | Macronix International Co., Ltd. | Memory structure, repair system and method for testing the same |
CN101399087B (en) * | 2007-09-25 | 2012-05-23 | 智原科技股份有限公司 | Built-in self-testing circuit and clock switching circuit of programmable memory |
CN102231286B (en) * | 2009-10-08 | 2014-03-26 | 鸿富锦精密工业(深圳)有限公司 | Test method of DRAM (dynamic random access memory) |
TWM380664U (en) * | 2010-01-08 | 2010-05-11 | Ta-I Liu | Digital pulse width modulating device |
-
2011
- 2011-11-09 TW TW100140896A patent/TWI493560B/en active
- 2011-11-29 CN CN201110396133.1A patent/CN102402961B/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI628942B (en) * | 2015-02-05 | 2018-07-01 | 絡達科技股份有限公司 | Communication module, communication device capable of self-detecting operation status and detecting method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102402961B (en) | 2014-06-25 |
TWI493560B (en) | 2015-07-21 |
CN102402961A (en) | 2012-04-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2456057B1 (en) | Power converter, display device including power converter, system including display device, and method of driving display device | |
US10607561B2 (en) | Voltage calibration method and calibration system based on timing controller | |
KR101519491B1 (en) | Semiconductor memory device for accumulation test and system including the same | |
US20070168738A1 (en) | Power-on error detection system and method | |
CN109272956B (en) | Protection circuit of memory cell in display panel and display device | |
JP2009134705A (en) | Detection system for peripheral device | |
JP2008009721A (en) | Evaluation system and evaluation method thereof | |
TW201301292A (en) | System and method for testing memory of server | |
US7161864B2 (en) | Bit refresh circuit for refreshing register bit values, integrated circuit device having the same, and method of refreshing register bit values | |
TWI493560B (en) | Self-test driver circuit | |
TWI661426B (en) | Memory device and data reading method thereof | |
TWI493869B (en) | Keypad module and detecting method for keypad matrix | |
US9058863B2 (en) | Reference frequency setting method, memory controller and memory storage apparatus | |
CN104699410A (en) | Information processing method and electronic device | |
TW201316340A (en) | Flash memory testing method | |
CN113270129A (en) | Memory system and method of operating memory | |
US20060218338A1 (en) | Method for preventing software from being wrongly burned | |
JP2008145296A (en) | Semiconductor storage device | |
CN112783355A (en) | Touch display panel and automatic firmware burning method thereof | |
US9298557B2 (en) | Method of booting system having non-volatile memory device with erase checking and calibration mechanism and related memory device | |
TWI511148B (en) | Computer system and control method thereof | |
TWI502600B (en) | Device for fixing identifier of memory | |
TW201344399A (en) | Control method and electronic device utilizing the same | |
US20080024421A1 (en) | Liquid crystal display driver and liquid crystal display device mounting the same | |
US20040111654A1 (en) | Memory device with debug mode |