TWI458304B - Data transmitting apparatus and method of transmitting signal thereof - Google Patents

Data transmitting apparatus and method of transmitting signal thereof Download PDF

Info

Publication number
TWI458304B
TWI458304B TW098136319A TW98136319A TWI458304B TW I458304 B TWI458304 B TW I458304B TW 098136319 A TW098136319 A TW 098136319A TW 98136319 A TW98136319 A TW 98136319A TW I458304 B TWI458304 B TW I458304B
Authority
TW
Taiwan
Prior art keywords
signal
time slots
header
mark
time
Prior art date
Application number
TW098136319A
Other languages
Chinese (zh)
Other versions
TW201116001A (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 TW098136319A priority Critical patent/TWI458304B/en
Publication of TW201116001A publication Critical patent/TW201116001A/en
Application granted granted Critical
Publication of TWI458304B publication Critical patent/TWI458304B/en

Links

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Dc Digital Transmission (AREA)

Description

資料傳輸裝置與其傳遞信號的方法Data transmission device and method for transmitting signal

本發明是有關於一種資料傳輸裝置與方法,且特別是有關於一種適用於DMX512信號的資料傳輸裝置與方法。The present invention relates to a data transmission apparatus and method, and more particularly to a data transmission apparatus and method suitable for a DMX512 signal.

DMX512協議最先是由美國劇院技術協會(United States of institutes for Theatre Technology,USITT)在1986年所提出之資料傳輸標準,是娛樂燈光領域常用的控制協定。DMX512通信方式是採用了非同步通信格式,每筆調光資料由11個位元組成,包括一個是起始時間,8位元資料位元組與兩個停止位元,每一次能傳輸512筆調光資料。目前的舞台燈光控制多是利用DMX512協議來進行舞台燈光控制。The DMX512 protocol was first introduced by the United States of Institutes for Theatre Technology (USITT) in 1986 as a data transmission standard and is a commonly used control protocol in the field of entertainment lighting. DMX512 communication mode adopts asynchronous communication format. Each dimming data consists of 11 bits, including one start time, 8 bit data byte and two stop bits, and each time 512 dimming can be transmitted. data. The current stage lighting control mostly uses the DMX512 protocol for stage lighting control.

由於DMX512協議中不具有定址的功能,因此使用DMX512協議的燈具通常需要單晶片(例如8051或者Microchip公司的PIC16F628A)來進行資料解碼與定址的動作。每個燈具會根據本身的位址來接收DMX512中的調光資料,也就是時槽(slot)中的資料位元組,若單一燈具需要使用多筆調光資料,則需要設置多個位址。習知技術中,數位式調光控制器中每一個迴路都有一個數位多工位址(DMX Address),使用者可配合內建於數位式調光控制器之指撥開關鍵來設定每一個迴路的數位多工位址(DMX Address)以設定對應的位址。Because the DMX512 protocol does not have addressing capabilities, luminaires that use the DMX512 protocol typically require a single chip (such as 8051 or Microchip's PIC16F628A) for data decoding and addressing. Each luminaire receives the dimming data in the DMX512 according to its own address, that is, the data byte in the slot. If a single luminaire needs to use multiple dimming data, multiple addresses need to be set. In the prior art, each circuit of the digital dimming controller has a digital multiplex address (DMX Address), and the user can set each of them with the finger-opening key built in the digital dimming controller. The digital multiplex address (DMX Address) of the loop is used to set the corresponding address.

然而,在電路系統中DMX512協議信號會因為串接而造成波形失真,導致串接信號違反DMX512協議的時間規範(例如位元時間規範:最小值為3.92us,最大值為4.08us),使得串接裝置無法讀取正確設定值。而且位址設定需要每個裝置個別設定,相當麻煩,故無法隨意調整其調光器的設置位置。However, in the circuit system, the DMX512 protocol signal will cause waveform distortion due to serial connection, causing the serial signal to violate the time specification of the DMX512 protocol (for example, the bit time specification: the minimum value is 3.92us, the maximum value is 4.08us), so that the string The connected device cannot read the correct set value. Moreover, the address setting needs to be individually set for each device, which is quite troublesome, so the setting position of the dimmer cannot be adjusted at will.

本發明提供一種資料傳輸裝置,其係由多個串接的電路單元來傳遞信號,每個電路單元在擷取對應的調光資料後會將其波形反相並且延長標頭的時間以覆蓋所讀取的時槽(slot)位置,然後再將調整過之信號傳送給下一級的電路單元。藉此,串接的電路單元不需設定位址,即可根據其串接的順序來擷取信號中的調光資料並可避免波形失真,其傳遞的信號對應於DMX512的信號格式。The present invention provides a data transmission device that transmits signals by a plurality of serially connected circuit units, each circuit unit inverting its waveform and extending the time of the header to cover the time after capturing the corresponding dimming data. The position of the slot is read, and then the adjusted signal is transmitted to the circuit unit of the next stage. Thereby, the serially connected circuit unit can capture the dimming data in the signal according to the sequence of the series connection and avoid waveform distortion according to the sequence of the serial connection, and the signal transmitted corresponds to the signal format of the DMX512.

本發明提供一種傳遞信號的方法,在傳遞的過程中,會將信號反相並延長信號標頭中的標記信號來覆蓋已經讀取的時槽,讓下一級的電路單元可以直接讀取到對應的信號,且不需設置對應的位址。The invention provides a method for transmitting a signal. In the process of transmitting, the signal is inverted and the marking signal in the signal header is extended to cover the time slot that has been read, so that the circuit unit of the next stage can directly read the corresponding Signal, and do not need to set the corresponding address.

承上述,本發明提出一種資料傳輸裝置,其特徵在於上述資料傳輸裝置包括一第一電路單元,接收上述第一信號並對該第一信號進行一波形調整後輸出一第二信號,其中該波形調整包括反相該第一信號的波形,其中該第一信號對應於DMX512的信號格式。上述第一信號包括一標頭與複數個時槽,上述時槽位於上述標頭之後,其中上述波形調整更包括延長上述標頭的長度以覆蓋上述時槽中之N個時槽以產生上述第二信號,N為正整數。In the above, the present invention provides a data transmission device, wherein the data transmission device includes a first circuit unit that receives the first signal and performs a waveform adjustment on the first signal to output a second signal, wherein the waveform The adjusting includes inverting a waveform of the first signal, wherein the first signal corresponds to a signal format of the DMX 512. The first signal includes a header and a plurality of time slots, wherein the time slot is located after the header, wherein the waveform adjustment further comprises extending a length of the header to cover N time slots in the time slot to generate the foregoing Two signals, N is a positive integer.

在本發明一實施例中,其中在上述第一電路單元延長上述標頭之前,上述第一電路單元讀取上述第一信號中之上述N個時槽中之資料。In an embodiment of the invention, the first circuit unit reads the data in the N time slots in the first signal before the first circuit unit extends the header.

在本發明一實施例中,上述資料傳輸裝置更包括一第二電路單元,耦接於上述第一電路單元以接收上述第二信號,並讀取上述第二信號中之M個時槽中之資料,上述M個時槽位於原本之上述N個時槽之後,並在讀取上述M個時槽後,再延長上述標頭的長度以覆蓋已讀取之上述M個時槽並將延長該標頭後之該第二信號反相以產生一第三信號,M為正整數。In an embodiment of the present invention, the data transmission device further includes a second circuit unit coupled to the first circuit unit for receiving the second signal, and reading the M time slots of the second signal Data, the M time slots are located after the N time slots, and after reading the M time slots, extend the length of the header to cover the M time slots that have been read and extend the The second signal after the header is inverted to produce a third signal, M being a positive integer.

在本發明一實施例中,其中上述第一信號對應於DMX512的信號格式,上述標頭依序包括一前標記(10,”Mark”time before BREAK)、一重置區間與一標記(9,“MARK”Time between Slots),上述第一電路單元係延長上述標頭中之上述標記的長度以覆蓋上述N個時槽。In an embodiment of the invention, wherein the first signal corresponds to a signal format of the DMX 512, the header includes a pre-mark (10, "Mark" time before BREAK), a reset interval and a mark (9, "MARK" Time between Slots), the first circuit unit extends the length of the mark in the header to cover the N time slots.

在本發明一實施例中,上述重置區間包括一重置序列(12,RESET Sequence)或包括重置序列與X個設定時槽,X為正整數。In an embodiment of the invention, the reset interval includes a reset sequence (12, RESET Sequence) or includes a reset sequence and X set time slots, and X is a positive integer.

在本發明一實施例中,在上述第一信號中,標記位於重置區間與N個時槽之間,且上述標記的長度小於1秒。In an embodiment of the invention, in the first signal, the mark is located between the reset interval and the N time slots, and the length of the mark is less than 1 second.

在本發明一實施例中,上述重置序列依序包括一中斷(break)、一後標記(MARK After Break)與一起始時槽。In an embodiment of the invention, the reset sequence sequentially includes a break, a MARK After Break, and a start time slot.

在本發明一實施例中,其中上述起始時槽依序包括一起始時間、八位元之起始代碼與兩個結束位元。In an embodiment of the invention, the start time slot sequentially includes a start time, an octet start code, and two end bits.

在本發明一實施例中,其中上述每一時槽依序包括一起始時間、八位元之資料位元組與兩個結束位元。In an embodiment of the invention, each of the time slots includes a start time, an octet data byte, and two end bits.

在本發明一實施例中,其中上述第一電路單元更將上述第二信號反相後再輸出反相之上述第二信號。In an embodiment of the invention, the first circuit unit further inverts the second signal and outputs the inverted second signal.

從另一個觀點來看,本發明提出一種傳遞信號的方法,包括下列步驟:首先,接收第一信號,上述第一信號具有一標頭與複數個時槽,上述時槽位於上述標頭之後,然後對該第一信號進行一波形調整後輸出一第二信號,該波形調整包括反相該第一信號的波形與延長該標頭的長度以覆蓋該些時槽中之N個時槽,其中該第一信號對應於DMX512的信號格式,N為正整數。關於本方法之其餘實施細節請參照上述資料傳輸裝置,在此不加累述。From another point of view, the present invention provides a method for transmitting a signal, comprising the steps of: first receiving a first signal, the first signal having a header and a plurality of time slots, wherein the time slot is located after the header; And then performing a waveform adjustment on the first signal to output a second signal, the waveform adjustment comprising inverting a waveform of the first signal and extending a length of the header to cover N time slots in the time slots, wherein The first signal corresponds to the signal format of the DMX 512, and N is a positive integer. For the remaining implementation details of the method, please refer to the above data transmission device, which will not be described here.

基於上述,本發明在傳遞DMX信號時會將信號反相以避免信號在串接傳遞過程中產生波形失真,使信號可維持在設定的格式時間規範內,同時調整其標頭信號,藉由延長標頭的標記波形來覆蓋已讀取過的時槽,藉此讓下一級的電路單元可以直接接收到正確的資料。利用本發明之技術手段,在傳遞DMX信號時,其個別電路單元不需預先設置位址,僅需相互串接即可依據個別電路單元的串接順序取得對應的資料,在電路設計上相當方便。此方法亦可適用於其他具有標頭與時槽的信號傳輸方式,例如可為4倍速DMX512格式,其信號格式和標準DMX512相同,但格式時間規範為標準DMX512協議時間的四分之一。Based on the above, the present invention reverses the signal when transmitting the DMX signal to avoid waveform distortion during the serial transmission, so that the signal can be maintained within the set format time specification, and the header signal is adjusted by extending The mark waveform of the header covers the time slot that has been read, so that the circuit unit of the next stage can directly receive the correct data. By using the technical means of the invention, when transmitting the DMX signal, the individual circuit units do not need to set the address in advance, and only need to be connected in series to obtain the corresponding data according to the serial sequence of the individual circuit units, which is quite convenient in circuit design. . This method can also be applied to other signal transmission methods with headers and time slots. For example, it can be 4x speed DMX512 format, and its signal format is the same as standard DMX512, but the format time specification is one quarter of the standard DMX512 protocol time.

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

第一實施例First embodiment

請參照圖1,圖1為根據本發明之資料傳輸裝置。資料傳輸裝置100由多個電路單元110、120、130串接而成,其中以第一電路單元110、第二電路單元120與第三電路單元130表示前三個電路單元。第一電路單元110接收符合DMX512格式之第一信號DMX1,然後擷取第一DMX1信號中之時槽的資料並對第一信號DMX1進行波形調整後輸出第二信號DMX2。第一信號DMX1由標頭(Header)與複數個時槽(slot)組成,上述波形調整包括反相第一信號DMX1與延長標頭以覆蓋所讀取過之時槽。各個電路單元110、120、130將所接收之信號反相後再輸出下一級的電路單元,這樣可以避免信號在傳遞過程中產生波形失真的問題。這是因為電路單元110、120、130的上升緣時間與下降緣時間可能不一致,信號在經過多個串接的電路單元110、120、130傳遞後可能會發生波形失真的問題。藉由反相輸出的方式可以改善波形失真的問題,使傳遞信號維持在DMX512的格式時間規範內。Please refer to FIG. 1. FIG. 1 is a data transmission device according to the present invention. The data transmission device 100 is formed by serially connecting a plurality of circuit units 110, 120, 130, wherein the first circuit unit 110, the second circuit unit 120, and the third circuit unit 130 represent the first three circuit units. The first circuit unit 110 receives the first signal DMX1 in accordance with the DMX512 format, and then extracts the data of the time slot in the first DMX1 signal and performs waveform adjustment on the first signal DMX1 to output the second signal DMX2. The first signal DMX1 is composed of a header and a plurality of time slots, and the waveform adjustment includes inverting the first signal DMX1 and extending the header to cover the read time slot. Each of the circuit units 110, 120, 130 inverts the received signal and outputs the circuit unit of the next stage, so that the problem of waveform distortion during signal transmission can be avoided. This is because the rising edge time and the falling edge time of the circuit units 110, 120, 130 may not coincide, and the signal may be distorted after passing through the plurality of serially connected circuit units 110, 120, 130. The problem of waveform distortion can be improved by the inverting output, so that the transmitted signal is maintained within the format time specification of the DMX512.

值得注意的是,波形反相可藉由反相器來實現,下一級電路單元也可以藉由反相器將反相之信號轉換為正常DMX512信號格式的波形以方便讀取與解碼。此外,也可以利用軟體辨識的方式直接由反相信號所解讀出來的數位資料來解碼其原始資料。本技術領域具有通常知識者在經由本實施例之揭露應可輕易推知其餘實施方式,在此不加累述。It is worth noting that the waveform inversion can be realized by an inverter, and the next-stage circuit unit can also convert the inverted signal into a waveform of a normal DMX512 signal format by the inverter to facilitate reading and decoding. In addition, the software can also directly decode the original data from the digital data interpreted by the inverted signal. Those skilled in the art can easily infer the remaining embodiments through the disclosure of the present embodiment, and will not be described here.

接下來,除上述波形反相以外,對第一信號DMX1的波形調整還包括延長標頭。針對延長標頭的波形調整方式進一步說明如下:第一電路單元110會擷取第一DMX1信號中之時槽並延長第一信號DMX1中標頭中的標記(Mark)的長度以覆蓋被擷取之時槽以產生第二信號DMX2。同樣的,第二電路單元110在擷取第二DMX2信號中最前面之時槽的資料後會再延長第二信號DMX2中標頭(Header)中的標記(Mark)的長度以覆蓋被擷取之時槽以產生第三DMX信號DMX3。依此類推,每一個串接的電路單元會在擷取對應的資料後延長標頭(Header)中的標記(Mark)的長度以覆蓋已經擷取之時槽,然後再輸出調整後之信號至下一級的電路單元。Next, in addition to the above-described waveform inversion, the waveform adjustment of the first signal DMX1 further includes extending the header. The waveform adjustment manner for the extended header is further described as follows: the first circuit unit 110 captures the time slot in the first DMX1 signal and extends the length of the mark (Mark) in the header of the first signal DMX1 to cover the captured Time slot to generate a second signal DMX2. Similarly, after capturing the data of the first time slot in the second DMX2 signal, the second circuit unit 110 further lengthens the length of the mark (Mark) in the header of the second signal DMX2 to cover the captured data. Time slot to generate a third DMX signal DMX3. And so on, each serially connected circuit unit will extend the length of the mark (Mark) in the header after the corresponding data is captured to cover the time slot that has been captured, and then output the adjusted signal to The circuit unit of the next stage.

由於標準DMX512格式規定標記時間(“MARK”Time Between Slots)可以為0到1秒,且一個DMX512封包(DMX512 packet)最大為1秒。因此即使延長標記時間去覆蓋所擷取的時槽,調整後之DMX信號依然會符合DMX512格式。而每一個電路單元可直接擷取所接收之DMX信號中位於最前面之時槽的資料即可,不需透過定址來選擇所需的時槽。Since the standard DMX512 format specifies the tag time ("MARK" Time Between Slots) can be 0 to 1 second, and a DMX512 packet (DMX512 packet) can be up to 1 second. Therefore, even if the mark time is extended to cover the captured time slot, the adjusted DMX signal will still conform to the DMX512 format. Each circuit unit can directly capture the data of the top slot in the received DMX signal, and does not need to address to select the desired time slot.

接下來,請參照圖2A與圖2B,圖2A為根據本發明第一實施例之第一信號DMX1之波形示意圖。圖2B為根據本發明第一實施例之第二信號DMX2之波形示意圖。比較圖2A與圖2B即可清楚知道第一電路單元110調整第一信號DMX1的技術手段。在圖2A中,第一信號DMX1符合標準的DMX512格式,其個別標號的意義如下:“1”表示中斷(Break)的長度(“SPACE”for Break)、“2”表示位於中斷之後的後標記(“MARK”After Break,MAB)、“3”表示一個時槽的時間長度(Slot Time),其由一個起始時間“4”、8位元的資料位元組與兩個結束位元“7”、“8”所組成。“4”表示起始時間(START Time)、“5”表示最低有效資料位元(Least Significant Data Bit)、“6”表示最高有效資料位元(Most Significant Data Bit)、“7”與“8”表示結束位元(STOP Bit)、“9”表示相鄰時槽間的標記時間(“MARK”Time Between Slots)、“10”表示中斷“1”前的標記時間(“MARK”Before Break,MBB)、“11”表示中斷至中斷的時間(Break to Break Time)、“12”表示重置序列(RESET Sequence),其包括中斷“1”、後標記“2”與起始時槽SLOT0 ,起始時槽SLOT0 中包括一個起始時間“4”、起始代碼“14”與兩個結束位元“7”、“8”。“13”表示一個DMX512封包的時間(DMX512 Packet)、“14”表示起始代碼(START CCODE),也可稱為起始時槽(SLOT0 )的資料位元組、“15”表示第一個時槽的資料位元組(SLOT1 Data byte)、“16”表示第N個時槽的資料位元組(SLOTN Data byte),N為正整數且2≦N≦512,其中每個資料位元組為8位元。關於DMX512的格式,請參照DMX512的規範說明,在此不加累述。2A and 2B, FIG. 2A is a waveform diagram of the first signal DMX1 according to the first embodiment of the present invention. 2B is a waveform diagram of a second signal DMX2 according to the first embodiment of the present invention. The technical means for adjusting the first signal DMX1 by the first circuit unit 110 can be clearly understood by comparing FIG. 2A with FIG. 2B. In FIG. 2A, the first signal DMX1 conforms to the standard DMX512 format, and the meanings of the individual labels are as follows: "1" indicates the length of the Break ("SPACE" for Break), and "2" indicates the post mark after the interruption. ("MARK" After Break, MAB), "3" indicates the time slot of a time slot, which consists of a starting time "4", an 8-bit data byte and two ending bits. 7", "8" is composed. "4" indicates the start time (START Time), "5" indicates the Least Significant Data Bit, "6" indicates the Most Significant Data Bit, "7" and "8""" indicates the end bit (STOP Bit), "9" indicates the mark time between adjacent time slots ("MARK" Time Between Slots), and "10" indicates the mark time before the interruption of "1"("MARK" Before Break, MBB), "11" indicates Break to Break Time, and "12" indicates RESET Sequence, which includes interrupt "1", rear mark "2", and start slot SLOT 0 The start time slot SLOT 0 includes a start time "4", a start code "14" and two end bits "7", "8". "13" indicates the time of a DMX512 packet (DMX512 Packet), "14" indicates the start code (START CCODE), and can also be called the data byte of the start time slot (SLOT 0 ), and "15" indicates the first SLOT 1 Data byte, "16" represents the data slot of the Nth time slot (SLOT N Data byte), N is a positive integer and 2≦N≦512, each of which The data byte is 8 bits. For the format of DMX512, please refer to the specification of DMX512, which is not mentioned here.

在本實施例中,將第一信號DMX1中的第一個標記時間“10”定位義為前標記,標頭(header)SH包括前標記“10”、重置區間RE與重置區間RE後之第一個標記“9”(位於起始時槽SLOT0 與時槽SLOT1 之間的標記)。其中,值得注意的是,重置區間RE可僅包括重置序列“12”,或是包括重置序列“12”與X個設定時槽,X為正整數。設定時槽中的資料可供各電路單元作為資料設定之用,也可作為各電路單元之間傳遞溝通資料的時槽,本實施例並不受限。In this embodiment, the first mark time "10" in the first signal DMX1 is positioned as a front mark, and the header SH includes a front mark "10", a reset interval RE, and a reset interval RE. the first mark "9" (located between the labeled sLOT 0 1 starting slot when the slot sLOT). It should be noted that the reset interval RE may include only the reset sequence "12" or the reset sequence "12" and X set time slots, and X is a positive integer. The data in the set time slot can be used as a data setting for each circuit unit, and can also be used as a time slot for transmitting communication data between the circuit units, and the embodiment is not limited.

標頭SH後則是複數個時槽,相鄰時槽之間則以標記“9”區隔。當電路單元110接收到第一信號DMX1時,會擷取最前面的時槽SLOT1 中的資料位元組“15”,然後延長位於標頭SH中的標記“9”的長度,使標記“9”覆蓋時槽SLOT1 以產生第二信號DMX2。第二信號DMX2的信號波形如圖2B所示,其中延長後之標記“9”以“9X”表示,延長後之標頭SH則以SHX表示。由圖2B中可知,標記“9X”已經覆蓋已被讀取的時槽SLOT1 。標記“9”的準位為邏輯高電位,因此原本時槽SLOT1 所在位置會變成邏輯高電位的標記,並與原先位於時槽SLOT1 與時槽SLOT2 之間的標記結合為標記“9X”。由於延長後之標記“9X”的時間長度依然會小於1秒,因此圖2B所示第二信號DMX2的波形依然符合標準DMX512的格式規範。After the header SH, there are a plurality of time slots, and adjacent slots are separated by a mark "9". When the circuit unit 110 receives the first signal DMX1, it will retrieve the data byte "15" in the foremost time slot SLOT 1 , and then extend the length of the mark "9" located in the header SH to make the mark "9" covers time slot SLOT 1 to generate second signal DMX2. The signal waveform of the second signal DMX2 is as shown in FIG. 2B, wherein the extended mark "9" is represented by "9X", and the extended header SH is represented by SHX. As can be seen from Fig. 2B, the mark "9X" has already covered the time slot SLOT 1 that has been read. The level of the mark "9" is logic high, so the position of the original time slot SLOT 1 will become a logic high mark, and the mark originally between the time slot SLOT 1 and the time slot SLOT 2 will be combined with the mark "9X". ". Since the length of the extended mark "9X" is still less than 1 second, the waveform of the second signal DMX2 shown in Fig. 2B still conforms to the standard DMX512 format specification.

如圖2B所示,由於時槽SLOT1 已經被標記“9X”所取代,因此在第二信號DMX2中,位於最前面之時槽會變成位於原本時槽SLOT1 之後之時槽SLOT2 (未繪示),第二電路單元120可直接讀取時槽SLOT2 中之資料位元組。然後,再度延長標記“9X”,使其覆蓋時槽SLOT2 以產生第三DMX信號DMX3。依此類推,串接在後之電路單元會在擷取完對應的資料位元組後,延長標記“9X”以覆蓋讀取過之時槽,然後再將調整過之DMX信號輸出至下一級的電路單元。As shown in FIG. 2B, since the time slot SLOT 1 has been replaced by the mark "9X", in the second signal DMX2, the time slot at the foremost position becomes the time slot SLOT 2 after the original time slot SLOT 1 (not The second circuit unit 120 can directly read the data byte in the time slot SLOT 2 . Then, the mark "9X" is extended again so that it covers the time slot SLOT 2 to generate the third DMX signal DMX3. And so on, the circuit unit connected in series will extend the mark “9X” after overwriting the corresponding data byte to cover the read time slot, and then output the adjusted DMX signal to the next level. Circuit unit.

藉此,個別電路單元不需藉由定址的方式來加以區別,每一級的電路單元僅需擷取位於最前面的時槽的資料即可獲得正確的資料。個別電路單元可透過調整其串接的順序來決定所獲得的資料,使用者也可以透過調整各別時槽中的資料來調整每一個電路單元所接收的資料。利用上述技術手段,只要將電路單元串接,便可使用符合DMX512格式的信號來傳送資料,且各別電路單元不需額外設置定址電路。Thereby, the individual circuit units need not be distinguished by addressing, and the circuit unit of each stage only needs to retrieve the data of the first time slot to obtain the correct data. The individual circuit units can determine the obtained data by adjusting the order of the serial connections. The user can also adjust the data received by each circuit unit by adjusting the data in the respective time slots. By using the above technical means, as long as the circuit unit is connected in series, the data can be transmitted using the signal conforming to the DMX512 format, and the individual circuit units do not need to additionally set the addressing circuit.

由上述可知,將波形反相輸出可避免波形失真,使傳遞信號維持在DMX的格式時間規範內,而將標頭延長再輸出則可以讓免除位址的設定,因此只要將上述圖2B中的第二信號DMX2反相再輸出即可避免波形失真的問題。請參照圖2C,圖2C為圖2B的反相波形。本實施例結合上述兩個波形調整方式,讓DMX信號可在免位址設定的串列電路中傳遞,並且可避免其波形失真,讓使用DMX格式信號的電路設計更為簡便。此外,值得注意的是,在對第一信號DMX1的波形調整中,先進行反相後再進行標頭延長,或是再進行標頭延長後再進行反相均不會影響第二信號DMX2的波形,如圖2C所示,因此本實施例並不限定其波形調整的先後順序。此外,單純使用反相或標頭延長皆可達到其特定的功效,如上述說明,本實施例也可以依照設計需求僅使用反相或標頭延長來產生第二信號DMX2。It can be seen from the above that the waveform inversion output can avoid waveform distortion, so that the transmitted signal is maintained in the DMX format time specification, and the extension of the header and the output can make the setting of the address free, so as long as the above FIG. 2B is The second signal DMX2 is inverted and output to avoid the problem of waveform distortion. Please refer to FIG. 2C. FIG. 2C is an inverted waveform of FIG. 2B. In this embodiment, the two waveform adjustment modes are combined, so that the DMX signal can be transmitted in the serial-free serial circuit, and the waveform distortion can be avoided, so that the circuit design using the DMX format signal is more convenient. In addition, it is worth noting that in the waveform adjustment of the first signal DMX1, first performing the inversion and then performing the header extension, or performing the extension of the header and then performing the inversion does not affect the second signal DMX2. The waveform is as shown in FIG. 2C, so the embodiment does not limit the order of waveform adjustment. In addition, the specific effect can be achieved by simply using the inversion or the header extension. As described above, the embodiment can also use the inversion or header extension to generate the second signal DMX2 according to the design requirements.

值得注意的是,上述電路單元110、120、130例如是發光二極體顯示器或燈具的驅動電路,其中每個時槽包括一筆發光二極體的驅動資料,電路單元中可增加珈碼校正(Gamma Correction)功能,將原本DMX512的線性數位影像資料轉換成適合視覺的色階變化。但本實施例並不受限。只要是利用DMX信號來驅動的電路,皆可利用本實施例的技術手段來解決串接和定址的問題。此外,電路單元110、120、130也可利用嵌入式晶片來實現,其中調整波形的功能可以韌體或硬體電路來實現,本實施例並不受限。It is to be noted that the above-mentioned circuit unit 110, 120, 130 is, for example, a driving circuit of a light-emitting diode display or a luminaire, wherein each time slot includes driving data of one light-emitting diode, and the weight correction can be added in the circuit unit ( The Gamma Correction) function converts the linear digital image data of the original DMX512 into a gradation change suitable for the vision. However, this embodiment is not limited. As long as the circuit is driven by the DMX signal, the technical means of the embodiment can be utilized to solve the problem of serial connection and addressing. In addition, the circuit units 110, 120, and 130 can also be implemented by using an embedded chip, wherein the function of adjusting the waveform can be implemented by a firmware or a hardware circuit, and the embodiment is not limited.

此外,上述之DMX信號不限定於標準DMX512協議,例如可為4倍速DMX512格式(信號格式和標準DMX512相同,但格式時間規範為標準DMX512協議時間的四分之一),只要是對應於標準DMX512而延伸出的信號格式皆在此專利之技術保護範圍內。In addition, the above DMX signal is not limited to the standard DMX512 protocol, for example, the 4x speed DMX512 format (the signal format is the same as the standard DMX512, but the format time specification is one quarter of the standard DMX512 protocol time), as long as it corresponds to the standard DMX512. The extended signal format is within the technical protection of this patent.

第二實施例Second embodiment

由於不同的電子裝置所需的資料量不一,對於高解析度的發光二極體顯示裝置而言,單一時槽可能無法包括所需的資料量,因此可以多個時槽來傳遞單一筆的驅動資料。如同上述第一實施例所述之資料傳輸裝置100,其中第一電路單元110一次可讀取多個時槽的資料,在讀取資料後,第一電路單元110會延長第一信號DMX1中的標頭SH以覆蓋已讀取之多個時槽以產生下一個第二信號DMX2。值得注意的是,每次所讀取的時槽個數並不受限,可以N表示,N為正整數。Since the amount of data required for different electronic devices is different, for a high-resolution LED display device, a single time slot may not include the required amount of data, so multiple time slots can be used to transfer a single stroke. Drive data. The data transmission device 100 of the first embodiment, wherein the first circuit unit 110 can read data of a plurality of time slots at a time, after reading the data, the first circuit unit 110 extends the first signal DMX1. The header SH covers a plurality of time slots that have been read to generate a next second signal DMX2. It is worth noting that the number of time slots read each time is not limited, and can be expressed by N, where N is a positive integer.

以一次讀取三個時槽為例,即N等於3,請參照圖3A與圖3B,圖3A為根據本發明第二實施例之第一信號DMX1之波形示意圖。圖3B為根據本發明第二實施例之第二信號DMX2之波形示意圖。在圖3A中,繪示出前四個時槽SLOT1 ~SLOT4 ,第一電路單元110會讀取前三個時槽SLOT1 ~SLOT3 ,然後延長標頭SH中的標記“9”的長度以覆蓋所讀取之前三個時槽SLOT1 ~SLOT3 以產生第二信號DMX2,如圖3B所示。在圖3B中,延長後之標頭SH以SHX表示,延長後之標記“9”同樣以“9X”表示。依此類推,每一級的電路單元會在讀取對應時槽的資料後延長標記“9X”以覆蓋已經讀取的時槽,然後再產生符合DMX512格式的信號以傳遞至下一級的電路單元。For example, when three time slots are read at a time, that is, N is equal to 3, please refer to FIG. 3A and FIG. 3B, which is a waveform diagram of the first signal DMX1 according to the second embodiment of the present invention. FIG. 3B is a schematic diagram showing the waveform of the second signal DMX2 according to the second embodiment of the present invention. In Fig. 3A, the first four time slots SLOT 1 ~ SLOT 4 are shown , the first circuit unit 110 reads the first three time slots SLOT 1 ~ SLOT 3 , and then lengthens the length of the mark "9" in the header SH. The first three time slots SLOT 1 ~ SLOT 3 are read to cover the second signal DMX2, as shown in FIG. 3B. In Fig. 3B, the extended header SH is indicated by SHX, and the extended mark "9" is also indicated by "9X". Similarly, each stage of the circuit unit will extend the mark "9X" after reading the data of the corresponding time slot to cover the time slot that has been read, and then generate a signal conforming to the DMX512 format for transmission to the circuit unit of the next stage.

此外,當串接的電路單元數量較多時,為避免DMX信號在傳輸的過程中因個別電路單元的電性差異(例如信號的上升時間(rising time)與下降時間(falling time)不一致)而造成信號波形失真。在本實施例中,各級電路單元110~130可在輸出信號時,將信號反相(將邏輯高電位轉換為邏輯低電位,將邏輯低電位轉換為邏輯高電位)後再輸出,如此即可避免信號失真的問題產生。以第二實施例為例,第一電路單元110即會將圖3B所示的信號波形反相後再輸出至第二電路單元120,如圖3C所示,圖3C為圖3B的反相波形,其餘類推,不再累述。In addition, when the number of circuit units connected in series is large, in order to avoid the electrical difference of the individual circuit units during the transmission of the DMX signal (for example, the rising time and the falling time of the signal are inconsistent) Causes distortion of the signal waveform. In this embodiment, the circuit units 110-130 of each stage can invert the signal (convert the logic high potential to the logic low level and the logic low level to the logic high level) after outputting the signal, and then output. The problem of signal distortion can be avoided. Taking the second embodiment as an example, the first circuit unit 110 inverts the signal waveform shown in FIG. 3B and outputs it to the second circuit unit 120, as shown in FIG. 3C, and FIG. 3C shows the inverted waveform of FIG. 3B. The rest of the analogy is no longer exhaustive.

第三實施例Third embodiment

在上述實施例中,重置區間RE可由重置序列“12”與X個設定時槽組成,以X等於1為例,但本發明不以此為限,請參照圖4A與圖4B,圖4A為根據本發明第三實施例之第一信號之波形示意圖。圖4B為根據本發明第三實施例之第二信號之波形示意圖。其中,圖4A中的標頭SH包括重置區間RE與一個設定時槽,也就是將時槽SLOT1 作為設定時槽,因此經由第一電路單元110處理後之第一信號DMX2會保留標頭SH中的重置序列“12”與時槽SLOT1 ,然後覆蓋M個已讀取的時槽,本實施例中以M等於2為例說明,但本發明不以此為限,因此延長後之標記9X會覆蓋時槽SLOT2 與時槽SLOT3 。請參照圖4B,延長後之標頭SHX會保留時槽SLOT1 作為設定時槽使用,此設定時槽可供電路單元110~130傳遞資料使用或相互溝通、設定位址或回傳資料等使用。此外,設定時槽也可以直接在時槽SLOT1 前增加新的時槽來實現,其在傳輸格式上並無影響。In the above embodiment, the reset interval RE may be composed of a reset sequence "12" and X set time slots, and X is equal to 1 as an example. However, the present invention is not limited thereto. Please refer to FIG. 4A and FIG. 4B. 4A is a waveform diagram of the first signal according to the third embodiment of the present invention. 4B is a waveform diagram of a second signal according to a third embodiment of the present invention. The header SH in FIG. 4A includes a reset interval RE and a set time slot, that is, the time slot SLOT 1 is used as the set time slot, so the first signal DMX2 processed by the first circuit unit 110 retains the header. The reset sequence "12" and the time slot SLOT 1 in the SH are then covered with M read time slots. In this embodiment, M is equal to 2 as an example, but the present invention is not limited thereto, and thus is extended. The mark 9X will cover the time slot SLOT 2 and the time slot SLOT 3 . Referring to FIG. 4B, the extended header SHX retains the time slot SLOT 1 as a set time slot. The set time slot can be used by the circuit units 110-130 to communicate data, communicate with each other, set addresses, or return data. . In addition, the set time slot can also be realized by adding a new time slot directly before the time slot SLOT 1 , which has no effect on the transmission format.

值得注意的是,上述X與M的數值可根據設計需求而定,本實施例並不受限,且第二電路單元120所讀取與覆蓋的時槽數目,例如M個,M為正整數,在本實施例中,M的數值同樣也不受限,可依設計需求而定。換句話說,在本實施例中,標頭SH中所包括時槽個數,個別電路單元所覆蓋的時槽個數均不受限,只要個別電路單元在讀取後延長標頭覆蓋已讀取過的時槽便可達到不需設定位址即可傳遞資料的效果。同樣,圖4B之信號也可在反相後再輸出,本技術領域具有通常知識者應可由上述實施例輕易推知,在此不加累述。It should be noted that the values of the above X and M may be determined according to design requirements. The embodiment is not limited, and the number of time slots read and covered by the second circuit unit 120, for example, M, M is a positive integer. In this embodiment, the value of M is also not limited, and may be determined according to design requirements. In other words, in the embodiment, the number of time slots included in the header SH and the number of time slots covered by the individual circuit units are not limited, as long as the individual circuit units extend the header coverage after reading. The time slot that has been taken can achieve the effect of transferring data without setting an address. Similarly, the signal of FIG. 4B can also be output after the inversion, and those skilled in the art should be easily inferred from the above embodiments, and will not be described here.

第四實施例Fourth embodiment

上述第一實施例與第二實施例雖以標準DMX信號為例說明本發明之技術手段,然而本發明並不限制於標準DMX信號,亦可應用於一般具有標頭與時槽的信號,其傳輸方式同樣會在讀取時槽後,延長標頭的長度以覆蓋已經讀取的時槽,其每次所讀取的時槽個數並不受限。接下來,以讀取單一時槽為例進一步說明本實施例之技術手段。Although the first embodiment and the second embodiment illustrate the technical means of the present invention by taking a standard DMX signal as an example, the present invention is not limited to the standard DMX signal, and can also be applied to a signal generally having a header and a time slot. The transmission method also extends the length of the header after the slot is read to cover the time slot that has been read, and the number of slots read each time is not limited. Next, the technical means of the embodiment will be further described by taking a single time slot as an example.

請參照圖1、圖5A、圖5B,5A為根據本發明第四實施例之第一信號之波形示意圖。圖5B為根據本發明第三實施例之第二信號之波形示意圖。其中第一電路單元110會在讀取時槽SLOT1 的資料後,延長標頭SH以覆蓋時槽SLOT1 以產生第二信號,如圖4B所示。依此類推,第二電路單元110會讀取時槽SLOT2 的資料後,然後再延長標頭SHX以覆蓋時槽SLOT2Referring to FIG. 1, FIG. 5A and FIG. 5B, FIG. 5A is a waveform diagram of a first signal according to a fourth embodiment of the present invention. Figure 5B is a waveform diagram of a second signal in accordance with a third embodiment of the present invention. The first circuit unit 110, after reading the data of the slot SLOT 1 , extends the header SH to cover the slot SLOT 1 to generate a second signal, as shown in FIG. 4B. And so on, the second circuit unit 110 reads the data of the time slot SLOT 2 and then extends the header SHX to cover the time slot SLOT 2 .

利用本實施之技術手段,串接的電路單元不需各別定址,只要直接讀取標頭後之時槽即可獲得對應的資料,並藉由反相使信號維持在格式時間規範內,對於發光二極體或液晶顯示器等的驅動電路而言,其資料傳輸方式便可利用本發明之技術手段,讓資料可以依序傳遞至下一級的驅動晶片以達成資料傳輸的需求,並且可以簡化電路結構。By using the technical means of the present implementation, the serially connected circuit units do not need to be individually addressed, as long as the time slot after the header is directly read, the corresponding data can be obtained, and the signal is maintained in the format time specification by inversion. In the driving circuit of a light-emitting diode or a liquid crystal display, the data transmission method can utilize the technical means of the present invention, so that the data can be sequentially transferred to the driving chip of the next stage to achieve the data transmission requirement, and the circuit can be simplified. structure.

第五實施例Fifth embodiment

從另一個角度來看,上述第一實施例可歸納出一種傳遞DMX信號的方法,請同時參照圖1至圖6,圖6為根據本發明第五實施例之傳遞DMX信號的方法流程圖。首先,傳送第一信號DMX1至第一電路單元110(步驟S610),然後由第一電路單元110擷取第一信號DMX1中之N個時槽(如SLOT1 )之資料(即資料位元組)(S620)。在資料讀取完後,延長第一信號DMX1中標頭SH之標記的長度以使上述標記覆蓋已擷取之N個時槽以調整第一信號DMX1(步驟S630)。然後,將調整後之第一信號DMX1反相(步驟S640),然後產生第二信號DMX2(步驟S650)。接著,輸出第二信號DMX2至第二電路單元120(步驟S660),讓第二電路單元120擷取第二信號DMX2中之M個時槽(SLOT2 )的資料(即資料位元組)(步驟S670)。依此類推,第二電路單元120也會延長第二信號DMX2中標頭SH中的標記的長度以覆蓋所擷取之M個時槽,然後將調整後之第二信號DMX2反相,據以產生第三DMX信號DMX3至下一級的電路單元。其中,N、M為正整數,且N、M可相同或不相同。值得注意的是,上述步驟S630與步驟S640的順序可對調,並不影響第二信號DMX2的波形。From another point of view, the first embodiment described above can be summarized as a method for transmitting a DMX signal. Please refer to FIG. 1 to FIG. 6 simultaneously. FIG. 6 is a flowchart of a method for transmitting a DMX signal according to a fifth embodiment of the present invention. First, the first signal DMX1 is transmitted to the first circuit unit 110 (step S610), and then the data of the N time slots (such as SLOT 1 ) in the first signal DMX1 is captured by the first circuit unit 110 (ie, the data byte) ) (S620). After the data is read, the length of the mark of the header SH in the first signal DMX1 is extended so that the mark covers the N time slots that have been captured to adjust the first signal DMX1 (step S630). Then, the adjusted first signal DMX1 is inverted (step S640), and then the second signal DMX2 is generated (step S650). Then, the second signal DMX2 is outputted to the second circuit unit 120 (step S660), and the second circuit unit 120 is caused to capture the data (ie, the data byte) of the M time slots (SLOT 2 ) in the second signal DMX2 ( Step S670). And so on, the second circuit unit 120 also lengthens the length of the mark in the header SH of the second signal DMX2 to cover the M time slots captured, and then inverts the adjusted second signal DMX2 to generate The third DMX signal DMX3 is to the circuit unit of the next stage. Where N and M are positive integers, and N and M may be the same or different. It should be noted that the above steps S630 and S640 may be reversed, and the waveform of the second signal DMX2 is not affected.

由上述方式可知,由於所讀取過的時槽都會被標記覆蓋,因此每一級的電路單元可直接擷取位於標頭後的第一個時槽的資料即可獲得正確的資料。據此,電路單元藉由反相使信號維持在格式時間規範內,且不需要設置定址電路也可以正確取得DMX信號中的資料。本實施方法的其餘實施細節請參照上述第一實施例之說明,在此不加累述。It can be seen from the above that since the read time slot is covered by the mark, the circuit unit of each stage can directly retrieve the data of the first time slot located behind the header to obtain the correct data. Accordingly, the circuit unit maintains the signal in the format time specification by inverting, and the data in the DMX signal can be correctly obtained without setting the addressing circuit. For the remaining implementation details of the implementation method, please refer to the description of the first embodiment above, and no further description is provided herein.

第六實施例Sixth embodiment

同理,本發明並不限定於DMX信號,由上述第一至第三實施例可歸納出一種傳遞信號的方法,請參照圖7,圖7為根據本發明第五實施例之傳遞信號的方法流程圖。首先,輸出一第一信號,此第一信號具有一標頭與複數個時槽,上述時槽位於上述標頭之後(步驟S710),然後接收上述第一信號(步驟S720)。接下來,延長標頭的長度以使標頭覆蓋上述時槽中之N個時槽以調整第一信號(步驟S730)。然後,將調整後之第一信號反相(步驟S740),然後產生第二信號(步驟S750)。接著,輸出上述第二信號(步驟S760),N為正整數。其中標頭所覆蓋的時槽個數(N)可依照所需的資料量而定,本實施例並不受限。本實施方法的其餘實施細節請參照上述第一至第五實施例之說明,在此不加累述。Similarly, the present invention is not limited to the DMX signal, and a method for transmitting a signal can be summarized by the above first to third embodiments. Referring to FIG. 7, FIG. 7 is a method for transmitting a signal according to a fifth embodiment of the present invention. flow chart. First, a first signal is outputted, the first signal having a header and a plurality of time slots, the time slot being located after the header (step S710), and then receiving the first signal (step S720). Next, the length of the header is extended so that the header covers the N time slots in the above-described time slot to adjust the first signal (step S730). Then, the adjusted first signal is inverted (step S740), and then a second signal is generated (step S750). Next, the second signal is output (step S760), where N is a positive integer. The number of time slots (N) covered by the header may be determined according to the amount of data required, and the embodiment is not limited. For the remaining implementation details of the implementation method, please refer to the description of the first to fifth embodiments above, and no further description is provided herein.

綜上所述,本發明根據DMX512的格式規範,在傳遞DMX信號的過程中會對DMX信號進行波形調整,讓下一級的電路可以直接接收到對應的資料並可改善波形失真的問題。在本發明中,個別電路單元藉由反相使信號維持在格式時間規範內,且不需預先設定位址(address),可經由其串接順序來取得對應的資料,藉此讓使用DMX信號的電路設計更為方便。此外,此種方式也應用一般具有標頭與時槽的信號傳輸,同樣具有簡化電路的效果。In summary, according to the format specification of the DMX512, the present invention performs waveform adjustment on the DMX signal in the process of transmitting the DMX signal, so that the circuit of the next stage can directly receive the corresponding data and can improve the waveform distortion problem. In the present invention, the individual circuit units maintain the signal in the format time specification by inverting, and do not need to preset an address, and the corresponding data can be obtained through the serial sequence thereof, thereby using the DMX signal. The circuit design is more convenient. In addition, this method also applies signal transmission generally having a header and a time slot, and also has the effect of simplifying the circuit.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。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‧‧‧資料傳輸裝置100‧‧‧ data transmission device

110、120、130‧‧‧電路單元110, 120, 130‧‧‧ circuit unit

1-16‧‧‧DMX512信號格式1-16‧‧‧DMX512 signal format

DMX1‧‧‧第一信號DMX1‧‧‧ first signal

DMX2‧‧‧第二信號DMX2‧‧‧ second signal

DMX3‧‧‧第三DMX信號DMX3‧‧‧ third DMX signal

SLOT0 ‧‧‧起始時槽SLOT 0 ‧‧‧ Start slot

SLOT1 ~SLOTN ‧‧‧時槽SLOT 1 ~SLOT N ‧‧‧ time slot

9X‧‧‧延長後之標記9X‧‧‧posted mark

SH‧‧‧標頭SH‧‧‧ heading

SHX‧‧‧延長後之標頭SHX‧‧‧ Extended Header

S610~S670‧‧‧流程圖步驟S610~S670‧‧‧ Flowchart steps

S710~S770‧‧‧流程圖步驟S710~S770‧‧‧ Flowchart steps

圖1為根據本發明之資料傳輸裝置。1 is a data transmission device in accordance with the present invention.

圖2A為根據本發明第一實施例之第一信號DMX1之波形示意圖。2A is a waveform diagram of a first signal DMX1 according to a first embodiment of the present invention.

圖2B為根據本發明第一實施例之第二信號DMX2之波形示意圖。2B is a waveform diagram of a second signal DMX2 according to the first embodiment of the present invention.

圖2C為圖2B的反相波形。2C is the inverted waveform of FIG. 2B.

圖3A為根據本發明第二實施例之第一信號DMX1之波形示意圖。3A is a waveform diagram of a first signal DMX1 according to a second embodiment of the present invention.

圖3B為根據本發明第二實施例之第二信號DMX2之波形示意圖。FIG. 3B is a schematic diagram showing the waveform of the second signal DMX2 according to the second embodiment of the present invention.

圖3C為圖3B的反相波形。FIG. 3C is the inverted waveform of FIG. 3B.

圖4A為根據本發明第三實施例之第一信號之波形示意圖。4A is a waveform diagram of a first signal according to a third embodiment of the present invention.

圖4B為根據本發明第三實施例之第二信號之波形示意圖。4B is a waveform diagram of a second signal according to a third embodiment of the present invention.

圖5A為根據本發明第四實施例之第一信號之波形示意圖。Fig. 5A is a waveform diagram showing a first signal according to a fourth embodiment of the present invention.

圖5B為根據本發明第四實施例之第二信號之波形示意圖。Figure 5B is a waveform diagram of a second signal in accordance with a fourth embodiment of the present invention.

圖6為根據本發明第五實施例之傳遞DMX信號的方法流程圖。6 is a flow chart of a method of transmitting a DMX signal in accordance with a fifth embodiment of the present invention.

圖7為根據本發明第六實施例之傳遞信號的方法流程圖。7 is a flow chart of a method of transmitting a signal in accordance with a sixth embodiment of the present invention.

SLOT0 ...起始時槽SLOT 0 . . . Start slot

SLOT1 ~SLOTN ...時槽SLOT 1 ~SLOT N . . . Time slot

9X...延長後之標記9X. . . Extended mark

SHX...延長後之標頭SHX. . . Extended header

1-8、10-14、16...DMX512信號格式1-8, 10-14, 16. . . DMX512 signal format

Claims (21)

一種資料傳輸裝置,其特徵在於該資料傳輸裝置包括一第一電路單元,接收該第一信號並對該第一信號進行一波形調整後輸出一第二信號,其中該波形調整包括反相該第一信號的波形,其中該第一信號對應於DMX512的信號格式,且該第一信號包括一標頭與複數個時槽,該些時槽位於該標頭之後,其中該波形調整更包括延長該標頭的長度以覆蓋該些時槽中之N個時槽以產生該第二信號,N為正整數。 A data transmission device, comprising: a first circuit unit, receiving the first signal and performing a waveform adjustment on the first signal to output a second signal, wherein the waveform adjustment comprises inverting the first a signal waveform, wherein the first signal corresponds to a signal format of the DMX 512, and the first signal includes a header and a plurality of time slots, wherein the time slots are located after the header, wherein the waveform adjustment further comprises extending the The length of the header is to cover the N time slots in the time slots to generate the second signal, and N is a positive integer. 如申請專利範圍第1項所述之資料傳輸裝置,其中在該第一電路單元延長該標頭之前,該第一電路單元讀取該第一信號中之上述N個時槽中之資料。 The data transmission device of claim 1, wherein the first circuit unit reads data in the N time slots in the first signal before the first circuit unit extends the header. 如申請專利範圍第1項所述之資料傳輸裝置,更包括一第二電路單元,耦接於該第一電路單元以接收該第二信號,並讀取該第二信號中之M個時槽中之資料,上述M個時槽位於原本之上述N個時槽之後,並在讀取上述M個時槽後,再延長該標頭的長度以覆蓋已讀取之上述M個時槽並將延長該標頭後之該第二信號反相以產生一第三信號,M為正整數。 The data transmission device of claim 1, further comprising a second circuit unit coupled to the first circuit unit for receiving the second signal, and reading M time slots of the second signal In the data, the M time slots are located after the original N time slots, and after reading the M time slots, extend the length of the header to cover the M time slots that have been read and Extending the second signal after the header is inverted to generate a third signal, M being a positive integer. 如申請專利範圍第1項所述之資料傳輸裝置,其中該標頭依序包括一前標記、一重置區間與一標記,該第一電路單元係延長該標頭中之該標記的長度以覆蓋上述N個時槽。 The data transmission device of claim 1, wherein the header sequentially includes a front mark, a reset interval and a mark, and the first circuit unit extends the length of the mark in the header to Cover the above N time slots. 如申請專利範圍第4項所述之資料傳輸裝置,其中 該重置區間包括一重置序列。 The data transmission device of claim 4, wherein The reset interval includes a reset sequence. 如申請專利範圍第4項所述之資料傳輸裝置,其中該重置區間包括一重置序列與X個設定時槽,X為正整數。 The data transmission device of claim 4, wherein the reset interval comprises a reset sequence and X set time slots, and X is a positive integer. 如申請專利範圍第4項所述之資料傳輸裝置,其中該標記位於該重置區間與上述N個時槽之間。 The data transmission device of claim 4, wherein the mark is located between the reset interval and the N time slots. 如申請專利範圍第4項所述之資料傳輸裝置,其中該標記的長度小於1秒。 The data transmission device of claim 4, wherein the length of the mark is less than 1 second. 如申請專利範圍第5項所述之資料傳輸裝置,其中該重置序列依序包括一中斷、一後標記與一起始時槽。 The data transmission device of claim 5, wherein the reset sequence sequentially includes an interrupt, a post mark, and a start time slot. 如申請專利範圍第1項所述之資料傳輸裝置,其中每一該些時槽包括一起始時間、一資料位元組與兩個結束位元。 The data transmission device of claim 1, wherein each of the time slots comprises a start time, a data byte and two end bits. 一種傳遞信號的方法,包括:接收一第一信號,該第一信號具有一標頭與複數個時槽,該些時槽位於該標頭之後;以及對該第一信號進行一波形調整後輸出一第二信號,該波形調整包括反相該第一信號的波形,且該第一信號對應於DMX512的信號格式,其中該波形調整更包括延長該標頭的長度以覆蓋該些時槽中之N個時槽以產生該第二信號,N為正整數。 A method for transmitting a signal, comprising: receiving a first signal, the first signal having a header and a plurality of time slots, wherein the time slots are located after the header; and performing a waveform adjustment on the first signal a second signal, the waveform adjustment includes inverting a waveform of the first signal, and the first signal corresponds to a signal format of the DMX 512, wherein the waveform adjustment further comprises extending a length of the header to cover the time slots N time slots to generate the second signal, N being a positive integer. 如申請專利範圍第11項所述之方法,其中在延長該標頭的長度以使該標頭覆蓋該些時槽中之上述N個時槽以產生該第二信號之前更包括:讀取上述N個時槽中之資料。 The method of claim 11, wherein extending the length of the header such that the header covers the N time slots in the time slots to generate the second signal further comprises: reading the above Information in N time slots. 如申請專利範圍第11項所述之方法,更包括:接收該第二信號;再延長該標頭的長度以使該標頭覆蓋該些時槽中之M個時槽並將延長該標頭後之該第二信號反相以產生一第三信號,其中上述M個時槽位於原本之上述N個時槽之後,M為正整數;以及輸出該第三信號。 The method of claim 11, further comprising: receiving the second signal; extending the length of the header so that the header covers the M time slots in the time slots and extending the header The second signal is inverted to generate a third signal, wherein the M time slots are located after the N time slots, M is a positive integer; and the third signal is output. 如申請專利範圍第11項所述之方法,其中該標頭依序包括一前標記、一重置區間與一標記。 The method of claim 11, wherein the header comprises a pre-mark, a reset interval and a mark. 如申請專利範圍第14項所述之方法,其中該重置區間包括一重置序列。 The method of claim 14, wherein the reset interval comprises a reset sequence. 如申請專利範圍第14項所述之方法,其中該重置區間包括一重置序列與X個設定時槽,X為正整數。 The method of claim 14, wherein the reset interval comprises a reset sequence and X set time slots, and X is a positive integer. 如申請專利範圍第14項所述之方法,其中該標記位於該重置區間與上述N個時槽之間。 The method of claim 14, wherein the mark is located between the reset interval and the N time slots. 如申請專利範圍第14項所述之方法,其中該標記的長度小於1秒。 The method of claim 14, wherein the length of the mark is less than 1 second. 如申請專利範圍第15項所述之方法,其中該重置序列依序包括一中斷、一後標記與一起始時槽。 The method of claim 15, wherein the reset sequence sequentially includes an interrupt, a post mark, and a start time slot. 如申請專利範圍第19項所述之方法,其中該起始時槽依序包括一起始時間、一起始代碼與兩個結束位元。 The method of claim 19, wherein the start time slot sequentially includes a start time, a start code, and two end bits. 如申請專利範圍第11項所述之方法,其中每一該些時槽包括一起始時間、一資料位元組與兩個結束位元。 The method of claim 11, wherein each of the time slots comprises a start time, a data byte and two end bits.
TW098136319A 2009-10-27 2009-10-27 Data transmitting apparatus and method of transmitting signal thereof TWI458304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098136319A TWI458304B (en) 2009-10-27 2009-10-27 Data transmitting apparatus and method of transmitting signal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098136319A TWI458304B (en) 2009-10-27 2009-10-27 Data transmitting apparatus and method of transmitting signal thereof

Publications (2)

Publication Number Publication Date
TW201116001A TW201116001A (en) 2011-05-01
TWI458304B true TWI458304B (en) 2014-10-21

Family

ID=44934660

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098136319A TWI458304B (en) 2009-10-27 2009-10-27 Data transmitting apparatus and method of transmitting signal thereof

Country Status (1)

Country Link
TW (1) TWI458304B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5821703A (en) * 1984-08-15 1998-10-13 Callahan; Michael Data distribution in lighting systems
CN201252664Y (en) * 2008-06-20 2009-06-03 深圳市联腾科技有限公司 Transmitting-receiving control device of DMX512 lamp
TW200944050A (en) * 2008-04-02 2009-10-16 Arc Solid State Lighting Corp A signal reading method based on DMX512 Protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5821703A (en) * 1984-08-15 1998-10-13 Callahan; Michael Data distribution in lighting systems
TW200944050A (en) * 2008-04-02 2009-10-16 Arc Solid State Lighting Corp A signal reading method based on DMX512 Protocol
CN201252664Y (en) * 2008-06-20 2009-06-03 深圳市联腾科技有限公司 Transmitting-receiving control device of DMX512 lamp

Also Published As

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

Similar Documents

Publication Publication Date Title
US10593256B2 (en) LED display device and method for operating the same
US9747872B2 (en) LED display device and method for operating the same
US8023002B2 (en) Imager, imaging circuit, and image processing circuit
TWI352945B (en) Display, timing controller and data driver for tra
US7693086B2 (en) Data transfer control device and electronic instrument
US7617347B2 (en) Data transfer control device and electronic instrument
CN107580702B (en) Enhanced virtual GPIO with multi-mode modulation
US9704430B2 (en) LED display device and method for operating the same
US8970132B2 (en) Lighting device controlling chip, apparatus, system and addressing method thereof
CN1592388A (en) Video display interface based on group and its use method
US9812059B2 (en) Display device, method for transmitting data packet, and LED system
TW201123134A (en) Display devices and driving circuits
US7475171B2 (en) Data transfer control device including a switch circuit that switches write destination of received packets
US7920079B2 (en) Serial signal receiving device, serial transmission system and serial transmission method
WO2020099593A1 (en) Display, circuit arrangement for a display and method of operating a display
JP2009065399A (en) Digital data transmitter, digital data receiver, digital data transmitting-receiving system, method for transmitting digital data, method for receiving digital data, method for transmitting-receiving digital data, and electronic information device
CN102573184A (en) Lighting fixture control chip, device, system as well as addressing method thereof
TWI458304B (en) Data transmitting apparatus and method of transmitting signal thereof
CN101702848A (en) Monoline driving circuit in series of LED decorative illumination
US8421652B2 (en) Decoding circuit and decoding method thereof
CN110471882A (en) A kind of monobus telecommunication circuit and method
TWI444954B (en) Transmission interface and transmission method for display apparatus
US7499514B2 (en) Communication system, reception apparatus and method, recording medium and program
TWI344299B (en) Led display system with embedded microprocessors
US20080048950A1 (en) LED display system with embedded microprocessors

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent