201105171 31181twf.doc/n 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種一種發光二極體的驅動裝置,且 特別是有關於一種具有驅動裝置狀態及發光元件狀態债測 功能的驅動裝置及其資料傳遞單元。 【先前技術】 發光二極體(Light Emitting Diode,LED)的體積小、省 電且耐用,而且隨著製程的成熟,價格下降,近來以發光 一極體做為光源之產品越來越普遍。此外,發夯_朽辨 作電壓低(僅1.5-3V)、能主動發光且有一▲亮^度 可用電壓或電流調卽,同時具備耐衝擊、抗振動、壽命長 (10萬小時)之特點,是以,發光二極體在各種終端設備 中被廣泛使用,從汽車前照燈、交通信號燈、文字顯示器、 看板及大螢幕視頻顯示器,到普通及建築照明和LCD背光 等領域。 在現今,發光二極體的驅動裝置除了驅動發光二極體 的基本功能外,為了簡化整體系統的維修工作,更合妗加 偵測電路以侧驅動裝置的狀態,並將制結果回^系 統的控制電路。® 1為傳統的發光二極體的鶴裝置的電 路架構示賴。請參照圖〗,驅動裝置咖包括移位暫存 器register)110、影像資料暫存器加匕 reglSter)l2〇、驅動致能電路u〇、驅動電路_,驅動裝置 偵測電路150'延伸暫存器16G、_電流設定電路17〇 201105171 iU81tWt.d〇c/n 及模式轉換電路180。移位暫存器(shift register) 110接收時 序信號CKI及資料輸入信號DIN,其中資料輸入信號可以 為影像資料或驅動裝置狀態。移位暫存器11〇配合時序信 號CKI擷取資料輸入信號DIN,並將擷取到的資料輸入信 號DIN輸出至影像資料暫存器12〇。移位暫存器no輸出 資料輸出信號DO,用以傳送其接收的影像資料或驅動裝 置狀態至下一驅動裝置或外部裝置。 影像資料暫存器120依據栓鎖信號LAT決定是否儲存 來自移位暫存器110的資料。驅動致能電路13〇接收輸出 致能信號EN’並依據輸出致能信號EN控制影像資料暫存 器120所儲存的資料是否傳送至驅動電路14〇。驅動電路 H0依據影像資料暫存H 12〇所儲存的資料輸出多個驅動 電流至對應的發光二極體(未㈣),以驅動發光二極體發 光(未緣示)。‘驅動電流設定電路17〇輕接驅動電路 以設定驅動電路140所輸出的驅動電流的大小。 , 在非顯示模式下,延伸暫存器16〇可儲存驅 =電路W所偵刺的驅練置狀態,並且依师= 將延伸暫存H 裡⑽練錄j 器110,其中觸發信號由模式轉換電路m所產=位=存 轉換電路180接收栓鎖信號Lat及輸出致能生拉式 ^據栓鎖錢道及㈣轉錢EN輸’並 號。例如:於—期間内,检鎖信號lat先:之觸發信 =輪出致能信號EN才出現—第二脈衝,則驅二: 由Μ式轉換至非顯示模式;反之,若輪出致能忍1: 201105171 31181twf.doc/n =寺未於帛脈衝之後出現第二脈衝,則驅動裝置100由 非顯不模式轉換至顯示模式。 由於傳統的驅動裝置僅能__裝置的狀態,並且 驅動裝置狀態的偵測結果需儲存至延伸暫存哭。在 ‘^示模式下經由-觸發信號觸發,延伸暫存器湖才能將 ”儲存之資料傳送至移位暫存H丨⑽。傳統的_方法需 要額外的延㈣存器· _外_發錢,並且須切換 至非顯示,造餘計上的目難與成本的浪費。 【發明内容】 本發明提供一種發光二極體的驅動裝置及其資料傳 遞單元,可以依據路徑選擇信號將偵測信號直接儲存至資 料傳遞單元’並透過資料傳遞單元直接將伽搶號傳送至 外部或下一個驅動裝置,可節省裝設額外暫存器的成本。 本發明提出一種發光二極體的驅動裝置,其包括資料 傳,單元、資料儲存單元、資料運算單元、發光二極體驅 動單元及偵測保護單元。資料傳遞單元接收資料輸入信號 及路徑選擇信號,依據路徑選擇信號決定儲存偵測信號或 對資料輸入信號進行取樣並且依序儲存所擷取之資料輸入 k號,其中資料輸入信號包括至少一發光二極體驅動資 料。資料儲存單元麵接資料傳遞單元,用以儲存資料傳遞 單元所擷取的資料輸入信號。資料運算單元耦接於資料儲 存單元’用以根據資料儲存單元所儲存之資料輸入信號輸 出資料運算結果。發光二極體驅動單元麵接於資料運算單 201105171 31181twf.doc/n 元,用以依據運异結果產生至少一勤 發光二極體。偵測仵ii動心唬以驅動至少一 μ心㈣保覆早兀輕接驅動 元,以侧所述發光二極體的狀態 傳遞早 •置的狀態並據此產生_信號。.Λ先―極體的驅動裝 在本發明之一貫施例中,μ^ — 個暫存n及多個多工器。此此/料傳遞單元包括多 暫存器。此鮮j分^串雜接卿成移位 其中每-“:=,述暫存器之間, 二母;,相對應之後-個= 測信號,並且此^㈣雜4料以接收偵 偵测信號。 ^從選擇信號決定是否輸出 在本發明之一實施例中, 存器在負緣觸發暫存器或雙緣觸為正緣觸發暫 的狀態包』驅二^ 中’上述發光二極體的驅動裝置 電4 =流驅:動裝置過電流、驅動裝= 度或驅動輕漏電流。動裝置魏失效、驅動裝置溫 發光二極=例中,上述發光二極體的狀態包括 β在本發明之開路或發光二極體老化程度。 在t 數位邏輯信號或開關信號。 H實施例中’上述之發^二極體驅動單元 201105171 3ll81twf.doc/n 更包括發光二極體驅動電路及驅動信號設定電路。二 接於資料運算單元,根據資料運算結果輸 出驅動^相驅動發光二極體。驅動信號設定電路柄接發 二路’用,整發光二極體驅動電路輸出: 括參錢 格数位類比轉換電路及電壓電流韓換 電路1數軸轉換電路_於#觸存單元以接收資料 輸入中之命令貝料。輕電流轉換電軸接參考電壓 數位類比轉換電路’用以調整發光二極體驅動 電路所輸出的驅動信號。 在,發明之一實施例中,上述之資料運算單元包括計 數^複數侃健。複數魏贿祕於計數器與資料 :存ΐ:次用以ί較所儲存之資料輸入信號與計數器的輸 以產生貝料運异結果至發光二極體驅動單元。 在本發明之-實施例中,上述之資料運算單元包括複 數個及閘。此齡_輪人分_接於資制存單元與致 4號’此些及閘的輸出則純於發光二極體驅動單元。 在本發明之-實施例中,驅動裝置更包括資料輸入信 號處理電路及多4。資料輸人信號處理電路接收資料輸 入信號並輸出同相或反相之資料輸人信號。多工哭的第一 輸入端減於資料傳遞單元的輸出n的第I輸入端 入信號處理電路的輸出,多工器的輸出端耦 接於貧料輸出端。 201105171 31181twtdoc/a 本么明另择出—種適用於 :巧遞’資料傳遞單元接 ;=置之資 少-發 存器串聯及多個多工器。-4; 號。此些多工器分別二取資料輪入信 每一多工荞的笛一AJ_ 、爭接的上述暫存器之間,发由 端,每-多工哭的松屮接於相對應之前—個暫存器的輪出 的輸入端了每公輪出端魄於相對應之後-個的暫= 侦測信號。C:端搞接偵測保護單二 她號或相對A之;夕=據模式選擇信號決定輪出 個暫存11的輸出。 包括偵測保元二ί:中述之發光二極體驅動裴置 驅動裂置的狀態並據此產生偵測信號。n先—極體 更包二貫施例中’上述之發光二極體驅動裂置 信號2==::號模式㈣單元依據检鎖信號及時序 传号卢if:實施例中’上述之路徑選擇信號於检鎖 ^由 轉態為第二準位後由第三準位轉態為第四 準位路捏選擇信號由第三 平位妍別5被由第五準位轉態為第六準 201105171 31181twf.doc/n 位間的時間大於或等於暫存哭 位轉態為第三準;=由== 為弟六準位間的時間大於或等於暫存器的保留時ΐ 在本發明之—實施例中,上述之第-準位與第-準位 六準位互狀相。㈣雜互献相,紅準位與第 —在本發明之—實施例中,上述之第-準位、第三準位 準位為鲜位,第二準位、第四準位及第五準位為 产在本發明之-實施例中,上述之第二準位、第三準位 =六準㈣鮮位,第―準L準位及第五準位為 面準位。 #在本發明之-實施例中,上述之第—準位、第三準位 ,第五準位為鮮位,第二準位、第四準位及第六準位為 向準位。 斤在本發明之一實施例中,上述之第二準位、第三準位 ^第五準位為低準位’第―準位、第四準位及第六準位為 两準位。 在本發明之一實施例中,上述之第一準位、第四準位 及第六準位為低準位,第二準位、第三準位及第五準位為 而準位。 在本發明之一實施例中,上述之第二準位、第四準位 及第六準位為低準位,第一準位、第三準位及第五準位為 1¾準位。 201105171 311intwi:doc/a 在本發明之一實施例中, 及第五準位為鮮位,第 雜、第四準位 高準位。 早位弟二準位及第六準位為 在本發明之一實施例-中, 及第五準位為低準位,第 =第一準位、第四準位 高準位。 丰位、弟二準位及第六準位為 在本發明之一實施例φ =由第六準位細一二=== 遞單元,其制極體的驅動裝置及其資料傳 依據路_擇信號直接儲存到 =存_存_信號’減少硬體設計的成本。 =本㈣之謂概和優職更 舉^例,並配合所附圖式作詳細說明如下。下幻寸 【實施方式】 第一實施例 路圖本發明第一實施例所述之驅動裝置的電 資料儲二二?八’驅動裝置200包括資料傳遞單元210、 元240、1早、資料運算單元230、發光二極體驅動單 、彳貞測保護單元25〇及模式控制單元施。資料 間?資 資料傳遞單元210與資料運算單元230之 、斗運异早70 230耦接發光二極體驅動單元240。偵 201105171 31I^ltwfdoc/n ,護2 240耦接於發光二極體驅動單元24〇與資料傳 =兀之間。模式控制單元260輕接資料傳遞單元 態,用來魏轉裝置的内部狀 :又、电屋、電流、電路功能是否失效、電路是 =路Si否::等狀態,以及發一 遞偵測結果並據此產生伽信號以傳 測保護述電壓狀態包括電壓過高或過低。偵 護,,行電路狀===需的_元件與保 250會依貞㈣果至裝置外部時,债測保護單元 存至資料傳擇信號狐將_錢巾_測結果儲 偵測結果輪出:二=電:由=傳:單元21°將 SEL在此由下、'及電路。其中,路徑選擇信號 260依據時序^^H早70 260所產生’並且模式控制單元 SEL·。 . σ旒CKI及拴鎖信號LAT產生路徑選擇信號 亦會受控卜於^:=债測結果時,資料傳遞單元21。 料輸入信贫nm、\SEL ’以根據時序信號CKI對資 同時資^遞^賴取的資料輸入信號, 以暫存所包純數鋪抑(树示),用 '/'+輸入“號din並輸出至資料儲存單元 201105171 3I18Itwt.doc/n 220。而資料輸人信號DIN會包括發先二極義驅動 並配合時序信號CKI的時縣進行傳送騎資光二 極體的驅動資料)。若驅動電路200是用來驅動由^二= .體所組成的顯示裝置,其驅動資料例如是灰階資料或圖 形資料。 資料儲存單元220根據拾鎖信號Lat _ 單元21〇中所暫存的資料,錢傳送至資料運算單元 =行運算,其中資繼存料22G可由多個資料儲存電路 (data storage c臟_組成(未繪示),並且各資料 會對應資料傳遞單元謂中_接的各暫存器。 單元23〇根據資料傳遞單元21G觸取之資料輪入^ DIN及致能信號EN輸出資料運算結果至發光二極體驅動 單元24〇。發光二極體鶴單元_根據轉運算結果輸 出對應的驅動信號來驅動複數個發光二極體或顯示壯 此外,資料運算單元23〇亦可在接收到資料傳遞單=⑽ 所擷取之貧料輸入信號DIN後,於運算完 ^果至發光二極體動電路·’而可不受控於= -般而言’驅動裝置施包括複數種功能模式,直功 能模式可藉賴式控號騎娜。倾;切制單元 亦可包括模式翻錢的產生電路以產賴式控制信 號。進一步來說’模式控制單元260亦可接收時序信^ck°i 與資料輸人信號DIN,並且會侧時序信號阳^形變 化。當時序信號CKI產生控制信號致能波形(例如脈衝寬 201105171 31181twf.doc/n 度較大„或負脈衝)時’控制單元26G會根據致能波 形^㈣定義—侧軸,紐在此個制中偵測計 數貝料輸入k號D IN的脈衝特徵所產生的脈衝數決定驅動 電路200的〜功能模式。 一貝料傳遞單元210、資料儲存單元22〇、資料運算單 兀23〇、發光二極體驅動單元240及偵測保護單元240則 可依照模式控制信號調整其工作模式餘定相對應的參 數。驅動电路200的功能模式則包括灰階數目設定、發光 二極體的點亮時間控制、單點色階調整(D〇t c霞ti⑽)、 驅,信號大小控制、致能信號控制、影像更新參考頻 率设定(Gray wale Clock)、驅動信號反向設定、驅動裝置狀 態偵測、顯示元件狀態_、,鶴裝置休眠設定、驅辭 置^度偵贱驅練置漏電流_或操作休眠設定。換 話祝’㈣功能模式可視為驅動電路·的 對應的電路參數值。 ㈣Μ相 工作偵測保護單7" 25G可根據模式控制信號調整 工作模式則貞邮_電路參數與環境狀態值。 =護單元250可依照設計者所設定的參數進行電路_ :電路保護,例如溫度保護、電流保護、 於 失效處理等。 X力把 圖邡為根據本發明第—實施例之資料傳遞 部電路圖。請參照® 2B,賴傳遞單 广 叫卿及多工器…,其中心^ 正整數’ X會小於或等於n ’其#本實施例的暫存^ 201105171 jnoiLwi.doc/n 211—1〜211—n以D型正反哭 遞單元21G透過D型正反二資;料, 移位暫存器。多工哭 °° -〜k11會串接以形成 接的正反器 與叫」之間,多工哭:二1配置於正反器211—2 211—η之間。多工哭 己於正反态211_n_l與 輸出端Q,多工弟:_正反器211-2的 以接收偵測作,,夕^的弟一端耦接偵測保護單元250 的輸入端D广:夕工為212-1的輸出端耦接正反器211-3 W依祕徑選擇錄狐細暫2 的耗接方式,配Χ則參照多卫器212-1 由資料傳避單421二:0之間’以使偵測信號能經 兩多工卜部或下—個驅動I置,其中 多工‘St 則依設計需求可以變動,並且兩 二間的正反器組合可視為—移位暫存器。 反器,用心ηπ ^ U—η可以為正緣觸發正 升緣m Ζ序# 由鲜位轉態為高準位(即上 叫。’操取並暫存資料輸入信號咖。正反器 由:進/ L—i可以為負緣觸發正反器,用以當時序信號CKI 人二為低準位(即下降緣)時,擷取並暫存資料輸 ^ dIN。而正反器211少211—n亦可以為雙緣觸發正 用以在時序信號CKI的上升緣及下降緣操取並暫存 14 201105171 31181twf.doc/n 資料輸入信號DIN。 圖2C為根據本發明第一實施例之觸發波形示意圖。 請,照圖2A及圖2C的(A)圖,在本實施例中,資料傳 遞單凡210之暫存器是以正緣觸發暫存器為例,當栓鎖作 號LAT由低準位轉態為高準位(即上升緣)時,資料傳遞單^ 2i〇…會將其暫存之資料儲存至資料儲存單元22〇,此時資料儲 存早兀220會依據栓鎖信號LAT栓鎖所接收到的資料 路徑選擇錄SEL形成其第—個上鱗,而路㈣齡號肌 舆時序信號cki的第一個上升緣間的時間 Tp 1祕足暫綠躲資料的設置 時間後,路徑選擇信號SEL會形成其第一個;降緣)二: 徑選擇信號SEL的第一個下_ * # W、家其中路 升緣__,^=、=細_的第—個上 ㈣。其中,暫存哭存取^資料的保留時間_ 存器設計的不间置時間及保留時間會因暫 ± ° 斤差異。此外,在時序信號CKI的脈波 見度夠長時,選擇信號SEL 嶋波 信號CK!由高準位㈣為^ 賜成於時序 號sEL的第一個Τ降緣的形 C,f即選擇信 下降緣的形成時間。此時 ^ 0 T序信號CKI的 CKI而攸其,會受控制時序信號 存器的保留時間。7成谓’並且時間T22仍可滿足暫 位轉^低=可在检鎖信號LAT於高準 2C的⑻圖,^圖2A及圖 田间準位轉態為低準位時, 201105171 3U6uwr.doc/n 2傳遞單元21G會將其暫存之資料儲 存單rr據—== 而路徑鞠m 上升緣’ 間。間T23必須滿足暫存器存取資料的設置時 緣,路㈣,路减擇㈣狐會形成其第一個下降 間。3 Γ、Γ 傾献料11存取簡的保留時 中。此外,^=射的制結果才能存人資料傳遞單元210 的第^下=序信號CKI的脈波寬度夠長時,選擇信號SEL 準形成於時序信號CKI由高準位轉態為低201105171 31181twf.doc/n VI. Description of the Invention: [Technical Field] The present invention relates to a driving device for a light emitting diode, and more particularly to a function of a driving device and a state of light emitting device Drive unit and its data transfer unit. [Prior Art] Light Emitting Diode (LED) is small, power-saving and durable, and as the process matures, the price drops. Recently, products using a light-emitting body as a light source have become more and more popular. In addition, the hairpin _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Therefore, light-emitting diodes are widely used in various terminal devices, ranging from automotive headlights, traffic lights, text displays, billboards and large-screen video displays, to general and architectural lighting and LCD backlights. Nowadays, in addition to the basic functions of driving the LED, in order to simplify the maintenance work of the overall system, the driving device of the LED is more suitable for detecting the state of the side drive device, and the system is returned to the system. Control circuit. ® 1 is the circuit architecture of the crane device of the traditional light-emitting diode. Please refer to the figure, the drive device coffee includes a shift register register 110, the image data register plus 匕reglSter) l2〇, the drive enable circuit u〇, the drive circuit _, the drive device detection circuit 150' extension The memory 16G, the _ current setting circuit 17 〇 201105171 iU81tWt.d 〇 c / n and the mode conversion circuit 180. A shift register 110 receives the timing signal CKI and the data input signal DIN, wherein the data input signal can be image data or a drive state. The shift register 11 cooperates with the timing signal CKI to retrieve the data input signal DIN, and outputs the extracted data input signal DIN to the image data register 12A. The shift register no output data output signal DO is used to transmit the image data or drive device status it receives to the next drive or external device. The image data register 120 determines whether to store the data from the shift register 110 based on the latch signal LAT. The drive enable circuit 13 receives the output enable signal EN' and controls whether the data stored in the image data buffer 120 is transmitted to the drive circuit 14A according to the output enable signal EN. The driving circuit H0 outputs a plurality of driving currents to the corresponding light-emitting diodes (not (4)) according to the data stored in the image data temporary storage H 12 , to drive the light-emitting diodes to emit light (not shown). The drive current setting circuit 17 is lightly connected to the drive circuit to set the magnitude of the drive current output from the drive circuit 140. In the non-display mode, the extension register 16 〇 can store the drive state of the drive=circuit W, and according to the division = will extend the temporary storage H (10) to practice the j device 110, wherein the trigger signal is driven by the mode The conversion circuit m produces = bit = the memory conversion circuit 180 receives the latch signal Lat and the output enables the pull type data to lock the money channel and (4) the money transfer EN input '. For example: during the period, the lock signal lat first: the trigger signal = the turn-off enable signal EN appears - the second pulse, then drive two: from the Μ mode to the non-display mode; otherwise, if the turn-out enable Tolerance 1: 201105171 31181twf.doc/n = The second pulse of the temple after the pulse is not generated, the drive device 100 switches from the non-display mode to the display mode. Since the conventional driving device can only state the state of the device, and the detection result of the driving device state needs to be stored until the extended temporary crying. In the '^ mode, triggered by the - trigger signal, the extension of the register lake can transfer the stored data to the shift temporary storage H丨 (10). The traditional method requires additional delay (four) memory · _ outside _ send money And the device has to be switched to the non-display, and the difficulty of the cost and the waste of the cost. [Invention] The present invention provides a driving device for a light-emitting diode and a data transmission unit thereof, which can directly detect the signal according to the path selection signal Saving to the data transfer unit 'and transmitting the gambling number directly to the external or next drive device through the data transfer unit can save the cost of installing the additional register. The invention provides a driving device for the light-emitting diode, which comprises Data transmission, unit, data storage unit, data computing unit, LED driving unit and detection protection unit. The data transmission unit receives the data input signal and the path selection signal, and determines the storage detection signal or the data input according to the path selection signal. The signal is sampled and the extracted data is sequentially input into the k number, wherein the data input signal includes at least one light emitting The data storage unit is connected to the data transfer unit for storing the data input signal captured by the data transfer unit. The data operation unit is coupled to the data storage unit for inputting signals according to the data stored in the data storage unit. Output data operation result. The LED driving unit is connected to the data operation unit 201105171 31181twf.doc/n element for generating at least one dither LED according to the difference result. The detection 仵 动 动 唬 to drive at least one μ心(4) protects the early and lightly connected driver elements, and transmits the state of the light-emitting diode to the side of the light-emitting diode and generates a _ signal accordingly. The driving of the first-pole body is consistently applied to the present invention. In the example, μ^ is a temporary storage n and a plurality of multiplexers. The current/material delivery unit includes a multi-storage register. This fresh j-segment is mixed with each other into a shift of each - ":=, Between the registers, the two mothers; the corresponding ones after the = test signal, and the ^ (four) miscellaneous materials to receive the detection signal. ^Determining whether to output from the selection signal in an embodiment of the present invention, the memory is triggered in the negative edge trigger register or the double edge touches the positive edge triggering state package" Device Power 4 = Flow Drive: Overcurrent of the actuator, drive = degree or drive light leakage current. The device fails, the temperature of the driving device is illuminated. In the example, the state of the above-mentioned light-emitting diode includes the degree of aging of the open circuit or the light-emitting diode of the present invention. A digital signal or a switching signal at t. In the H embodiment, the above-mentioned hair-emitting diode driving unit 201105171 3ll81twf.doc/n further includes a light-emitting diode driving circuit and a driving signal setting circuit. Second, connected to the data operation unit, and output the driving phase of the light-emitting diode according to the data operation result. The driving signal setting circuit handles the two-way transmission, the whole light-emitting diode driving circuit output: including the ginseng digital analog conversion circuit and the voltage current Han-chang circuit 1 digital-axis conversion circuit _ in the #-storage unit to receive data input Command the shell material. The light current conversion electric shaft is connected to the reference voltage. The digital analog conversion circuit ' is used to adjust the driving signal outputted by the LED driving circuit. In one embodiment of the invention, the data operation unit described above includes a count and a complex number. The number of Wei bribes secret counters and data: ΐ ΐ 次 次 次 ΐ ΐ ΐ ΐ ΐ ΐ ί ί ί ί ί ί ί ί 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 In the embodiment of the invention, the data operation unit includes a plurality of gates. The age _ wheel people's points _ connected to the capital storage unit and the 4th 'the output of these gates are pure to the LED driver unit. In an embodiment of the invention, the drive device further includes a data input signal processing circuit and a plurality of 4. The data input signal processing circuit receives the data input signal and outputs the in-phase or inverted data input signal. The first input of the multiplexed cry is subtracted from the output of the signal processing unit, the first input, into the output of the signal processing circuit, and the output of the multiplexer is coupled to the lean output. 201105171 31181twtdoc/a This is another option - for: "delivery" data transfer unit; = less resources - register series and multiple multiplexers. -No 4. These multiplexers take the data round input letter of each multiplexer's flute-AJ_, the contending register between the above-mentioned scratchpads, and the end of each, and the multi-work crying is connected to the corresponding one. The input of the register of the register is the corresponding temporary detection signal after the corresponding end of the bus. C: The terminal is connected to the detection protection list. The second number is relative to A; the evening = according to the mode selection signal, the output of the temporary storage 11 is determined. Including detecting the state of the light-emitting diode driving device, the driving splitting state is generated and the detection signal is generated accordingly. n first-pole body is further included in the second embodiment of the above-mentioned light-emitting diode driving split signal 2 ==:: number mode (four) unit according to the lock signal and timing signal Lu if: in the embodiment of the above path The selection signal is inspected by the third level and then changed from the third level to the fourth level. The signal is changed from the fifth level to the sixth level. The time between 201101171 31181twf.doc/n is greater than or equal to the temporary crying position is the third standard; = by == the time between the sixth level is greater than or equal to the retention time of the register ΐ in the present invention In the embodiment, the above-mentioned first-level is in phase with the sixth-level of the first-level. (4) Miscellaneous mutual phase, red level and first - in the embodiment of the present invention, the above-mentioned first-level and third-level levels are fresh, second, fourth and fifth In the embodiment of the present invention, the second level and the third level are as follows: the sixth level (four) and the fifth level are the level. In the embodiment of the present invention, the first level, the third level, and the fifth level are the fresh bits, and the second level, the fourth level, and the sixth level are the level. In one embodiment of the present invention, the second level, the third level, and the fifth level are low levels, and the fourth level, the fourth level, and the sixth level are two levels. In an embodiment of the invention, the first level, the fourth level, and the sixth level are low levels, and the second level, the third level, and the fifth level are level. In an embodiment of the invention, the second level, the fourth level, and the sixth level are low levels, and the first level, the third level, and the fifth level are 13⁄4 levels. 201105171 311intwi: doc/a In one embodiment of the invention, the fifth level is the fresh position, the first and fourth levels are high level. The second and second levels are in the embodiment of the present invention, and the fifth level is a low level, the first level, the fourth level, and the fourth level. The abundance position, the second level and the sixth level are in the embodiment of the present invention φ = by the sixth level fine one or two === delivery unit, the driving device of the pole body and the data transmission path thereof Selecting the signal directly to the =Save_Save_Signal' reduces the cost of the hardware design. = This (4) is a summary of the case and the excellent position, and is described in detail in conjunction with the drawings. [Embodiment] First Embodiment Road diagram The electrical data storage device of the driving device according to the first embodiment of the present invention is provided. The eight' drive device 200 includes a data transfer unit 210, a unit 240, an early stage, a data operation unit 230, a light-emitting diode drive unit, a detection protection unit 25A, and a mode control unit. Information? The data transfer unit 210 and the data operation unit 230 are coupled to the LED driver unit 240. Detect 201105171 31I^ltwfdoc/n, protector 2 240 is coupled between the LED driver unit 24 and data transmission = 兀. The mode control unit 260 is connected to the data transfer unit state, and is used for the internal shape of the Wei-turn device: whether the electric house, the current, the circuit function is invalid, the circuit is = the road Si::, etc., and the detection result is sent. And generating a gamma signal accordingly to transmit a protection voltage state including a voltage that is too high or too low. Detective, line circuit === required _ component and insurance 250 will rely on (four) fruit to the outside of the device, the debt test protection unit to the data transmission signal fox will _ money towel _ test results storage detection results round Out: two = electricity: by = pass: unit 21 ° will be the SEL here, 'and the circuit. The path selection signal 260 is generated according to the timing ^^H early 70 260' and the mode control unit SEL·. The σ旒CKI and the shackle signal LAT generate a path selection signal which is also controlled by the data transfer unit 21 when the ^:= debt test result. The input input signal is negated nm, \SEL 'to input the signal according to the timing signal CKI, and the data input signal is used to temporarily store the packaged pure number (tree), and use '/' to input the number The din is output to the data storage unit 201105171 3I18Itwt.doc/n 220. The data input signal DIN includes the driving data of the riding light diode in the time zone of the first and second polarity driving and the timing signal CKI. The driving circuit 200 is used to drive a display device composed of a body, such as grayscale data or graphic data. The data storage unit 220 is based on the data temporarily stored in the latch signal Lat_unit 21〇. , money is transferred to the data operation unit = row operation, wherein the capital storage material 22G can be composed of multiple data storage circuits (data storage c dirty _ composition (not shown), and each data will correspond to the data transfer unit The unit 23 outputs the data operation result to the light-emitting diode driving unit 24 according to the data wheel input DIN and the enable signal EN touched by the data transfer unit 21G. The light-emitting diode crane unit _ according to the conversion result Output corresponding drive The signal is used to drive a plurality of light-emitting diodes or display the display unit. The data operation unit 23 can also receive the data input signal = DIN after the poor input signal DIN is obtained, and the operation result is completed to the light-emitting diode. The circuit can't be controlled by - generally speaking, the driving device includes a plurality of functional modes, and the direct function mode can be used to ride the horn. The cutting unit can also include a circuit for generating money. Further, the mode control unit 260 can also receive the timing signal ck°i and the data input signal DIN, and the side timing signal changes positively. When the timing signal CKI generates a control signal, it is enabled. When the waveform (for example, the pulse width is 201105171 31181twf.doc/n is larger or negative), the control unit 26G will define the side axis according to the enable waveform ^(4). In this system, the count and the feed input k number are detected. The number of pulses generated by the pulse characteristic of D IN determines the function mode of the driving circuit 200. A billet transfer unit 210, a data storage unit 22, a data operation unit 23, a light-emitting diode driving unit 240, and detection protection Unit 240 The parameter corresponding to the operation mode residual can be adjusted according to the mode control signal. The function mode of the driving circuit 200 includes the gray number setting, the lighting time control of the LED, and the single point color adjustment (D〇tc Xia ti(10) ), drive, signal size control, enable signal control, image update reference frequency setting (Gray wale Clock), drive signal reverse setting, drive status detection, display component status _,, crane device sleep setting, drive Set the degree of detection to drive the leakage current _ or operate the sleep setting. In exchange for the '(four) function mode can be regarded as the corresponding circuit parameter value of the drive circuit. (4) Phase detection The work detection protection sheet 7" 25G can adjust the working mode according to the mode control signal, then the mail_circuit parameter and the environmental status value. The protection unit 250 can perform circuit _: circuit protection such as temperature protection, current protection, failure processing, etc. according to parameters set by the designer. The X force is a circuit diagram of the data transfer portion according to the first embodiment of the present invention. Please refer to ® 2B, relying on the transmission of the general name and multiplexer..., its center ^ positive integer 'X will be less than or equal to n 'the # temporary storage of this embodiment ^ 201105171 jnoiLwi.doc / n 211 -1 ~ 211 -n uses the D-type positive and negative crying unit 21G to pass the D-type positive and negative resources; material, shift register. Duplicate crying ° ° - ~ k11 will be connected in series to form a positive and negative device and called", multiplexed crying: 2 1 is placed between the flip-flops 211-2 211-η. The multiplexed crying has been in the positive and negative states 211_n_l and the output terminal Q, the multi-worker: _ the positive and negative device 211-2 to receive the detection, and the younger end of the coupling is coupled to the input D of the detection protection unit 250 : Xigong is the output end of 212-1 coupled to the flip-flop 211-3 W according to the path of the choice to record the Fox 2 temporary consumption mode, with the reference to the multi-guard 212-1 by the data bypass list 421 Between 0 and 0, so that the detection signal can be driven by more than two work sections or the next one, where the multiplex 'St can be changed according to the design requirements, and the combination of the two-two flip-flops can be regarded as - shift Register. Counter, the heart ηπ ^ U-η can be the positive edge triggering positive rising edge m Ζ sequence # from the fresh bit to the high level (ie, the upper call. 'Operate and temporarily store the data input signal coffee. The proactor : In / L - i can be the negative edge triggering the flip-flop, used to capture and temporarily store the data input ^ dIN when the timing signal CKI is low level (ie, falling edge). 211-n may also be a double-edge trigger being used to fetch and temporarily store 14 201105171 31181 twf.doc/n data input signal DIN on the rising edge and the falling edge of the timing signal CKI. FIG. 2C is a first embodiment according to the present invention. The trigger waveform is shown in Fig. 2A and Fig. 2C (A). In this embodiment, the data transfer unit 210 is a positive edge trigger register, for example, when the latch is numbered LAT. When the low level shifts to the high level (ie, the rising edge), the data transfer unit 2 2〇 will store its temporarily stored data to the data storage unit 22, and the data storage will be based on the latch. The signal LAT latch receives the data path selection record SEL to form its first upper scale, and the road (four) age number tendon timing signal cki the first After the time between the rising edges Tp 1 and the setting time of the temporary green hiding data, the path selection signal SEL will form its first one; the falling edge) two: the first one of the diameter selection signal SEL _ * # W, the home among them The road is rising __, ^=, = fine _ the first one (four). Among them, the retention time of the temporary crying access ^ data _ memory design non-intermediate time and retention time will be due to temporary ± ° kg difference. In addition, when the pulse wave visibility of the timing signal CKI is long enough, the selection signal SEL chopping signal CK! is selected from the high level (4) as the first C-shaped falling edge of the time sequence sEL, f is selected The formation time of the letter falling edge. At this time, the CKI of the C 0 sequence signal CKI will be controlled by the timing of the control timing signal. 7% said 'and time T22 can still meet the temporary turn ^ low = can be in the lock signal LAT on the high standard 2C (8) map, ^ Figure 2A and the field level shift to the low level, 201105171 3U6uwr.doc The /n 2 transfer unit 21G stores its temporary data storage list rr according to -== and the path 鞠m rises edge. The interval T23 must satisfy the setting time of the register access data, the road (4), and the road reduction (4) fox will form its first drop. 3 Γ, Γ 倾 11 11 access to the simplified retention time. In addition, the result of the ^=shooting can be stored in the data transfer unit 210 when the pulse width of the second signal = CKI is long enough, the selection signal SEL is formed in the timing signal CKI from the high level to the low state.
Ϊ擇時序健〇ΚΙ的下降緣的形成時間。此時’ 士擇域SEL f受控麟序信號CK 負緣的是,若資料傳遞單元210使用的暫存器為 負摘發暫存n,則其時序錢CKI與圖2 = 目反’其觸發波形的運作說明亦會對舰調整 °若資料傳遞單使用的暫 二暫存^ ’則其觸發波形須同時符合正緣觸 觸發的沉明’其相關描敘可參照上述說明,在此 只J +在賢述。 时在其他的實施例中,路徑選擇信號狐只要符合 頌存資料的時間狀,亦可*依據時序錢CKI調整^波 16 201105171 31181twf.doc/n =。圖2D為根據本發明第一實施例之另一觸發波形示意 圖。請务照圖2A及圖2D的⑷圖,在本實施例中,當 =信號LAT由低準位為高準位(即上升緣)時,資料傳 、-單兀21〇會將其暫存之資料儲存至資料儲存單元顶。之 ^路徑選擇信號SEL會由低準位轉態為高準位 CKI的正緣(即上升緣)觸發而儲存偵測結 r 雜號亂會由高準__低準位(即 2aTs 2d 210 ° ,在本實施例_,當栓鎖信號LAT由 二準,轉悲為低準位時,資料傳遞單元训會將 存單元22G。之後,路徑選擇信號狐會二 啼準位轉悲為向準位以使資料傳遞單元21〇接收 接著,資料傳遞單元21〇的暫存 正緣觸,娜果。然後姻選擇2 A 士 日刀厂j 斗傳遞單;10 2收偵測信麥S。The timing of the formation of the falling edge of the timing is determined. At this time, the sigmoidal SEL f controlled syllabic signal CK is negative. If the temporary register used by the data transfer unit 210 is a negative-sending temporary storage n, then its timing money CKI and FIG. 2 = The operation description of the trigger waveform will also be adjusted for the ship. If the data transfer is used, the trigger waveform must meet the positive touch trigger. The related description can refer to the above description. J + is in the sage. In other embodiments, the path selection signal fox may also adjust the time of the data according to the timing of the CKI 16 201105171 31181 twf.doc/n =. Fig. 2D is a schematic diagram of another trigger waveform in accordance with the first embodiment of the present invention. Please refer to FIG. 2A and FIG. 2D (4). In the present embodiment, when the = signal LAT is from the low level to the high level (ie, the rising edge), the data transmission, - the single 兀 21〇 will temporarily store it. The data is stored at the top of the data storage unit. The path selection signal SEL will be triggered by the low-level transition to the positive edge of the high-level CKI (ie, the rising edge) and the detection of the detected junction r will be calibrated by the high-precision __low level (ie 2aTs 2d 210) ° In the embodiment _, when the latch signal LAT is from the second standard, and the sorrow is the low level, the data transfer unit training unit will store the unit 22G. After that, the path selection signal fox will turn to the second level. The level is to enable the data transfer unit 21 to receive, and then the temporary transfer of the data transfer unit 21〇, Naguo. Then choose 2 A Shishi Knife Factory j bucket delivery order; 10 2 receive detection letter Mai S.
5月茶如、圖2A及圖2D的(C、岡—i — JU 栓鎖信號LAT由低準位轉態為:時^^一,當 存:___料:=== ^虎SEL料低準_態為二、擇 接,信號。接著,資料傳遞單二貝==〇 二 1 CKI的負緣(即下降緣)觸發 路選擇信號SEL备由 讦湖、、口果然後, 遞單元210接收偵測曰信二恶為低準位以停止資料傳 17 201105171 j)ii6iiwr.doc/n 請參照圖2A及圖2〇的(D)圖,在本實施例中,a 栓鎖信號LAT由高準位轉態為低準位時,資料傳遞單田 會將其暫存之f料儲存至資_存單元22()。之後,路 信號SEL會由低準位轉態為高準位随資料傳遞單^ 接收到侧信號。接著,資料傳遞單元21()的暫存哭备 序信號C〇的負緣觸發而儲存_結果。然後,路徑 號SEL會由南準位轉態為低準位以停 ^ 接收偵測信號。 哥L早凡210 請參照® 2A及圖2D的⑻圖,在本實卿 栓鎖信號LAT由低準位轉態為 ^备 會將其暫权___私]。^ =:'會,高準位轉態為低準位以使資料傳遞= 接收B細“處。接著,資料傳遞單元2川的暫存哭合 i=c=r發而儲存偵測結果。然後,路 晚態為高準位以停止資料傳遞單二 請參照圖2A及圖的(F)圖,在本實 栓鎖信號LAT由高準位轉態為低準位時,傳1 虽 會將其暫存之資料儲存至:身料儲存單元220 :之後X二210 信號SEL會由高準位轉態為低準位擇 的正緣觸發而儲存偵測結果。然後 ί收準位轉㈣辭仙停止雜傳遞單元t 201105171 31I8Itwf.doc/n ^ 2A及圖2D的⑹圖,在本實施例中,當 、、口^ 由低準位轉態為高準位時,資料傳遞單元210 =將其暫存之資料儲存至資料儲存單元挪。之後,路授選擇 心號SEL·會由高準位轉騎低準位以使資料傳遞單元2川_ 到伽彳信號。接著,資料傳遞單元训的暫存器會受時 CKI的負緣觸發而儲存偵測結果。然後,路徑選擇信 =SEL自由低準位轉態為高準位以停止資料傳遞別 接收偵測信號。 請參照圖2A及圖2D的㈤圖,在本實施例中,當 號LAT由高準位轉態為低準位時,資料傳遞單元21〇 =其暫存之資料儲存至資料儲存單it 22〇。之後,路徑選擇 =犯L會由高準位轉態為低準位以使資料傳遞單元21〇 心^彳、'紅遽。接著,赌傳遞單元21G的暫存器會受時 味:CKI的貞緣觸發而儲存_結果。然後,路徑選擇信 =L會由鮮位轉態為高準位以停止資料傳遞單元⑽ ,收偵測信號。其中,上述時間T2a、T2e、仏、τ2§、瓜、 :2m&T2〇必須滿足暫存器存取資料的言史置時間,而上 ^2b、Tfd、T2f、T2h、T2j、T2]l、T2n 及 T2P 必須滿 足暫存器存取資料的保留時間。 資斜為根據本發明第—實施例之㈣運算單元耦接 由行ΐ存早電路示意圖。請參照圖2Ε,在本實施例 ’貝料運异單兀23〇包括計數器231與複數個比 素—:·ρ(例如數位比較器),其中Ρ為大於〇的正整 比車乂益232」〜232—Ρ帛來比較計數器231的輸出與資 19 201105171 :>i 丄ouwj.doc/n 料儲存單元220中所儲存的資料,然後據以致能發光二極 體驅動單元240是否輸出驅動信號。資料運算單元23〇藉 由計數器231與複數個比較器232^232^來進行圖形資 料的運算,其功能可視為一脈波寬度調變單:元(pulse width modulation unit)或一脈波寬度產生單元(pulse评以也 generation unit)’用以調整發光二極體驅動單元24〇所接收 到的資料運算結果的脈波寬度。 ”同貝料運算單tl 230也具有致能發光二極體驅動 單元240是否輸出驅動信號的功能,亦即資料運算單元230 ΖΪί —驅?致能單元。發光二極體驅動單元24。會根據 與電^ m Π算結ΐ ϊ卫作期間調整驅動信號的電壓 (未絡,此貝料運异單70 230亦可由複數個及閘組成 ==的輸人分別_於#料儲存單元22〇 驅動單^41 些及閘的輸出_接於發光二極體 圖2F為根據本發㈣—實施例之發光二極體驅 請參照圖㈣光二極體驅動單元240 所組成mi路241與驅動信號設定電路242 號,電路241用以輸出多個驅動信 ”二戍議;唬可以為驅動電壓、驅動電流、數位邏輯 驅動 動信號設定電路242耦接發光二極體 光二極π㈣設^電路242主要是用來設定發 極體驅動電路242的驅勤雷、;* 士 阻抗大小紐位純大小、電壓大小、開關 ^ t輯乜娩準位。驅動信號設定電路242可 20 201105171 31181twf.doc/n 根f驅動電路2GG所接收到的資料輸人信號應或模式控 制仏號设定所需的參數以調整發光二極體驅動電路24丨所 輸出^驅動信號、驅動信號蚊電路242可直接經由資料 傳遞單兀210接收所需的命令資料或是接收由模式控制單 元260所產生的模式控制信號。 圖2G為根據本發明第一實施例之驅動信號設定電路 搞接發光二極體驅動電路的電路示意圖。請參照圖2G,驅 動#號设定電路242包括數位類比轉換電路245、參考兩 壓產生1路244以及電壓電流轉換電路243。參考電 生電路244輕接於電壓電流轉換電路243,數位類比轉換 電路245触電壓電流轉換電路243。數位類比轉換電路 將儲存在資料儲存單元22()中的命令資料(即資料輪入 信號丽中所包含的部分資料)轉換為類比信號(例如電壓 以輸出至電壓電流轉換電路243,電壓電流轉換電路祕) 則根據命令資料與參考電壓產生電路244的輸出調整 二極體驅動電路241的驅動信號。 此外’值得注意的是,資料傳遞單元加可用來傳遞 資DIN ’如同暫存器一般,然後輸出資料輪出 U 由於發光二極體所組成的顯示系統通常會具有 為數眾多的發光二極體,因此驅動裝置(晶片)會以串接的 方式設置以同時驅動多個發光二極體。前級的驅動裝置合 傳遞資料輸人信號DIN至下—級的_裝置,因此前級二 育料輸出㈣DO可視為後級驅動電路的資料輸入信號 DIN 〇 ;Li 21 201105171 j nsirwr.doc/a 第二實施例 圖3為根據本發明第二實施例所述之驅動震置的電路 圖。請參照圖2A及圖3,主要差異在於驅動裝置3〇〇的資 料輸入信號處理電路310、多工器320。多工器32〇的輸入 端分別耦接於資料傳遞單元210與資料輸入信號處理電路 310的輸出,多工器320的輸出耦接於驅動電路3〇〇的資 料輸出端,並根據模式控制單元260的模式控制信號選擇 資料傳遞單元210或資料輸入信號處理電路32〇的舲 產生資料輸出信號DO。 、’』 資料輸入信號處理電路310可依據設定輸出正相或反 相的資料輸入信號DIN,當輸出反相的資料輪入信號〇取 時,可有效降低資料輸人信號DIN在傳遞時的衰^問題。 讓資料輸入信號DIN在經過數級的驅動電路傳遞後,依然 保持資料輸入信號DIN的脈衝寬度與其波形。May tea, as shown in Figure 2A and Figure 2D (C, Gang-i - JU latch signal LAT transition from low level to: when ^^ one, when stored: ___ material: === ^ tiger SEL material The low level _ state is two, the choice, the signal. Then, the data transmission single two shell == 〇2 1 CKI negative edge (ie, falling edge) triggers the road selection signal SEL prepared by Wuhu, and the fruit and then the unit 210 Receive detection and detection of distress to low level to stop data transmission 17 201105171 j) ii6iiwr.doc/n Referring to FIG. 2A and FIG. 2(D), in this embodiment, a latch signal LAT is When the high level transitions to the low level, the data transfer single field will store its temporary storage material to the resource storage unit 22(). After that, the road signal SEL will be converted from the low level to the high level to receive the side signal with the data transmission unit. Next, the negative edge of the temporary buffering sequence signal C〇 of the data transfer unit 21() is triggered to store the _ result. Then, the path number SEL will be shifted from the south level to the low level to stop receiving the detection signal. Brother L. Fan 210 Please refer to ® 2A and Figure 2D (8). In this case, the LAT signal from the low level to the low level will be temporarily ___ private. ^ =: 'Yes, the high level shifts to the low level so that the data is transmitted = the receiving B is fine. Then, the data transfer unit 2 is temporarily stored and crying and i=c=r is sent to store the detection result. Then, the road state is high level to stop the data transmission. Please refer to Figure 2A and Figure (F). When the real latch signal LAT transitions from the high level to the low level, the transmission will be The data stored in the temporary storage is stored in the physical storage unit 220: after the X 2 210 signal SEL is rotated from the high level to the low edge of the low level, the detection result is stored. Then the ί position is transferred (4) In the present embodiment, when the port is changed from the low level to the high level, the data transfer unit 210 = The temporarily stored data is stored in the data storage unit. After that, the road selection key SEL will be transferred from the high level to the low level to enable the data transfer unit 2 to the gamma signal. Then, the data transfer unit The training register will be triggered by the negative edge of the CKI to store the detection result. Then, the path selection signal = SEL free low level transition to the high level to stop Please refer to FIG. 2A and FIG. 2D (5). In this embodiment, when the number LAT is changed from the high level to the low level, the data transfer unit 21 〇=the temporary storage. The data is stored to the data storage list it 22 。. After that, the path selection = guilty L will be changed from the high level to the low level to make the data transfer unit 21 〇 彳, '红 遽. Then, the gambling transfer unit 21G The scratchpad will be affected by the time: the CKI triggers and stores the result. Then, the path selection letter = L will change from the fresh bit to the high level to stop the data transfer unit (10) and receive the detection signal. Time T2a, T2e, 仏, τ2§, melon, :2m&T2〇 must satisfy the history of the access data of the register, and ^2b, Tfd, T2f, T2h, T2j, T2]l, T2n and The T2P must satisfy the retention time of the scratchpad access data. The resource skew is a schematic diagram of the (4) arithmetic unit coupled to the early circuit according to the first embodiment of the present invention. Referring to FIG. 2A, in the present embodiment, The different unit 23 includes a counter 231 and a plurality of ratios::·ρ (for example, a digital comparator), where Ρ is Comparing the output of the counter 231 to the output of the counter 231, which is greater than 〇, 232"~232-Ρ帛, compares the data stored in the counter 231, and then stores the data stored in the material storage unit 220, and then enables Whether the light emitting diode driving unit 240 outputs a driving signal. The data operation unit 23 performs the operation of the graphic data by the counter 231 and the plurality of comparators 232^232^, and the function thereof can be regarded as a pulse width modulation unit: a pulse width modulation unit or a pulse width generation. The unit (pulse is also a generation unit)' is used to adjust the pulse width of the data operation result received by the LED driver unit 24A. The same data processing unit t1 230 also has a function of enabling the light emitting diode driving unit 240 to output a driving signal, that is, the data operation unit 230 驱ί-drive enabling unit. The light emitting diode driving unit 24 will be based on The voltage of the drive signal is adjusted during the maintenance process (uncomplexed, the bee-transportation different order 70 230 can also be composed of a plurality of gates == the input of the person separately__#料储单位22〇 The output of the driving unit 41 and the gate is connected to the light emitting diode. FIG. 2F is the light emitting diode driving according to the fourth embodiment of the present invention. FIG. 4 shows the mi road 241 and the driving signal formed by the optical diode driving unit 240. Setting circuit 242, circuit 241 is used to output a plurality of driving signals; 唬 can be driving voltage, driving current, digital logic driving signal setting circuit 242 coupled with light-emitting diode photodiode π (four) setting circuit 242 main It is used to set the driving force of the emitter driving circuit 242, * the impedance size of the button, the size of the button, the voltage level, and the switching level. The driving signal setting circuit 242 can be 20 201105171 31181twf.doc/n Root f drive circuit 2GG The received data input signal or the mode control nickname sets the required parameters to adjust the output signal of the LED driving circuit 24, and the driving signal mosquito circuit 242 can directly receive the data through the data transmission unit 210. The required command data or the mode control signal generated by the mode control unit 260. Fig. 2G is a circuit diagram of the driving signal setting circuit of the first embodiment of the present invention, which is connected to the LED driving circuit. The drive # number setting circuit 242 includes a digital analog conversion circuit 245, a reference two voltage generation 1 channel 244, and a voltage current conversion circuit 243. The reference electric power circuit 244 is lightly connected to the voltage current conversion circuit 243, and the digital analog conversion circuit 245 is in voltage. The current conversion circuit 243. The digital analog conversion circuit converts the command data stored in the data storage unit 22() (ie, the data included in the data wheel into the signal) into an analog signal (for example, voltage for output to the voltage current conversion circuit). 243, voltage and current conversion circuit secret) according to the command data and the output of the reference voltage generating circuit 244 to adjust the diode drive The drive signal of the circuit 241. In addition, it is worth noting that the data transfer unit can be used to transmit the DIN 'like the scratchpad, and then the output data is rounded out. U The display system composed of the light-emitting diodes usually has a large number of Light-emitting diodes, so the driving device (wafer) is arranged in series to drive a plurality of light-emitting diodes at the same time. The driving device of the front stage transmits the data input signal DIN to the lower-level device, so The pre-stage two-feed output (four) DO can be regarded as the data input signal DIN 后 of the rear-stage drive circuit; Li 21 201105171 j nsirwr.doc/a second embodiment FIG. 3 is a drive-displacement according to the second embodiment of the present invention. Circuit diagram. Referring to Fig. 2A and Fig. 3, the main difference is the data input signal processing circuit 310 and the multiplexer 320 of the driving device 3. The input ends of the multiplexer 32A are respectively coupled to the output of the data transfer unit 210 and the data input signal processing circuit 310. The output of the multiplexer 320 is coupled to the data output end of the drive circuit 3〇〇, and according to the mode control unit. The mode control signal selection data transfer unit 210 or the data input signal processing circuit 32 of the 260 generates a data output signal DO. The data input signal processing circuit 310 can output a positive phase or an inverted data input signal DIN according to the setting, and can effectively reduce the attenuation of the data input signal DIN when the data input signal is inverted. ^Question. After the data input signal DIN is transmitted through the drive circuit of several stages, the pulse width of the data input signal DIN and its waveform are still maintained.
再者’由於本實施例之資料輸入信號處理電路· 直接輸出所接收到的資料輪入信號DIN 的資料輪人信號丽可顿經㈣㈣存Him 時接收到資料輸入信號_===路可同 切換,使每個驅動裝置可同步切魅的設定與 控制串接的驅動裝置。 、 果式,以利正確 杯上尸;r述,奉贫明諸實施例的 置,在制健單元進彳, 送到資料傳遞單心而資料傳遞單元則依“ 2 201105171 31i81twf.doc/n 储存偵測信號,其中路徑選擇信號為 序信號及拾鎖信號來產生。藉此,可不^^ =依據時 存偵測信號,減少硬體設計的成本。$外的暫存器儲 雖翁本發明已以實施例揭露如上,然其 Λ 保4祀圍當視後附之申請專利範圍所界定者為準。 【圖式簡單說明】 圖。圖1為傳統的發光二極!I的驅動装置的電路架構示意 路圖圖2Α為根據本發明第一實施例所述之驅動裝置的電 部電為根據本發明第—實施例之資料傳輸單元的内 m拫據本發明第一實施例之觸發波形示意圖。 圖。’、、'根據本發明第—實施例之另一觸發波形示意 資料=二本發明第—實施例之資料運算單元輕接 早几的電路示意圖。 元的:部電::據本發明第-實施例之發光二極體驅動單 鶴信雜電路 201105171 ^iiisnwt.doc/n 圖3為根據本發明第二實施例所述之驅動裝置的電路 圖。 【主要元件符號說明】 100、200、300 :驅動裝置 110 :移位暫存器 120 :影像資料暫存器 130 :驅動致能電路 140 :驅動電路 150 :驅動裝置偵測電路 160 :延伸暫存器 170 :驅動電流設定電路 180 :模式轉換電路 210 :資料傳遞單元 211_1〜211_n :正反器 212—1 〜212—X、320 :多工器 220 :資料儲存單元 230 :資料運算單元 231 :計數器 232_1〜232_n :比較器 240 :發光二極體驅動單元 241 :發光二極體驅動電路 242 :驅動信號設定電路 243 :電壓電流轉換電路 201105171 31181twf.doc/n 244 :參考電壓產生電路 245 :數位類比轉換電路 250 :偵測保護單元 260 :模式控制單元 —— … 310 :資料輸入信號處理電路 CKI :時序信號 DIN :資料輸入信號 LAT :栓鎖信號 EN :致能信號 SEL :路徑選擇信號 T21、T22、T23、T24、T2a、T2b、T2c、T2d、T2e、 T2f、T2g、T2h、T2i、T2j、T2k、T2卜 T2m、T2n、T2o、 T2p :時間Furthermore, the data input signal processing circuit of the present embodiment is directly outputted by the data wheel of the received data wheel DIN signal. (4) (4) The data input signal is received when the memory is _=== Switching, so that each drive device can synchronously set the control and control the serially connected drive. , fruit, to facilitate the correct cup on the body; r said, in the example of the implementation of the poor, in the health unit, sent to the data transmission single heart and the data transfer unit according to " 2 201105171 31i81twf.doc / n The detection signal is stored, wherein the path selection signal is generated by the sequence signal and the pickup signal. Therefore, the cost of the hardware design can be reduced according to the detection signal at the time. The invention has been disclosed in the above embodiments, and it is to be understood that the scope of the patent application is as defined in the appended claims. [FIG. 1] FIG. 1 is a conventional driving device for a light-emitting diode! FIG. 2 is a diagram showing the electrical part of the driving apparatus according to the first embodiment of the present invention, which is triggered by the first embodiment of the present invention according to the first embodiment of the present invention. FIG. 2 is a schematic diagram of another trigger waveform according to the first embodiment of the present invention. FIG. 2 is a schematic diagram of a circuit in which the data operation unit of the first embodiment of the present invention is lightly connected. Illuminated dipole according to the first embodiment of the present invention Driving single crane circuit 201105171 ^iiisnwt.doc/n Fig. 3 is a circuit diagram of a driving device according to a second embodiment of the present invention. [Description of main components] 100, 200, 300: driving device 110: shifting temporary The buffer 120: the image data register 130: the drive enable circuit 140: the drive circuit 150: the drive detection circuit 160: the extension register 170: the drive current setting circuit 180: the mode conversion circuit 210: the data transfer unit 211_1~ 211_n: flip-flops 212-1 to 212-X, 320: multiplexer 220: data storage unit 230: data operation unit 231: counters 232_1 to 232_n: comparator 240: light-emitting diode driving unit 241: light-emitting diode Body drive circuit 242: drive signal setting circuit 243: voltage current conversion circuit 201105171 31181twf.doc/n 244: reference voltage generation circuit 245: digital analog conversion circuit 250: detection protection unit 260: mode control unit - ... 310 : data Input signal processing circuit CKI: timing signal DIN: data input signal LAT: latch signal EN: enable signal SEL: path selection signals T21, T22, T23, T24, T2a, T2b, T2c, T2d, T2e, T2f, T2g, T2h, T2i, T2j, T2k, T2, T2m, T2n, T2o, T2p: time
2525