TWI412230B - Register circuit - Google Patents

Register circuit Download PDF

Info

Publication number
TWI412230B
TWI412230B TW98135651A TW98135651A TWI412230B TW I412230 B TWI412230 B TW I412230B TW 98135651 A TW98135651 A TW 98135651A TW 98135651 A TW98135651 A TW 98135651A TW I412230 B TWI412230 B TW I412230B
Authority
TW
Taiwan
Prior art keywords
data
circuit
multiplexer
signal
input end
Prior art date
Application number
TW98135651A
Other languages
Chinese (zh)
Other versions
TW201115922A (en
Inventor
Chun Ting Kuo
Chun Fu Lin
Cheng Han Hsieh
Original Assignee
My Semi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by My Semi Inc filed Critical My Semi Inc
Priority to TW98135651A priority Critical patent/TWI412230B/en
Publication of TW201115922A publication Critical patent/TW201115922A/en
Application granted granted Critical
Publication of TWI412230B publication Critical patent/TWI412230B/en

Links

Landscapes

  • Control Of El Displays (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

A register circuit is provided in the application. The register circuit includes a plurality of circuit units which are serially connected to each other and used to sore and transmit a serial data. When the serial data is driving (image) data of light emitting diodes, the outputs of the circuit units are maintained to have the same logical level after the circuit units store corresponding driving data. When the serial data is the mode transformation signal, the circuit units transmit the received mode transformation signal. Because each output of the circuit units has the same logical level, so the transmission of the mode transformation signal would not be affected even if the switching timings of each circuit units are slightly inaccurate.

Description

暫存電路Temporary circuit

本發明是有關於一種暫存電路,且特別是有關於一種發光二極體驅動裝置的暫存電路。The present invention relates to a temporary storage circuit, and more particularly to a temporary storage circuit for a light emitting diode driving device.

發光二極體陣列或顯示器是由多數個發光二極體所形成,單一驅動電路的接腳通常不夠驅動整個顯示器。驅動電路通常是由多個晶片串聯而成,每個驅動晶片負責驅動數個或整排的發光二極體。驅動晶片的工作模式(例如驅動或偵測)可藉由多個控制信號來進行設定,然而控制信號過多會造成電路佈局的複雜度增加。此外,長距離串接所需的線材也將大幅提高系統製造成本,種種限制都嚴重系統的普及化。A light-emitting diode array or display is formed by a plurality of light-emitting diodes, and the pins of a single drive circuit are generally insufficient to drive the entire display. The driving circuit is usually formed by connecting a plurality of wafers in series, and each driving chip is responsible for driving a plurality of or a whole row of light emitting diodes. The operating mode (eg, driving or detecting) of the driving chip can be set by a plurality of control signals, but excessive control signals may cause an increase in circuit layout complexity. In addition, the wire required for long-distance serial connection will also greatly increase the system manufacturing cost, and all kinds of restrictions are severely popularized by the system.

因此,若能直接利用驅動晶片原本所接收的串列資料來進行模式的切換,這樣便可降低電路佈局的複雜度,同時也可以減少系統的負擔。但是利用串列資料與時脈信號的波形組合來取代模式切換信號時,驅動晶片中必須設置可切換的信號傳遞方式來分別傳遞串列資料中的驅動資料與模式切換信號,才能在傳遞模式切換信號時,同時將串列資料中的模式切換信號傳遞至所有串接的驅動晶片以同步進行模式切換。然而,若可切換的信號傳遞方式其切換時序不同步時,下一級驅動晶片所接收的信號便會發生錯誤而造成模式切換信號的誤判。Therefore, if the serial data received by the driving chip is directly used to switch the mode, the complexity of the circuit layout can be reduced, and the burden on the system can be reduced. However, when the mode switching signal is replaced by the waveform combination of the serial data and the clock signal, a switchable signal transmission mode must be set in the driving chip to respectively transmit the driving data and the mode switching signal in the serial data to switch in the transfer mode. At the time of signal, the mode switching signal in the serial data is simultaneously transmitted to all the serially connected driving chips to perform mode switching in synchronization. However, if the switchable signal transmission mode is not synchronized, the signal received by the next stage driving chip may be erroneously caused by the mode switching signal.

本發明提供一種暫存電路,以多個電路單元串列的方式來傳遞發光二級體的驅動資料與模式切換信號。在作為發光二級體驅動資料的暫存器時,個別電路單元會配合驅動資料儲存對應的驅動資料後,其驅動資料會使每個電路單元中的移位暫存器的最後一個儲存單元(位元)皆為相同之邏輯準位(例如邏輯低電位或邏輯高電位)。因此,當暫存電路在傳遞模式切換信號時,其各級電路單元的輸出在起始時會同是邏輯低電位或高電位,所以即使各級電路單元的切換時序有些微誤差也不會影響模式切換信號的傳遞。The invention provides a temporary storage circuit for transmitting driving data and mode switching signals of a light-emitting diode in a manner of a plurality of circuit unit series. In the case of the scratchpad of the light-emitting diode driving data, the individual circuit unit cooperates with the driving data to store the corresponding driving data, and the driving data thereof causes the last storage unit of the shift register in each circuit unit ( Bits) are all the same logic level (eg logic low or logic high). Therefore, when the temporary storage circuit is transmitting the mode switching signal, the output of each stage circuit unit will be at the same logic low level or high level at the beginning, so even if the switching timing of each stage circuit unit has slight error, it will not affect the mode. Switch the signal transmission.

本發明另提供一種暫存電路,利用具有三個輸入端的多工器來進行切換,其中一個輸入端耦接於一固定邏輯準位(例如邏輯高電位或邏輯低電位)。當暫存電路所接收的串列資料由驅動資料轉換為模式切換信號時,暫存電路中的各個電路單元會先將輸出切換至上述固定邏輯準位,然後再切換至模式切換信號的輸入端。藉此,可避免各級電路單元的切換時序有些微誤差時所造成的模式切換訊號的誤判,也不會影響模式切換信號的傳遞。The present invention further provides a temporary storage circuit that utilizes a multiplexer having three inputs for switching, wherein one input is coupled to a fixed logic level (eg, a logic high or a logic low). When the serial data received by the temporary storage circuit is converted from the driving data to the mode switching signal, each circuit unit in the temporary storage circuit first switches the output to the above fixed logic level, and then switches to the input end of the mode switching signal. . Thereby, the misjudgment of the mode switching signal caused by the slight switching error of the switching timing of each circuit unit can be avoided, and the transmission of the mode switching signal is not affected.

本發明另提供一種暫存電路,直接利用發光二極體驅動晶片所接收的栓鎖信號來控制多工器的切換,藉此避免個別電路單元中時序不一致的問題。The invention further provides a temporary storage circuit for directly controlling the switching of the multiplexer by using the latch signal received by the LED to drive the wafer, thereby avoiding the problem of inconsistent timing in the individual circuit units.

承上述,本發明提出一種暫存電路,包括複數個電路單元,電路單元相互串接並分別耦接於一時脈信號,其中電路單元中之一第一電路單元接收一串列資料與時脈信號,第一電路單元包括一資料輸入端、一資料輸出端、一移位暫存器、一多工器與一選擇單元。資料輸入端用以接收上述串列資料,移位暫存器具有複數個相互串接的儲存元件,移位暫存器耦接於資料輸入端並根據時脈信號傳遞串列資料。多工器具有一第一輸入端、一第二輸入端,第一輸入端耦接於資料輸入端,第二輸入端耦接於移位暫存器的輸出,多工器的輸出端耦接於資料輸出端,且多工器根據一選擇信號選擇第一輸入端或第二輸入端所接收之信號作為多工器的輸出。選擇單元耦接於多工器的選擇端,並根據串列資料的資料模式產生選擇信號。In view of the above, the present invention provides a temporary storage circuit comprising a plurality of circuit units connected in series with each other and coupled to a clock signal, wherein one of the circuit units receives a series of data and clock signals The first circuit unit includes a data input terminal, a data output terminal, a shift register, a multiplexer and a selection unit. The data input end is configured to receive the serial data. The shift register has a plurality of storage elements connected in series, and the shift register is coupled to the data input end and transmits the serial data according to the clock signal. The multiplexer has a first input end and a second input end. The first input end is coupled to the data input end, the second input end is coupled to the output of the shift register, and the output end of the multiplexer is coupled to the output end. The data output end, and the multiplexer selects the signal received by the first input terminal or the second input terminal as the output of the multiplexer according to a selection signal. The selection unit is coupled to the selection end of the multiplexer and generates a selection signal according to the data mode of the serial data.

其中,串列資料具有一第一資料模式與一第二資料模式,當串列資料為第一資料模式時,各電路單元中之移位暫存器中之最後一個儲存元件所對應的資料皆為相同之邏輯準位(邏輯高電位或邏輯低電位)且多工器選擇第二輸入端所接收的信號作為輸出;當串列資料轉換為第二資料模式時,多工器依據選擇信號選擇第一輸入端所接收的信號作為輸出。The serial data has a first data mode and a second data mode. When the serial data is in the first data mode, the data corresponding to the last storage component in the shift register in each circuit unit is For the same logic level (logic high or logic low) and the multiplexer selects the signal received by the second input as the output; when the serial data is converted to the second data mode, the multiplexer selects according to the selection signal The signal received at the first input acts as an output.

在本發明一實施例中,其中各上述電路單元的電路與第一電路單元相同,且各上述電路單元係經由上述資料輸出端連接至下一級電路單元的資料輸入端以相互串接,並依序傳遞所接收之串列資料的驅動資料。In an embodiment of the present invention, the circuit of each of the circuit units is the same as the first circuit unit, and each of the circuit units is connected to the data input end of the next-stage circuit unit via the data output end to be connected in series with each other. The drive data of the received serial data is transmitted in sequence.

在本發明一實施例中,其中上述電路單元係為發光二極體驅動電路。In an embodiment of the invention, the circuit unit is a light emitting diode driving circuit.

在本發明一實施例中,其中當串列資料為第一資料模式時,串列資料包括複數筆發光二極體驅動資料,且各該發光二極體驅動資料使移位暫存器中之最後一個儲存元件所對應的資料皆為相同之邏輯準位;當串列資料轉換為第二資料模式時,串列資料傳遞一模式切換信號且時脈信號維持在一固定準位,其中模式切換信號包括複數個脈衝信號。In an embodiment of the invention, when the serial data is in the first data mode, the serial data includes a plurality of LED driving data, and each of the LED driving data is in the shift register. The data corresponding to the last storage element are all of the same logic level; when the serial data is converted into the second data mode, the serial data is transmitted with a mode switching signal and the clock signal is maintained at a fixed level, wherein the mode is switched. The signal includes a plurality of pulse signals.

在本發明一實施例中,其中當選擇單元偵測到時脈信號維持在固定準位超過一預設時間(即一段時間長度)時,選擇單元調整選擇信號以使多工器選擇第一輸入端所接收的信號作為輸出。In an embodiment of the invention, when the selecting unit detects that the clock signal is maintained at a fixed level for more than a predetermined time (ie, a length of time), the selecting unit adjusts the selection signal to cause the multiplexer to select the first input. The signal received by the terminal acts as an output.

在本發明一實施例中,其中上述選擇單元包括一振盪電路與一計數器。In an embodiment of the invention, the selection unit includes an oscillation circuit and a counter.

本發明另提出一種暫存電路,可由單一電路單元構成或由複數個電路單元串接組成。上述電路單元中之一第一電路單元接收一時脈信號與一串列資料,串接資料包括一第一資料模式與一第二資料模式。第一電路單元包括一資料輸入端、一資料輸出端、一移位暫存器、一多工器與一選擇單元。資料輸入端用以接收上述串列資料,移位暫存器具有K個相互串接的儲存元件(K為正整數),上述移位暫存器耦接於上述資料輸入端並根據上述時脈信號傳遞上述串列資料。在此暫存電路中,多工器具有三個輸入端,分別為第一輸入端、第二輸入端與第三輸入端,上述第一輸入端耦接於上述資料輸入端,上述第二輸入端耦接於一固定邏輯準位(邏輯高電位或邏輯低電位),上述第三輸入端耦接於上述移位暫存器的輸出,上述多工器的輸出端耦接於上述資料輸出端,且上述多工器根據一選擇信號選擇上述第一輸入端、上述第二輸入端與上述第三輸入端其中之一所接收之信號作為上述多工器的輸出。選擇單元耦接於上述多工器的選擇端,並根據上述串列資料的資料模式產生上述選擇信號。The present invention further provides a temporary storage circuit, which may be composed of a single circuit unit or a plurality of circuit units connected in series. One of the circuit units receives a clock signal and a serial data, and the serial data includes a first data pattern and a second data pattern. The first circuit unit includes a data input terminal, a data output terminal, a shift register, a multiplexer and a selection unit. The data input end is configured to receive the serial data, the shift register has K storage elements connected in series (K is a positive integer), and the shift register is coupled to the data input end and according to the clock Signaling the above listed data. In the temporary storage circuit, the multiplexer has three input ends, which are a first input end, a second input end, and a third input end, wherein the first input end is coupled to the data input end, and the second input end is The third input end is coupled to the output of the shift register, and the output end of the multiplexer is coupled to the data output end, and is coupled to a fixed logic level (logic high or logic low) And the multiplexer selects a signal received by one of the first input terminal, the second input terminal and the third input terminal as an output of the multiplexer according to a selection signal. The selection unit is coupled to the selection end of the multiplexer, and generates the selection signal according to the data pattern of the serial data.

其中,上述串列資料具有一第一資料模式與一第二資料模式,當上述串列資料為上述第一資料模式時,上述多工器選擇上述第三輸入端所接收的信號作為輸出;當上述串列資料轉換為上述第二資料模式時,上述時脈信號維持在一固定準位,上述多工器依據上述選擇信號先選擇上述第二輸入端所接收的信號作為輸出並維持一預設時間,然後再選擇上述第一輸入端所接收的信號作為輸出。The serial data has a first data mode and a second data mode. When the serial data is the first data mode, the multiplexer selects a signal received by the third input as an output; When the serial data is converted into the second data mode, the clock signal is maintained at a fixed level, and the multiplexer first selects the signal received by the second input as an output according to the selection signal and maintains a preset. Time, and then select the signal received by the above first input as an output.

本發明又提出一種暫存電路,適用於一發光二極體驅動電路,發光二極體驅動電路接收一拴鎖信號以拴鎖串列資料,上述暫存電路包括一第一電路單元。上述第一電路單元接收一串列資料與一時脈信號,上述串列資料具有一第一資料模式與一第二資料模式,其中第一電路單元包括一資料輸入端、一資料輸出端、一移位暫存器與一多工器。移位暫存器具有K個相互串接的儲存元件(K為正整數),上述移位暫存器耦接於上述資料輸入端並根據上述時脈信號傳遞上述串列資料。多工器具有一第一輸入端、一第二輸入端,上述第一輸入端耦接於上述資料輸入端,上述第二輸入端耦接於上述移位暫存器的輸出,上述多工器的輸出端耦接於上述資料輸出端,且上述多工器根據上述栓鎖信號選擇上述第一輸入端或上述第二輸入端所接收之信號作為上述多工器的輸出。The invention further provides a temporary storage circuit, which is suitable for a light-emitting diode driving circuit, and the LED driving circuit receives a latch signal to latch the serial data, and the temporary storage circuit comprises a first circuit unit. The first circuit unit receives a series of data and a clock signal, the serial data has a first data mode and a second data mode, wherein the first circuit unit comprises a data input end, a data output end, and a shift Bit register and a multiplexer. The shift register has K storage elements connected in series (K is a positive integer), and the shift register is coupled to the data input terminal and transmits the serial data according to the clock signal. The multiplexer has a first input end coupled to the data input end, the second input end coupled to the output of the shift register, the multiplexer The output end is coupled to the data output end, and the multiplexer selects a signal received by the first input end or the second input end as an output of the multiplexer according to the latch signal.

其中,當上述串列資料為上述第一資料模式時,上述多工器選擇上述第二輸入端所接收的信號作為輸出;當上述串列資料轉換為上述第二資料模式時,上述多工器依據上述栓鎖信號選擇上述第一輸入端所接收的信號作為輸出。Wherein, when the serial data is the first data mode, the multiplexer selects a signal received by the second input as an output; and when the serial data is converted into the second data mode, the multiplexer The signal received by the first input terminal is selected as an output according to the latch signal.

本發明另提出一種暫存電路,包括一資料輸入端、一資料輸出端、一移位暫存器、一多工器以及一選擇單元。資料輸入端用以接收該串列資料,移位暫存器具有M個相互串接的儲存元件,移位暫存器耦接於資料輸入端並根據一時脈信號傳遞串列資料,M為正整數。多工器具有一第一輸入端、一第二輸入端,第一輸入端耦接於資料輸入端,第二輸入端耦接於移位暫存器的輸出,多工器的輸出端耦接於資料輸出端,且多工器根據一選擇信號選擇第一輸入端或第二輸入端所接收之信號作為多工器的輸出。選擇單元耦接於多工器的選擇端,用以產生選擇信號。The invention further provides a temporary storage circuit comprising a data input terminal, a data output terminal, a shift register, a multiplexer and a selection unit. The data input end is configured to receive the serial data, the shift register has M storage elements connected in series, the shift register is coupled to the data input end and transmits the serial data according to a clock signal, and M is positive Integer. The multiplexer has a first input end and a second input end. The first input end is coupled to the data input end, the second input end is coupled to the output of the shift register, and the output end of the multiplexer is coupled to the output end. The data output end, and the multiplexer selects the signal received by the first input terminal or the second input terminal as the output of the multiplexer according to a selection signal. The selection unit is coupled to the selection end of the multiplexer for generating a selection signal.

其中,串列資料具有一第一資料模式與一第二資料模式,當串列資料為第一資料模式時,串列資料包括複數筆驅動資料,各該驅動資料為M位元且其中之最後一有效位元相同,使得移位暫存器在每一筆驅動資料傳遞完成後,其中最後一個儲存元件所對應的資料皆為相同之邏輯準位且多工器選擇第二輸入端所接收的信號作為輸出;當串列資料轉換為第二資料模式時,多工器依據選擇信號選擇第一輸入端所接收的信號作為輸出。The serial data has a first data mode and a second data mode. When the serial data is the first data mode, the serial data includes a plurality of driving data, and each of the driving data is M bits and the last one of them A valid bit is the same, so that after the transfer of each driver data is completed, the data corresponding to the last storage element is the same logic level and the multiplexer selects the signal received by the second input. As an output; when the serial data is converted into the second data mode, the multiplexer selects the signal received by the first input as the output according to the selection signal.

基於上述,本發明提出數種電路架構,用來解決電路切換不一致所導致的信號傳遞錯誤的問題。當暫存電路所接收的串列資料由驅動資料轉換為模式切換信號時,各該電路單元的輸出皆會先轉換為相同的邏輯準位以避免下一級的電路單元發生信號傳遞錯誤的情況。Based on the above, the present invention proposes several circuit architectures for solving the problem of signal transmission errors caused by inconsistent circuit switching. When the serial data received by the temporary storage circuit is converted into a mode switching signal by the driving data, the output of each circuit unit is first converted to the same logic level to avoid a signal transmission error of the circuit unit of the next stage.

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

第一實施例First embodiment

請參照圖1,圖1為根據本發明第一實施例之暫存電路,暫存電路100由複數個電路單元110~140相互串接而成,各個電路單元110~140的電路結構相同。電路單元110包括多工器112、移位暫存器114與選擇單元116,其中移位暫存器114耦接於電路單元110的資料輸入端與多工器112的第二輸入端(“0”端)之間,多工器112的第一輸入端(“1”端)則直接耦接於電路單元110的資料輸入端,選擇單元116耦接於多工器112的選擇端,提供選擇信號SEL1至多工器112以選擇第一輸入端或該第二輸入端所接收之信號作為其輸出信號。電路單元120、130與140分別由多工器122、132與142、移位暫存器124、134與144、與選擇單元126、136與146組成,選擇單元126、136與146分別輸出SEL2、SEL3與SEL4至多工器122、132與142,其餘電路結構與電路單元110相同,不再累述。Please refer to FIG. 1. FIG. 1 is a temporary storage circuit according to a first embodiment of the present invention. The temporary storage circuit 100 is formed by a plurality of circuit units 110-140 connected in series, and the circuit structures of the respective circuit units 110-140 are the same. The circuit unit 110 includes a multiplexer 112, a shift register 114 and a selection unit 116. The shift register 114 is coupled to the data input end of the circuit unit 110 and the second input end of the multiplexer 112 ("0 The first input end ("1" end) of the multiplexer 112 is directly coupled to the data input end of the circuit unit 110, and the selection unit 116 is coupled to the selection end of the multiplexer 112 to provide a selection. Signal SEL1 through multiplexer 112 selects the signal received by the first input or the second input as its output signal. The circuit units 120, 130 and 140 are respectively composed of multiplexers 122, 132 and 142, shift registers 124, 134 and 144, and selection units 126, 136 and 146, and the selection units 126, 136 and 146 respectively output SEL2. SEL3 and SEL4 to multiplexers 122, 132 and 142, the remaining circuit structures are the same as circuit unit 110, and will not be described again.

電路單元110、120、130與140頭尾相連,以串列方式連接,前一級電路單元(如110)的資料輸出端會耦接於下一級電路單元(如120)的資料輸入端,而第一級電路單元110的資料輸入端則耦接於串列資料DIN,其輸出的信號則以輸出信號DO1表示,其餘各級電路單元120、130與140的輸出信號以DO2、DO3、DO4表示。電路單元110~140另耦接於時脈信號CLK,並根據時脈信號CLK來進行資料移位與儲存。The circuit units 110, 120, 130 and 140 are connected end to end and connected in series. The data output end of the first stage circuit unit (such as 110) is coupled to the data input end of the next level circuit unit (such as 120), and the The data input end of the primary circuit unit 110 is coupled to the serial data DIN, and the output signal is represented by the output signal DO1, and the output signals of the remaining stages of the circuit units 120, 130 and 140 are represented by DO2, DO3, and DO4. The circuit units 110-140 are further coupled to the clock signal CLK, and perform data shifting and storage according to the clock signal CLK.

串列資料DIN具有兩種資料模式,分別為第一資料模式與第二資料模式,第一資料模式為發光二極體的驅動資料,而第二資料模式則為模式切換信號。當串列資料DIN為第一資料模式時,其包括複數筆發光二極體的驅動資料,多工器112~142會切換至第二輸入端(“0”端)。當串列資料DIN為第二資料模式時,多工器112~142會切換至第一輸入端(“1”端)。以電路單元110為例,當串列資料DIN為第一資料模式時,多工器112會選擇第二輸入端所接收的信號(即移位暫存器114的輸出)作為輸出,其餘電路單元120~140中的多工器122~142也會選擇第二輸入端所接收的信號作為輸出。串列資料DIN會藉由移位暫存器114~144傳遞並將發光二極體的驅動資料分別儲存於移位暫存器114~144中。The serial data DIN has two data modes, a first data mode and a second data mode. The first data mode is the driving data of the LED, and the second data mode is the mode switching signal. When the serial data DIN is the first data mode, it includes the driving data of the plurality of LEDs, and the multiplexers 112-142 switch to the second input terminal (“0” terminal). When the serial data DIN is the second data mode, the multiplexers 112-142 switch to the first input ("1" terminal). Taking the circuit unit 110 as an example, when the serial data DIN is in the first data mode, the multiplexer 112 selects the signal received by the second input (ie, the output of the shift register 114) as an output, and the remaining circuit units The multiplexers 122-142 in 120~140 also select the signal received by the second input as an output. The serial data DIN is transferred by the shift registers 114-144 and the driving data of the light-emitting diodes are stored in the shift registers 114-144, respectively.

串列資料DIN中的資料格式會配合移位暫存器114的位元長度,使各該電路單元110~140中之移位暫存器114~144中之最後一個儲存元件所對應的資料為相同之邏輯準位(例如為邏輯高電位或邏輯低電位)。以邏輯低電位為例,如在圖1所示,移位暫存器114~144的最後一個儲存元件(位元)以“L”表其準位為邏輯低電位。The data format in the serial data DIN is matched with the bit length of the shift register 114, so that the data corresponding to the last one of the shift registers 114-144 in each of the circuit units 110-140 is The same logic level (for example, logic high or logic low). Taking the logic low potential as an example, as shown in FIG. 1, the last storage element (bit) of the shift registers 114-144 is at a logic low level in the "L" table.

因此,若移位暫存器114~144為M位元的移位暫存器,表示其具有M個相互串接的儲存元件,M為正整數。串列資料DIN中之驅動資料亦為M位元,且其中每一筆驅動資料的最後一個位元則固定為邏輯低電位,以“0”或“L”表示。如此,當串列資料DIN被傳送至移位暫存器114~144中時,移位暫存器114~144中的最後一個位元會維持在邏輯低電位,此時多工器112~142的輸出也會維持在邏輯低電位。Therefore, if the shift registers 114-144 are M-bit shift registers, it means that there are M storage elements connected in series, and M is a positive integer. The driving data in the serial data DIN is also M bits, and the last bit of each driving data is fixed to a logic low level, represented by "0" or "L". Thus, when the serial data DIN is transferred to the shift registers 114-144, the last bit of the shift registers 114-144 will remain at a logic low level, at which time the multiplexers 112-142 The output will also remain at a logic low.

因此,當串列資料DIN轉換為第二資料模式時,即使電路單元120與電路單元110無法同時切換多工器112、122的通道,電路單元120也不會接收到錯誤的模式切換信號。因為即使多工器122比多工器112更快切換至第一輸入端,電路單元120在切換初期也會先接收到邏輯低電位的信號,不會產生錯誤的脈衝信號。電路單元130、140與電路單元120相同,由於在切換時,前一級電路單元的輸出(例如輸出信號DO2、DO3)依然處於邏輯低電位,因此即此後端的電路單元切換時序較快也不會產生錯誤的脈衝。Therefore, when the serial data DIN is converted into the second data mode, even if the circuit unit 120 and the circuit unit 110 cannot simultaneously switch the channels of the multiplexers 112, 122, the circuit unit 120 does not receive the erroneous mode switching signal. Because even if the multiplexer 122 switches to the first input faster than the multiplexer 112, the circuit unit 120 receives a logic low signal at the beginning of the switching, and does not generate an erroneous pulse signal. The circuit units 130 and 140 are the same as the circuit unit 120. Since the output of the previous stage circuit unit (for example, the output signals DO2 and DO3) is still at a logic low level at the time of switching, the circuit unit switching timing of the back end is faster and does not occur. Wrong pulse.

值得注意的是,在本實施例中,當串列資料DIN轉換為第二資料模式時,時脈信號CLK會配合維持在固定準位(例如邏輯高電位或邏輯低電位)。電路單元110~140的切換時序主要由選擇單元116~146決定,選擇單元116~146會根據串列資料DIN的資料模式來選擇信號SEL1~SEL4,由於本實施例中,其時脈信號CLK波形會配合串列資料DIN的資料模式改變,因此選擇單元116~146可根據時脈信號CLK的變化來產生選擇信號SEL1~SEL4,例如在偵測到時脈信號CLK維持在高準位超過預先設定的預設時間時進行切換,但本實施例並不受限於此。當選擇單元116~146偵測時脈信號CLK維持在一固定準位超過預設時間時,便會將多工器112~142的通道切換至第一輸入端,讓所有串接的電路單元110~140可以同步接收到模式切換信號以進行驅動模式的切換。It should be noted that, in this embodiment, when the serial data DIN is converted into the second data mode, the clock signal CLK is matched to maintain a fixed level (for example, a logic high level or a logic low level). The switching timing of the circuit units 110-140 is mainly determined by the selecting units 116-146. The selecting units 116-146 select the signals SEL1~SEL4 according to the data pattern of the serial data DIN. Since the clock signal CLK waveform is in this embodiment. The data mode of the serial data DIN is changed. Therefore, the selection units 116-146 can generate the selection signals SEL1 to SEL4 according to the change of the clock signal CLK, for example, when the detection of the clock signal CLK is maintained at a high level exceeding a preset. The switching is performed at a preset time, but the embodiment is not limited thereto. When the selecting units 116-146 detect that the clock signal CLK is maintained at a fixed level for more than a preset time, the channels of the multiplexers 112-142 are switched to the first input terminal, and all the circuit units 110 connected in series are connected. ~140 can synchronously receive the mode switching signal to switch the driving mode.

接下來,請參照圖2,圖2為根據本發明第一實施例之信號波形圖。在本實施例中,串列資料DIN轉換為模式切換信號,其信號由脈衝信號MS組成,且其時脈信號CLK會配合維持在邏輯高電位以告知電路單元110~140串列資料DIN已經轉換至第二資料模式。在時間T1後,時脈信號CLK維持在邏輯高電位,選擇單元116~146會在計數一預設時間後將多工器112~142的通道切換至第一輸入端。由於選擇單元116~146中計數時間用的振盪器的頻率可能不完全一致,因此假設其選擇信號SEL1~SEL4實際切換準位的計數時間大小順序為Tmode1>Tmode2>Tmode3>Tmode4。以電路單元110、120為例,雖然後端的選擇單元126切換速度較快,但由於前端電路單元110的輸出信號DO1仍然處於邏輯低電位,因此輸出信號DO2在SEL2切換為邏輯高電位後依然維持邏輯低電位直到接收到脈衝信號MS。輸出信號DO3、DO4的情況相同,即使後端的電路單元切換速度較快,輸出信號DO3、DO4也不會產生錯誤的脈衝信號。Next, please refer to FIG. 2. FIG. 2 is a signal waveform diagram according to the first embodiment of the present invention. In this embodiment, the serial data DIN is converted into a mode switching signal, and the signal is composed of the pulse signal MS, and the clock signal CLK is matched to maintain a logic high level to inform the circuit unit 110~140 that the serial data DIN has been converted. To the second data mode. After time T1, the clock signal CLK is maintained at a logic high level, and the selection units 116-146 switch the channels of the multiplexers 112-142 to the first input after counting a predetermined time. Since the frequencies of the oscillators for counting time in the selection units 116-146 may not be completely identical, the order of the counting times of the actual switching levels of the selection signals SEL1 to SEL4 is assumed to be Tmode1>Tmode2>Tmode3>Tmode4. Taking the circuit units 110 and 120 as an example, although the selection unit 126 of the back end switches at a faster speed, since the output signal DO1 of the front end circuit unit 110 is still at a logic low level, the output signal DO2 is maintained after the SEL2 is switched to a logic high level. The logic is low until the pulse signal MS is received. The output signals DO3 and DO4 are the same. Even if the circuit unit switching speed of the back end is fast, the output signals DO3 and DO4 do not generate an erroneous pulse signal.

由圖2中清楚可知,輸出信號DO1、DO2、DO3、DO4的波形皆忠實反映串列信號DIN的脈衝信號MS,即使選擇信號SEL1~SEL4的時序不一致,但在時間T1後的波形一致。因此,藉由本實施例的技術手段,可解決由於不同電路單元110~140時序不一致所產生的資料傳遞錯誤的問題。此外,值得注意的是,上述暫存電路100中的電路單元110~140並不限定為4個,可以依照所需串接的個數而定,亦可由一個電路單元構成,本實施例並不受限。電路單元110~140例如為獨立的電路元件或是發光二極體的驅動晶片,其中選擇單元、多工器與移位暫存器的電路結構可整合在發光二極體的驅動晶片中以傳遞與儲存發光二極體的驅動資料。As is clear from FIG. 2, the waveforms of the output signals DO1, DO2, DO3, and DO4 faithfully reflect the pulse signal MS of the serial signal DIN. Even if the timings of the selection signals SEL1 to SEL4 do not coincide, the waveforms after the time T1 coincide. Therefore, by the technical means of the embodiment, the problem of data transmission errors caused by the inconsistent timing of the different circuit units 110-140 can be solved. In addition, it should be noted that the circuit units 110-140 in the temporary storage circuit 100 are not limited to four, and may be configured according to the number of serial connections required, or may be composed of one circuit unit. This embodiment does not Limited. The circuit units 110-140 are, for example, independent circuit components or driving chips of the light emitting diodes, wherein the circuit structure of the selecting unit, the multiplexer and the shift register can be integrated in the driving die of the light emitting diode to transmit Drive data with stored light-emitting diodes.

同理,若使各該電路單元110~140中之移位暫存器114~144中之最後一個儲存元件(114、124、134、144)所對應的資料為邏輯高電位,也可以具有相同之技術效果。當電路單元110~140中之最後一個儲存元件所對應的資料為邏輯高電位時,多工器112~142的輸出會維持在邏輯高電位,因此即使多工器112~142沒有同時切換至第一輸入端(“1”端),其輸出信號DO1、DO2、DO3、DO4也會維持在邏輯高電位直到產生脈衝信號MS。只要輸出信號DO1、DO2、DO3、DO4在脈衝信號MS產生之前是維持在相同準位,系統便可輕易得知脈衝信號MS的波形變化。而且,即使選擇信號SEL1~SEL4的時序不一致,但在時間T1後,輸出信號DO1、DO2、DO3、DO4的波形皆會一致。藉此,即可克服因選擇信號SEL1~SEL4的時序不一致而導致輸出信號DO1、DO2、DO3、DO4的波形不一致的問題。Similarly, if the data corresponding to the last storage element (114, 124, 134, 144) of the shift registers 114-144 in each of the circuit units 110-140 is logic high, the same may be used. Technical effect. When the data corresponding to the last storage element in the circuit units 110-140 is logic high, the outputs of the multiplexers 112-142 are maintained at a logic high level, so even if the multiplexers 112-142 do not simultaneously switch to the first At an input ("1" terminal), its output signals DO1, DO2, DO3, DO4 are also maintained at a logic high level until a pulse signal MS is generated. As long as the output signals DO1, DO2, DO3, and DO4 are maintained at the same level before the pulse signal MS is generated, the system can easily know the waveform change of the pulse signal MS. Moreover, even if the timings of the selection signals SEL1 to SEL4 do not coincide, the waveforms of the output signals DO1, DO2, DO3, and DO4 will coincide after the time T1. Thereby, the problem that the waveforms of the output signals DO1, DO2, DO3, and DO4 are inconsistent due to the timing inconsistency of the selection signals SEL1 to SEL4 can be overcome.

第二實施例Second embodiment

由上述第一實施例可推知,只要維持移位暫存器的最後一個儲存元件所儲存的資料為邏輯低電位即可正確傳遞串列資料DIN中的模式切換信號。因此,在第一實施例中是直接將利用串列資料DIN中的資料格式,讓移位暫存器114~144的最後一個位元為邏輯低電位以維持多工器112~142的輸出為邏輯低電位。但是這樣的方式可能會犧牲原始資料的解析度,例如將8位元降低為7位元,並利用剩下的最後一個位元來實施邏輯低電位。因此,從另一個觀點來看,本發明也可以在移位暫存器中新增一個位元的儲存元件來實施上述第一實施例之技術手段,例如以9位元的移位暫存器來儲存8位元的驅動資料與1個位元的邏輯低電位。It can be inferred from the above-described first embodiment that the mode switching signal in the serial data DIN can be correctly transmitted as long as the data stored in the last storage element of the shift register is maintained at a logic low level. Therefore, in the first embodiment, the data format in the serial data DIN will be directly used, and the last bit of the shift registers 114-144 is logic low to maintain the output of the multiplexers 112-142. Logic is low. However, such a method may sacrifice the resolution of the original data, such as reducing the 8-bit to 7-bit and using the last remaining bit to implement the logic low. Therefore, from another point of view, the present invention can also implement a technical means of the first embodiment by adding a bit storage element to the shift register, for example, a 9-bit shift register. To store 8-bit drive data with a logic low of 1 bit.

請參照圖3,圖3為根據本發明第二實施例之暫存電路,暫存電路200包括電路單元210~240,電路單元210~240分別由多工器212~242、移位暫存器214~244與選擇單元216~246所構成,其電路結構與上述圖1相似,在此不加累述。圖3與圖1主要差異在於移位暫存器214~244分別比移位暫存器114~144多出一個儲存位元(即201、202、203、204),使得移位暫存器214~244為M+1位元的移位暫存器。當串列資料DIN將對應的資料傳送至移位暫存器214~244中後,移位暫存器214~244中的最後一個儲存位元(即201、202、203、204)會維持在邏輯低電位,此時多工器212~242的輸出也會維持在邏輯低電位。由於移位暫存器214~244分別新增一個儲存元件201、202、203、204,因此串列資料DIN也會同時配合調整其資料格式,在每個單位(發光二極體)的驅動資料中新增一個位元,並將此位元設定為邏輯低電位。Please refer to FIG. 3. FIG. 3 is a temporary storage circuit according to a second embodiment of the present invention. The temporary storage circuit 200 includes circuit units 210-240, and the circuit units 210-240 are respectively multiplexers 212-242 and shift registers. 214~244 are composed of selection units 216~246, and the circuit structure thereof is similar to that of FIG. 1 above, and will not be described here. The main difference between FIG. 3 and FIG. 1 is that the shift registers 214-244 respectively have one more storage bit (ie, 201, 202, 203, 204) than the shift registers 114-144, so that the shift register 214 is shifted. ~244 is the M+1 bit shift register. After the serial data DIN transfers the corresponding data to the shift registers 214-244, the last one of the shift registers 214-244 (ie, 201, 202, 203, 204) is maintained. The logic is low, and the output of the multiplexers 212~242 will remain at a logic low. Since the shift registers 214~244 respectively add a storage element 201, 202, 203, 204, the serial data DIN also cooperates with the adjustment of the data format, and the driving data in each unit (light emitting diode) Add a new bit in the bit and set this bit to a logic low.

圖4為根據本發明第二實施例之波形圖,由於移位暫存器214~244中的最後一個位元在儲存驅動資料時,依然維持為邏輯低電位,因此圖4的波形與圖2相同,其輸出信號DO1~DO4均不會因選擇信號SEL1~SE4的時序不同而產生錯誤的信號波形。4 is a waveform diagram of a second embodiment of the present invention. Since the last bit in the shift registers 214-244 remains at a logic low level when the drive data is stored, the waveform of FIG. 4 and FIG. 2 Similarly, the output signals DO1 to DO4 do not generate an erroneous signal waveform due to the timing of the selection signals SEL1 to SE4.

同理,串列資料DIN也可以由M位元的驅動資料與一個位元的邏輯高電位所組成,這樣可使移位暫存器214~244中的最後一個儲存位元(即201、202、203、204)在儲存對應的驅動資料後皆為邏輯高電位。因此,多工器212、222、232與242的輸出會維持在邏輯高電位,在這種情況下,就如同上述第一實施例一般,即使選擇信號SEL1~SEL4的時序不一致,但在時間T1後,輸出信號DO1、DO2、DO3、DO4的波形皆會一致。藉此,即可克服因選擇信號SEL1~SEL4而導致輸出信號DO1、DO2、DO3、DO4的波形不一致的問題。Similarly, the serial data DIN can also be composed of the M bit drive data and a bit logic high potential, so that the last one of the shift registers 214~244 can be stored (ie, 201, 202). 203, 204) are all logic high after storing the corresponding driver data. Therefore, the outputs of the multiplexers 212, 222, 232, and 242 are maintained at a logic high level. In this case, as in the above-described first embodiment, even if the timings of the selection signals SEL1 to SEL4 are inconsistent, at time T1 After that, the waveforms of the output signals DO1, DO2, DO3, and DO4 will be the same. Thereby, the problem that the waveforms of the output signals DO1, DO2, DO3, and DO4 are inconsistent due to the selection signals SEL1 to SEL4 can be overcome.

第三實施例Third embodiment

請參照圖5,圖5為根據本發明第三實施例之暫存電路,暫存電路500包括電路單元510~540,電路單元510~540分別由多工器512~542、移位暫存器514~544與選擇單元516~546所構成,其電路結構與上述圖1相似,在此不加累述。圖5與圖1主要差異在於多工器512~542,多工器512~542分別具有三個輸入端。以電路單元510為例,多工器512具有一第一輸入端、一第二輸入端與一第三輸入端,第一輸入端耦接於資料輸入端以接收串列資料DIN,第二輸入端耦接於一邏輯低電位L,第三輸入端耦接於移位暫存器514的輸出,多工器512的輸出端耦接於資料輸出端以產生輸出信號DO1。多工器512根據選擇信號SEL1選擇第一輸入端(“2”端)、第二輸入端(“1”端)與第三輸入端(“0”端)其中之一所接收之信號作為多工器512的輸出。電路單元520~540的內部電路結構與電路單元510相似,如圖5所示,在此不加累述。Please refer to FIG. 5. FIG. 5 is a temporary storage circuit according to a third embodiment of the present invention. The temporary storage circuit 500 includes circuit units 510-540, and the circuit units 510-540 are respectively multiplexers 512-542 and shift registers. 514~544 is composed of selection units 516~546, and its circuit structure is similar to that of FIG. 1 above, and will not be described here. The main difference between FIG. 5 and FIG. 1 is that the multiplexers 512-542 have multiplexers 512-542 having three inputs. Taking the circuit unit 510 as an example, the multiplexer 512 has a first input end, a second input end and a third input end. The first input end is coupled to the data input end to receive the serial data DIN, the second input. The terminal is coupled to a logic low potential L. The third input terminal is coupled to the output of the shift register 514. The output of the multiplexer 512 is coupled to the data output terminal to generate the output signal DO1. The multiplexer 512 selects a signal received by one of the first input terminal ("2" terminal), the second input terminal ("1" terminal), and the third input terminal ("0" terminal) according to the selection signal SEL1. The output of the tool 512. The internal circuit structure of the circuit units 520-540 is similar to that of the circuit unit 510, as shown in FIG. 5, and will not be described here.

當串列資料DIN轉換為第二資料模式以傳遞模式切換信號時,時脈信號CLK維持在一固定準位,多工器512~542會依據選擇信號SEL1~SEL4先選擇第二輸入端所接收的信號作為輸出並維持一預設時間,然後再選擇第一輸入端所接收的信號作為輸出。換言之,多工器512~542為兩段式的切換,會先將通道切換至第二輸入端(“1”端),使其輸出轉換為邏輯低電位L,然後再切換置第一輸入端(“2”端)以傳遞串列資料DIN中的模式切換信號(即脈衝信號MS)。由於多工器512~542的輸出皆會先切換至邏輯低電位L,因此即使後端的電路單元的切換時序較快也不會接收到錯誤的脈衝。值得注意的是,多工器512~542選擇第二輸入端所接收的信號作為輸出的維持時間可以第一預設時間表示,其長度可依照設計需求而定,本實施例並不受限。上述第一實施例中,利用偵測時脈信號CLK是否維持在該固定準位超過預設時間來判斷選擇信號SEL1~SEL4是否切換的時間長度可以第二預設時間表示,上述第一預設時間與第二預設時間可相同或不同,可依照設計需求分別設定,本實施例並不限定。When the serial data DIN is converted to the second data mode to transmit the mode switching signal, the clock signal CLK is maintained at a fixed level, and the multiplexers 512-542 select the second input according to the selection signals SEL1 SEL SEL4. The signal is output as a preset time and then the signal received at the first input is selected as the output. In other words, the multiplexers 512~542 are two-stage switching, and the channel is first switched to the second input terminal ("1" terminal), the output thereof is converted into a logic low potential L, and then the first input terminal is switched. ("2" end) to transfer the mode switching signal (ie, pulse signal MS) in the serial data DIN. Since the outputs of the multiplexers 512 to 542 are first switched to the logic low potential L, even if the switching timing of the circuit unit at the back end is fast, an erroneous pulse is not received. It should be noted that the multiplexer 512~542 selects the signal received by the second input as the output. The maintenance time can be expressed by the first preset time. The length can be determined according to the design requirements. This embodiment is not limited. In the above-mentioned first embodiment, the length of time for determining whether the selection signals SEL1 SEL SEL4 are switched by detecting whether the clock signal CLK is maintained at the fixed level exceeds a preset time may be represented by a second preset time, where the first preset is The time and the second preset time may be the same or different, and may be separately set according to design requirements, and the embodiment is not limited.

接下來,請同時參照圖6,圖6為根據本發明第三實施例之波形圖,以選擇信號SEL1為例,當串列資料DIN為第二資料模式以傳遞脈衝信號MS時,時脈信號CLK會維持在邏輯高電位,選擇信號SEL1在經過計數時間Tmode1的一半(即Tmode1/2)後將多工器512的通道切換至第二輸入端(“1”端),然後在經過計數時間Tmode1後,再將多工器512的通道切換至第一輸入端(“2”端)以傳遞串列資料DIN。由於移位暫存器514的最後一個儲存單元所儲存的資料為邏輯高電位(H),因此輸出信號DO1在時間T2前為邏輯高電位,然後在時間T2後轉換為邏輯低電位,在時間T3後,輸出信號DO1的波形與串列信號DIN相同。Next, please refer to FIG. 6 at the same time. FIG. 6 is a waveform diagram according to a third embodiment of the present invention. Taking the selection signal SEL1 as an example, when the serial data DIN is the second data mode to transmit the pulse signal MS, the clock signal is used. CLK will remain at a logic high level, and the selection signal SEL1 will switch the channel of the multiplexer 512 to the second input terminal ("1" terminal) after half of the counting time Tmode1 (ie, Tmode1/2), and then after the counting time After Tmode1, the channel of the multiplexer 512 is switched to the first input terminal ("2" terminal) to transmit the serial data DIN. Since the data stored in the last storage unit of the shift register 514 is logic high (H), the output signal DO1 is logic high before time T2, and then transitions to logic low after time T2, at time. After T3, the waveform of the output signal DO1 is the same as the serial signal DIN.

選擇信號SEL2在經過計數時間Tmode2的一半(即Tmode2/2)將多工器522的通道切換至第二輸入端(“1”端),然後在經過計數時間Tmode2後,再將多工器522的通道切換至第一輸入端(“2”端)以傳遞輸出信號DO1。由於移位暫存器524的最後一個儲存單元所儲存的資料為邏輯低電位(L),因此輸出信號DO2一直處於在邏輯低電位直到輸出信號DO1改變。在時間T3後,輸出信號DO2的波形與串列信號DIN相同。The selection signal SEL2 switches the channel of the multiplexer 522 to the second input terminal ("1" terminal) halfway through the counting time Tmode2 (ie, Tmode2/2), and then passes the multiplexer 522 after the counting time Tmode2 elapses. The channel is switched to the first input ("2" terminal) to pass the output signal DO1. Since the data stored in the last storage unit of the shift register 524 is a logic low (L), the output signal DO2 is always at a logic low until the output signal DO1 changes. After time T3, the waveform of the output signal DO2 is the same as the serial signal DIN.

選擇信號SEL3在經過計數時間Tmode3的一半(即Tmode3/2)將多工器532的通道切換至第二輸入端(“1”端),然後在經過計數時間Tmode3後,再將多工器532的通道切換至第一輸入端(“2”端)以傳遞輸出信號DO2。由於移位暫存器534的最後一個儲存單元所儲存的資料為邏輯高電位(H),因此輸出信號DO3在時間T4前為邏輯高電位,然後在時間T4後轉換為邏輯低電位。而在時間T3後,輸出信號DO3的波形與串列信號DIN相同。The selection signal SEL3 switches the channel of the multiplexer 532 to the second input terminal ("1" terminal) after half of the counting time Tmode3 (ie, Tmode3/2), and then passes the multiplexer 532 after the counting time Tmode3 elapses. The channel is switched to the first input ("2" terminal) to pass the output signal DO2. Since the data stored in the last memory location of shift register 534 is logic high (H), output signal DO3 is logic high before time T4 and then transitions to logic low after time T4. After time T3, the waveform of the output signal DO3 is the same as the serial signal DIN.

選擇信號SEL4在經過計數時間Tmode4的一半(即Tmode4/2)將多工器542的通道切換至第二輸入端(“1”端),然後在經過計數時間Tmode4後,再將多工器542的通道切換至第一輸入端(“2”端)以傳遞輸出信號DO3。由於移位暫存器544的最後一個儲存單元所儲存的資料為邏輯低電位(L),因此輸出信號DO4一直處於在邏輯低電位直到輸出信號DO3改變。在時間T3後,輸出信號DO4的波形與串列信號DIN相同。The selection signal SEL4 switches the channel of the multiplexer 542 to the second input terminal ("1" terminal) at half of the count time Tmode4 (ie, Tmode4/2), and then passes the multiplexer 542 after the elapse of the count time Tmode4. The channel is switched to the first input ("2" end) to pass the output signal DO3. Since the data stored in the last storage unit of the shift register 544 is a logic low (L), the output signal DO4 is always at a logic low until the output signal DO3 changes. After time T3, the waveform of the output signal DO4 is the same as the serial signal DIN.

由圖6可知,雖然選擇信號SEL1~SEL4的切換時序不相同(Tmode1>Tmode2>Tmode3>Tmode4),但是在時間T3後,輸出信號DO1~DO4的波形與串列信號DIN相同,並不會因時序差異而產生錯誤的信號波形。值得注意的是,不論移位暫存器514~544中最後一個儲存單元為邏輯高電位或邏輯低電位,其多工器512~542皆會在切換至第一輸入端前,將其輸出端先轉換為邏輯低電位,藉此可避免後端的電路單元接收到到錯誤的脈衝信號。同時也表示,不論移位暫存器514~544中最後一個儲存單元為邏輯高電位或邏輯低電位,本實施例之技術手段皆具有相同的效果。As can be seen from FIG. 6, although the switching timings of the selection signals SEL1 to SEL4 are different (Tmode1>Tmode2>Tmode3>Tmode4), after the time T3, the waveforms of the output signals DO1 to DO4 are the same as the serial signal DIN, and it is not caused by The timing difference produces an erroneous signal waveform. It should be noted that, regardless of whether the last storage unit in the shift register 514~544 is logic high or logic low, the multiplexers 512~542 will output their outputs before switching to the first input. It is first converted to a logic low level, thereby preventing the circuit unit at the back end from receiving an erroneous pulse signal. It is also shown that the technical means of this embodiment have the same effect regardless of whether the last storage unit in the shift registers 514-544 is a logic high or a logic low.

同理,多工器512~542的第二輸入端(“1”端)所耦接的邏輯位準也可以改為邏輯高電位,同樣具有避免因選擇信號SEL1~SEL4的時序不一致而造成輸出信號DO1~DO4的波形不一致的問題。Similarly, the logic level coupled to the second input terminal ("1" terminal) of the multiplexers 512~542 can also be changed to a logic high level, and also has the effect of avoiding the output due to the timing inconsistency of the selection signals SEL1~SEL4. The waveforms of the signals DO1~DO4 are inconsistent.

此外,值得注意的是,在本實施例中,暫存電路500可由複數個電路單元510~540或由單一個電路單元構成,其構成暫存電路500的電路單元個數並不受限。每一電路單元510~540皆可為獨立之積體電路(integrated circuit)或晶片,其串接方式則可藉由印刷電路板上的連接線或是排線來連接。In addition, it should be noted that in the present embodiment, the temporary storage circuit 500 may be composed of a plurality of circuit units 510-540 or a single circuit unit, and the number of circuit units constituting the temporary storage circuit 500 is not limited. Each of the circuit units 510-540 can be a separate integrated circuit or a chip, and the serial connection can be connected by a connection line or a cable on the printed circuit board.

第四實施例Fourth embodiment

為解決選擇信號SEL1~SEL4切換時序不同所造成的影響,除上述實施例的技術手段外,也可以直接以發光二極體驅動電路外部的拴鎖信號LAT來統一驅動所有多工器,這樣便可避免時序不一致的問題。在發光二極體的驅動電路領域中,其驅動電路會使用外接的拴鎖信號LAT來進行資料拴鎖。本實施例之暫存電路若是應用於發光二極體的驅動電路中則可利用拴鎖信號LAT來控制所有多工器。請參照圖7,圖7為根據本發明第三實施例之暫存電路。暫存電路700包括電路單元710~740,電路單元710~740分別由多工器712~742與移位暫存器714~744所構成,其多工器712~742與移位暫存器714~744的電路結構與上述圖1相似,主要差別在於電路單元710~740中不具有選擇單元。In order to solve the influence caused by the different switching timings of the selection signals SEL1 SEL SEL4, in addition to the technical means of the above embodiments, all the multiplexers can be uniformly driven directly by the shackle signal LAT outside the LED driving circuit, so that Avoid timing inconsistencies. In the field of driving circuits of light-emitting diodes, the driving circuit uses the external latch signal LAT to perform data latching. If the temporary storage circuit of this embodiment is applied to a driving circuit of a light-emitting diode, all the multiplexers can be controlled by using the shackle signal LAT. Please refer to FIG. 7. FIG. 7 is a temporary storage circuit according to a third embodiment of the present invention. The temporary storage circuit 700 includes circuit units 710-740, and the circuit units 710-740 are respectively composed of multiplexers 712-742 and shift registers 714-744, and multiplexers 712-742 and shift register 714. The circuit structure of ~744 is similar to that of FIG. 1 described above, and the main difference is that there are no selection units in circuit units 710-740.

電路單元710~740的選擇信號SEL1~SEL4是由外部的拴鎖信號LAT所產生,因此其時序一致,不會有多工器切換時序不一致的問題產生。請同時參照圖8,圖8為根據本發明第四實施例之波形圖。同樣地,當串列資料DIN轉換為第二資料模式時,拴鎖信號LAT會在時間T3時轉換為邏輯高電位以將多工器712~742的通道切換至第一輸入端(“1”端)直到脈衝信號MS結束。由於選擇信號SEL1~SEL4是直接由拴鎖信號LAT產生,因此時序一致,所有輸出信號DO1~DO4的波形在時間T3後皆會與串列資料DIN相同。因此,每一級的電路單元710~740所接收到的模式切換信號(由脈衝信號MS所組成)都會相同。The selection signals SEL1 to SEL4 of the circuit units 710 to 740 are generated by the external shackle signal LAT, so that the timings thereof are uniform, and there is no problem that the multiplexer switching timing is inconsistent. Please refer to FIG. 8 at the same time. FIG. 8 is a waveform diagram of a fourth embodiment of the present invention. Similarly, when the serial data DIN is converted to the second data mode, the latch signal LAT is converted to a logic high level at time T3 to switch the channels of the multiplexers 712-742 to the first input ("1"). End) until the end of the pulse signal MS. Since the selection signals SEL1~SEL4 are directly generated by the shackle signal LAT, the timing is consistent, and the waveforms of all the output signals DO1~DO4 will be the same as the serial data DIN after time T3. Therefore, the mode switching signals (composed of the pulse signals MS) received by the circuit units 710-740 of each stage are the same.

在本實施例中,暫存電路700可由多個電路單元710~740串接構成或由單一個電路單元710~740構成,其電路單元710~740可分別整合在不同的發光二極體驅動電路中,並利用發光二極體驅動電路用來拴鎖驅動資料的拴鎖信號來切換多工器712~742。如此不僅可避免信號失真,同時也可以降低發光二極體驅動電路所需的接腳數。In this embodiment, the temporary storage circuit 700 may be formed by a plurality of circuit units 710-740 or may be composed of a single circuit unit 710-740, and the circuit units 710-740 may be integrated into different LED driving circuits respectively. The multiplexer 712~742 is switched by using the illuminating diode driving circuit for latching the shackle signal of the driving data. This not only avoids signal distortion, but also reduces the number of pins required for the LED driver circuit.

上述實施例揭露數種暫存電路的實施方式,其主要解決的問題都是在使各級電路單元所接收到的模式切換信號一致。即使各級電路單元的切換時序稍有不同,只要透過上述技術手段便可在一定程度的誤差中避免產生錯誤的脈衝信號。此外,上述暫存電路之技術手段可應用於各種串接的儲存電路或是驅動電路(例如顯示器的驅動電路或是發光二極體的驅動電路)中的暫存電路。暫存電路中的電路單元可設置在相同的晶片中,也可以設置在不同的晶片中,然後再以連接線相互連接,皆不影響其作用。The above embodiments disclose embodiments of several temporary storage circuits, the main problem of which is to make the mode switching signals received by the circuit units of the stages consistent. Even if the switching timing of the circuit units of each stage is slightly different, it is possible to avoid generating an erroneous pulse signal in a certain degree of error by the above-mentioned technical means. In addition, the technical means of the above temporary storage circuit can be applied to various serially connected storage circuits or temporary storage circuits in a driving circuit (for example, a driving circuit of a display or a driving circuit of a light emitting diode). The circuit units in the temporary storage circuit can be disposed in the same wafer, or can be disposed in different wafers, and then connected to each other by the connecting lines without affecting the function.

綜上所述,本發明利用資料格式與多工器的切換順序使多級串接的電路單元可以正確的傳遞資料,避免因為個別電路的時序不一致而導致資料傳遞錯誤。此外,本發明尤其適用於發光二極體的驅動電路,可直接用來解決多級串接電路之間的資料傳遞問題。In summary, the present invention utilizes the data format and the multiplexing sequence of the multiplexer to enable the multi-level serially connected circuit units to correctly transfer data, thereby avoiding data transmission errors due to inconsistent timing of individual circuits. In addition, the present invention is particularly suitable for a driving circuit of a light-emitting diode, and can be directly used to solve the problem of data transmission between multi-stage serial circuits.

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

100、300、500、700...暫存電路100, 300, 500, 700. . . Temporary circuit

110~140、210~240、510~540、710~740...電路單元110~140, 210~240, 510~540, 710~740. . . Circuit unit

112~142、212~242、512~542、712~742...多工器112~142, 212~242, 512~542, 712~742. . . Multiplexer

114~144、214~244、514~544、714~744...移位暫存器114~144, 214~244, 514~544, 714~744. . . Shift register

116~146、216~246、516~546...選擇單元116~146, 216~246, 516~546. . . Selection unit

201、202、203、204...最後之儲存位元201, 202, 203, 204. . . Last storage bit

DIN...串列信號DIN. . . Serial signal

DO1~DO4...輸出信號DO1~DO4. . . output signal

CLK...時脈信號CLK. . . Clock signal

SEL1~SEL4...選擇信號SEL1~SEL4. . . Selection signal

Tmode1~Tmode4...計數時間Tmode1~Tmode4. . . Counting time

T1~T4...時間點T1~T4. . . Time point

MS...脈衝信號MS. . . Pulse signal

H...邏輯高電位H. . . Logic high potential

L...邏輯低電位L. . . Logical low potential

0、1、2...多工器的輸入端0, 1, 2. . . Multiplexer input

圖1為根據本發明第一實施例之暫存電路。1 is a temporary storage circuit in accordance with a first embodiment of the present invention.

圖2為根據本發明第一實施例之信號波形圖。Figure 2 is a signal waveform diagram in accordance with a first embodiment of the present invention.

圖3為根據本發明第二實施例之暫存電路。3 is a temporary storage circuit in accordance with a second embodiment of the present invention.

圖4為根據本發明第二實施例之波形圖。Figure 4 is a waveform diagram in accordance with a second embodiment of the present invention.

圖5為根據本發明第三實施例之暫存電路。Figure 5 is a temporary storage circuit in accordance with a third embodiment of the present invention.

圖6為根據本發明第三實施例之波形圖。Figure 6 is a waveform diagram of a third embodiment of the present invention.

圖7為根據本發明第三實施例之暫存電路。Figure 7 is a temporary storage circuit in accordance with a third embodiment of the present invention.

圖8為根據本發明第四實施例之波形圖。Figure 8 is a waveform diagram showing a fourth embodiment of the present invention.

500...暫存電路500. . . Temporary circuit

510~540...電路單元510~540. . . Circuit unit

512~542...多工器512~542. . . Multiplexer

514~544...移位暫存器514~544. . . Shift register

516~546...選擇單元516~546. . . Selection unit

DIN...串列信號DIN. . . Serial signal

DO1~DO4...輸出信號DO1~DO4. . . output signal

CLK...時脈信號CLK. . . Clock signal

SEL1~SEL4...選擇信號SEL1~SEL4. . . Selection signal

L...邏輯低電位L. . . Logical low potential

0、1、2...多工器的輸入端0, 1, 2. . . Multiplexer input

Claims (22)

一種暫存電路,包括:一第一電路單元;以及一第二電路單元,其中該第一電路單元和該第二電路單元耦接於一時脈信號;其中該第一電路單元包含:一第一資料輸入端,用以接收串列資料;一第一資料輸出端;一第一移位暫存器,具有複數個相互串接的儲存元件,其中該第一移位暫存器的第一個儲存元件耦接於該第一資料輸入端並根據該時脈信號傳遞串列資料;以及一第一多工器,包含一第一輸入端、一第二輸入端、一第一輸出端和一第一選擇端,其中該第一輸入端耦接於該第一資料輸入端,該第二輸入端耦接於該第一移位暫存器的最後一個儲存元件,以及該第一輸出端耦接於該第一資料輸出端;其中該第一多工器之第一選擇端接收一第一選擇信號選擇該第一輸入端或該第二輸入端所接收的信號作為該第一多工器的輸出並傳遞至該第一資料輸出端;該第二電路單元包含: 一第二資料輸入端,耦接於該一第一資料輸出端;一第二資料輸出端;一第二移位暫存器,具有複數個相互串接的儲存元件,其中該第二移位暫存器的第一個儲存元件耦接於該第二資料輸入端並根據該時脈信號傳遞串列資料;以及一第二多工器,具有一第三輸入端、一第四輸入端、一第二輸出端和一第二選擇端,其中該第三輸入端耦接於該第二資料輸入端,該第四輸入端耦接於該第二移位暫存器的最後一個儲存元件,以及該第二輸出端耦接於該第二資料輸出端;其中該第二多工器根據該第二選擇信號選擇該第三輸入端或該第四輸入端所接收的信號作為該第二多工器的輸出並傳遞至該第二資料輸出端;其中,在該第一多工器的該第一選擇信號和該第二多工器的該第二選擇信號分別設定為由該第二輸入端和該第四輸入端所接收的信號作為輸出時,藉由傳送一第一資料模式之串列資料至該第一電路單元,並透過該第一電路單元傳送至該第二電路單元,將該第一多工器的該第二輸入端所接收的信號和該第二多工器的該第四輸入端所接收的信號分別在該第一資料模式之串列資料通過該第一移位暫存器和該第二移位暫存器後設定為一 相同的邏輯準位。 A temporary storage circuit includes: a first circuit unit; and a second circuit unit, wherein the first circuit unit and the second circuit unit are coupled to a clock signal; wherein the first circuit unit comprises: a first a data input end for receiving the serial data; a first data output end; a first shift register having a plurality of storage elements connected in series, wherein the first one of the first shift registers The storage component is coupled to the first data input end and transmits the serial data according to the clock signal; and a first multiplexer includes a first input end, a second input end, a first output end, and a first input end a first selection end, wherein the first input end is coupled to the first data input end, the second input end is coupled to the last storage element of the first shift register, and the first output end is coupled Connected to the first data output terminal; wherein the first selection end of the first multiplexer receives a first selection signal to select a signal received by the first input terminal or the second input terminal as the first multiplexer Output and pass to the first data output ; The second circuit means comprises: a second data input end coupled to the first data output end; a second data output end; a second shift register having a plurality of storage elements connected in series, wherein the second shift The first storage element of the register is coupled to the second data input end and transmits the serial data according to the clock signal; and a second multiplexer has a third input end and a fourth input end. a second output end coupled to the second data input end, the fourth input end being coupled to the last storage element of the second shift register And the second output end is coupled to the second data output end; wherein the second multiplexer selects the signal received by the third input end or the fourth input end as the second multiple according to the second selection signal The output of the device is transmitted to the second data output terminal; wherein the first selection signal of the first multiplexer and the second selection signal of the second multiplexer are respectively set to be the second input By using the signal received by the terminal and the fourth input as an output And sending a serial data of the first data mode to the first circuit unit, and transmitting the data to the second circuit unit through the first circuit unit, and receiving the signal received by the second input end of the first multiplexer The signal received by the fourth input end of the second multiplexer is set to one after the serial data of the first data mode passes through the first shift register and the second shift register respectively. The same logic level. 如申請專利範圍第1項所述之暫存電路,其中該第一多工器的該第二輸入端所接收的信號為該第一移位暫存器的最後一個儲存元件所對應的資料,以及該第二多工器的該第四輸入端所接收的信號為該第二移位暫存器的最後一個儲存元件所對應的資料。 The temporary storage circuit of claim 1, wherein the signal received by the second input end of the first multiplexer is data corresponding to a last storage element of the first shift register, And the signal received by the fourth input end of the second multiplexer is data corresponding to the last storage element of the second shift register. 如申請專利範圍第1項所述之暫存電路,其中該第一資料模式之串列資料被傳送後,將該第一多工器的該第一選擇信號與該第二多工器的該第二選擇信號分別設定為由該第一輸入端與該第三輸入端所接收的信號作為輸出,再傳送一第二資料模式至該第一電路單元,並透過該第一電路單元傳送至該第二電路單元。 The temporary storage circuit of claim 1, wherein the first selection signal of the first multiplexer and the second multiplexer of the first multiplexer are transmitted after the serial data of the first data pattern is transmitted The second selection signal is respectively set as a signal received by the first input end and the third input end, and then transmits a second data mode to the first circuit unit, and is transmitted to the first circuit unit through the first circuit unit. Second circuit unit. 如申請專利範圍第3項所述之暫存電路,其中該第一資料模式之串列資料包含複數筆發光二極體驅動資料,以及該第二資料模式為一模式切換信號,其中該模式切換信號包含複數個脈衝信號。 The temporary storage circuit of claim 3, wherein the serial data of the first data mode comprises a plurality of LED driving data, and the second data mode is a mode switching signal, wherein the mode switching The signal contains a plurality of pulse signals. 如申請專利範圍第4項所述之暫存電路,其中當該第一資料模式之串列資料轉換為該第二資料模式時,該時脈信號維持在一固定準位。 The temporary storage circuit of claim 4, wherein the clock signal is maintained at a fixed level when the serial data of the first data pattern is converted to the second data mode. 如申請專利範圍第5項所述之暫存電路,其中該時脈信號維持在該固定準位超過一預設時間。 The temporary storage circuit of claim 5, wherein the clock signal is maintained at the fixed level for more than a predetermined time. 如申請專利範圍第1項所述之暫存電路,其中該第一選擇信號和該第二選擇信號來自於一拴鎖信號以拴鎖串列資料。 The temporary storage circuit of claim 1, wherein the first selection signal and the second selection signal are derived from a shackle signal to lock the serial data. 一種暫存電路,包括:一第一電路單元,接收一時脈信號與一串列資料,該串接資料包括一第一資料模式與一第二資料模式,該第一電路單元包括:一資料輸入端,用以接收該串列資料;一資料輸出端;一移位暫存器,具有K個相互串接的儲存元件,K為正整數,該移位暫存器耦接於該資料輸入端並根據該時脈 信號傳遞該串列資料;以及一多工器,具有一第一輸入端、一第二輸入端與一第三輸入端,該第一輸入端耦接於該資料輸入端,該第二輸入端耦接於一固定邏輯準位,該第三輸入端耦接於該移位暫存器的輸出,該多工器的輸出端耦接於該資料輸出端,且該多工器根據一選擇信號選擇該第一輸入端、該第二輸入端與該第三輸入端其中之一所接收之信號作為該多工器的輸出;以及一選擇單元,耦接於該多工器的選擇端,並根據該串列資料的資料模式產生該選擇信號;其中,當該串列資料為該第一資料模式時,該多工器選擇該第三輸入端所接收的信號作為輸出;當該串列資料轉換為該第二資料模式時,該多工器依據該選擇信號先選擇該第二輸入端所接收的信號作為輸出並維持一第一預設時間,然後再選擇該第一輸入端所接收的信號作為輸出。 A temporary storage circuit includes: a first circuit unit that receives a clock signal and a series of data, the serial data comprising a first data mode and a second data mode, the first circuit unit comprising: a data input The terminal is configured to receive the serial data; a data output terminal; a shift register having K storage elements connected in series, K is a positive integer, and the shift register is coupled to the data input end And according to the clock Signaling the serial data; and a multiplexer having a first input end, a second input end, and a third input end, the first input end being coupled to the data input end, the second input end The third input end is coupled to the output of the shift register, the output end of the multiplexer is coupled to the data output end, and the multiplexer is configured according to a selection signal Selecting a signal received by one of the first input terminal, the second input terminal, and the third input terminal as an output of the multiplexer; and a selection unit coupled to the selection end of the multiplexer, and Generating the selection signal according to the data pattern of the serial data; wherein, when the serial data is the first data mode, the multiplexer selects the signal received by the third input as an output; when the serial data Converting to the second data mode, the multiplexer first selects a signal received by the second input as an output according to the selection signal and maintains a first preset time, and then selects the first input end to receive The signal acts as an output. 如申請專利範圍第8項所述之暫存電路,更包括複數個第二電路單元,該些第二電路單元的電路結構與該第一電路單元相同,且該些第二電路單元與該第一電路單元相互串接,並根據 該時脈信號依序傳遞該第一電路單元所接收之該串列資料。 The temporary storage circuit of claim 8, further comprising a plurality of second circuit units, the circuit structures of the second circuit units being the same as the first circuit unit, and the second circuit units and the a circuit unit connected in series and according to The clock signal sequentially transmits the serial data received by the first circuit unit. 如申請專利範圍第8項所述之暫存電路,其中該第一電路單元係整合於一發光二極體驅動電路之中。 The temporary storage circuit of claim 8, wherein the first circuit unit is integrated in a light emitting diode driving circuit. 如申請專利範圍第8項所述之暫存電路,其中當該串列資料為該第一資料模式時,該串列資料包括複數筆發光二極體驅動資料;當該串列資料轉換為該第二資料模式時,該串列資料傳遞一模式切換信號,其中該模式切換信號包括複數個脈衝信號。 The temporary storage circuit of claim 8, wherein when the serial data is the first data mode, the serial data comprises a plurality of LED driving data; when the serial data is converted into the In the second data mode, the serial data conveys a mode switching signal, wherein the mode switching signal includes a plurality of pulse signals. 如申請專利範圍第11項所述之暫存電路,其中當該串列資料轉換為該第二資料模式時,該時脈信號維持在一固定準位。 The temporary storage circuit of claim 11, wherein the clock signal is maintained at a fixed level when the serial data is converted to the second data mode. 如申請專利範圍第12項所述之暫存電路,其中當該選擇單元偵測到該時脈信號維持在該固定準位超過一第二預設時間時,該選擇單元調整該選擇信號以使該多工器先選擇該第二輸入端所接收的信號作為輸出並維持該第一預設時間,然後再選擇該第一輸入端所接收的信號作為輸出。 The temporary storage circuit of claim 12, wherein the selection unit adjusts the selection signal when the selection unit detects that the clock signal is maintained at the fixed level for more than a second predetermined time. The multiplexer first selects the signal received by the second input as an output and maintains the first preset time, and then selects the signal received by the first input as an output. 如申請專利範圍第8項所述之暫存電路,其中該選擇單元包括一振盪電路與一計數器。 The temporary storage circuit of claim 8, wherein the selection unit comprises an oscillation circuit and a counter. 如申請專利範圍第1項所述之暫存電路,其中該第一電路單元和該第二電路單元係各別整合於一發光二極體驅動電路中。 The temporary storage circuit of claim 1, wherein the first circuit unit and the second circuit unit are respectively integrated in a light emitting diode driving circuit. 如申請專利範圍第1項所述之暫存電路,其中該第一電路單元進一步包含一第一選擇單元以設定該第一選擇信號,該第一選擇單元包括一第一振盪電路和一第一計數器;以及該第二電路單元進一步包含一第二選擇單元以設定該第二選擇信號,該第二選擇單元包括一第二振盪電路和一第二計數器。 The temporary storage circuit of claim 1, wherein the first circuit unit further comprises a first selection unit for setting the first selection signal, the first selection unit comprising a first oscillation circuit and a first And the second circuit unit further includes a second selection unit for setting the second selection signal, the second selection unit comprising a second oscillation circuit and a second counter. 一種暫存電路,包括:一第一電路單元;以及一第二電路單元,其中該第一電路單元和該第二電路單元耦接於一時脈信號;其中該第一電路單元包含:一第一資料輸入端,用以接收串列資料;一第一資料輸出端; 一第一移位暫存器,具有複數個相互串接的儲存元件,其中該第一移位暫存器的第一個儲存元件耦接於該第一資料輸入端並根據該時脈信號傳遞串列資料;以及一第一多工器,包含一第一輸入端、一第二輸入端、一第三輸入端、一第一輸出端和一第一選擇端,其中該第一輸入端耦接於該第一資料輸入端,該第二輸入端耦接於該第一移位暫存器的最後一個儲存元件,以及該第一輸出端耦接於該第一資料輸出端;其中該第一多工器之第一選擇端接收一第一選擇信號選擇該第一輸入端、該第二輸入端或該第三輸入端所接收的信號作為該第一多工器的輸出並傳遞至該第一資料輸出端;該第二電路單元包含:一第二資料輸入端,耦接於該一第一資料輸出端;一第二資料輸出端;一第二移位暫存器,具有複數個相互串接的儲存元件,其中該第二移位暫存器的第一個儲存元件耦接於該第二資料輸入端並根據該時脈信號傳遞串列資料;以及一第二多工器,具有一第四輸入端、一第五輸入端、一第六輸入端、一第二輸出端和一第二選擇端,其中該第四 輸入端耦接於該第二資料輸入端,該第五輸入端耦接於該第二移位暫存器的最後一個儲存元件,以及該第二輸出端耦接於該第二資料輸出端;其中該第二多工器根據該第二選擇信號選擇該第四輸入端、該第五輸入端或該第六輸入端所接收的信號作為該第二多工器的輸出並傳遞至該第二資料輸出端;其中,在該第一多工器的該第一選擇信號和該第二多工器的該第二選擇信號分別設定為由該第二輸入端和該第五輸入端所接收的信號作為輸出時,傳送一第一資料模式之串列資料至該第一電路單元,並透過該第一電路單元傳送至該第二電路單元後,將該第一多工器的該第三輸入端所接收的信號和該第二多工器的該第六輸入端所接收的信號分別在該第一資料模式之串列資料通過該第一移位暫存器和該第二移位暫存器後設定為一相同的邏輯準位,且將該第一多工器的該第一選擇信號和該第二多工器的該第二選擇信號分別設定為由該第三輸入端和該第六輸入端所接收的信號作為輸出。 A temporary storage circuit includes: a first circuit unit; and a second circuit unit, wherein the first circuit unit and the second circuit unit are coupled to a clock signal; wherein the first circuit unit comprises: a first a data input end for receiving serial data; a first data output end; a first shift register having a plurality of storage elements connected in series, wherein a first storage element of the first shift register is coupled to the first data input and transmitted according to the clock signal The first multiplexer includes a first input terminal, a second input terminal, a third input terminal, a first output terminal, and a first selection terminal, wherein the first input terminal is coupled Connected to the first data input end, the second input end is coupled to the last storage element of the first shift register, and the first output end is coupled to the first data output end; wherein the first a first selection end of a multiplexer receives a first selection signal to select a signal received by the first input terminal, the second input terminal or the third input terminal as an output of the first multiplexer and is transmitted to the a first data output terminal; the second circuit unit includes: a second data input end coupled to the first data output end; a second data output end; a second shift register having a plurality of a storage element connected in series, wherein the second shift register a storage element coupled to the second data input end and transmitting the serial data according to the clock signal; and a second multiplexer having a fourth input end, a fifth input end, a sixth input end, a second output end and a second selection end, wherein the fourth The input end is coupled to the second data input end, the fifth input end is coupled to the last storage element of the second shift register, and the second output end is coupled to the second data output end; The second multiplexer selects a signal received by the fourth input terminal, the fifth input terminal or the sixth input terminal as an output of the second multiplexer according to the second selection signal, and transmits the signal to the second a data output end; wherein the first selection signal of the first multiplexer and the second selection signal of the second multiplexer are respectively set to be received by the second input end and the fifth input end When the signal is output, transmitting the serial data of the first data mode to the first circuit unit, and transmitting the third input to the second circuit unit through the first circuit unit, the third input of the first multiplexer And the serial data received by the terminal and the signal received by the sixth input end of the second multiplexer in the first data mode are temporarily stored in the first shift register and the second shift register Set to the same logic level after the device, and the first multiple The first selection signal and the second selection signal of the second multiplexer's are set to the third input terminal and the sixth input signal received by the output. 如申請專利範圍第17項所述之暫存電路,其中在該第一多工器的該第一選擇信號和該第二多工器的該第二選擇信號分別設 定為由該第三輸入端和該第六輸入端所接收的信號作為輸出後,將該第一多工器的該第一選擇信號和該第二多工器的該第二選擇信號分別設定為由該第一輸入端和該第四輸入端所接收的信號作為輸出,並傳送一第二資料模式至該第一電路單元,並透過該第一電路單元傳送至該第二電路單元。 The temporary storage circuit of claim 17, wherein the first selection signal of the first multiplexer and the second selection signal of the second multiplexer are respectively set After the signals received by the third input terminal and the sixth input terminal are output, the first selection signal of the first multiplexer and the second selection signal of the second multiplexer are respectively set. The signals received by the first input terminal and the fourth input terminal are output, and a second data mode is transmitted to the first circuit unit and transmitted to the second circuit unit through the first circuit unit. 如申請專利範圍第18項所述之暫存電路,其中該第一資料模式之串列資料包含複數筆發光二極體驅動資料,以及該第二資料模式為一模式切換信號,其中該模式切換信號包含複數個脈衝信號。 The temporary storage circuit of claim 18, wherein the serial data of the first data mode comprises a plurality of LED driving data, and the second data mode is a mode switching signal, wherein the mode switching The signal contains a plurality of pulse signals. 如申請專利範圍第19項所述之暫存電路,其中當該第一資料模式之串列資料轉換為該第二資料模式時,該時脈信號維持在一固定準位。 The temporary storage circuit of claim 19, wherein the clock signal is maintained at a fixed level when the serial data of the first data pattern is converted to the second data mode. 如申請專利範圍第20項所述之暫存電路,其中該時脈信號維持在該固定準位超過一預設時間。 The temporary storage circuit of claim 20, wherein the clock signal is maintained at the fixed level for more than a predetermined time. 如申請專利範圍第17項所述之暫存電路,其中該第一電路單 元和該第二電路單元係各別整合於一發光二極體驅動電路中。The temporary storage circuit of claim 17, wherein the first circuit is The element and the second circuit unit are each integrated in a light emitting diode driving circuit.
TW98135651A 2009-10-21 2009-10-21 Register circuit TWI412230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98135651A TWI412230B (en) 2009-10-21 2009-10-21 Register circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98135651A TWI412230B (en) 2009-10-21 2009-10-21 Register circuit

Publications (2)

Publication Number Publication Date
TW201115922A TW201115922A (en) 2011-05-01
TWI412230B true TWI412230B (en) 2013-10-11

Family

ID=44934645

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98135651A TWI412230B (en) 2009-10-21 2009-10-21 Register circuit

Country Status (1)

Country Link
TW (1) TWI412230B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11482293B2 (en) * 2020-08-06 2022-10-25 Novatek Microelectronics Corp. Control system with cascade driving circuits and related driving method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200844930A (en) * 2007-05-14 2008-11-16 Novatek Microelectronics Corp Apparatus and method for controlling backlight source
TW200928759A (en) * 2007-10-29 2009-07-01 Mosaid Technologies Inc Data processing with time-based memory access

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200844930A (en) * 2007-05-14 2008-11-16 Novatek Microelectronics Corp Apparatus and method for controlling backlight source
TW200928759A (en) * 2007-10-29 2009-07-01 Mosaid Technologies Inc Data processing with time-based memory access

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Universal Serial Bus Specification", Aprial 27, 2000. *

Also Published As

Publication number Publication date
TW201115922A (en) 2011-05-01

Similar Documents

Publication Publication Date Title
US8090267B2 (en) Complementary optical wiring apparatus
US7719527B2 (en) LED control circuit for automatically generating latch signal
US20050068309A1 (en) Display control device with multipurpose output driver
US7124334B2 (en) Test circuit and test method for communication system
US20230195663A1 (en) Integrated circuit having lanes interchangeable between clock and data lanes in clock forward interface receiver
US11145340B2 (en) Data transmission code and interface
US8248955B2 (en) Serial transmission apparatus and the method thereof
CN101783098A (en) Serial transmission device and signal transmission method
TWI412230B (en) Register circuit
EP1965608B1 (en) Control circuit for automatically generating latch signal to control LED device according to input data signal and clock signal
US8427457B2 (en) Display driver and built-in-phase-calibration circuit thereof
KR19980070138A (en) Serial to parallel converter
JP2004032217A (en) Parallel-serial conversion circuit, serial data generating circuit, synchronizing signal generating circuit, clock signal generating circuit, serial data transmission apparatus, serial data receiver, and serial data transmission system
US7213090B2 (en) Data transfer apparatus for serial data transfer in system LSI
US8106798B2 (en) Circuit and method for parallel to serial conversion
US8477382B2 (en) Apparatus and method for transmitting data in a multi-channel system
US20070156368A1 (en) Method and system for generating test pulses to test electronic elements
KR100833604B1 (en) Parity error detecting circuit
KR100675898B1 (en) Data training circuit
JP3238326U (en) Scan device that detects the start byte in a high frequency serial data stream
KR100667546B1 (en) Test device and method of serial data link
US20190080039A1 (en) Integrated circuit, scan shift control method, and circuit design method
JP3941376B2 (en) Signal distribution device
CN115561612A (en) Semiconductor device and test pulse signal generating method
KR101058518B1 (en) Device and method of data symbol locking