CN101789978B - DMX512 data receivers and method thereof for automatic addressing in network - Google Patents

DMX512 data receivers and method thereof for automatic addressing in network Download PDF

Info

Publication number
CN101789978B
CN101789978B CN200910105264.2A CN200910105264A CN101789978B CN 101789978 B CN101789978 B CN 101789978B CN 200910105264 A CN200910105264 A CN 200910105264A CN 101789978 B CN101789978 B CN 101789978B
Authority
CN
China
Prior art keywords
data
control
dmx512
regulation
port
Prior art date
Application number
CN200910105264.2A
Other languages
Chinese (zh)
Other versions
CN101789978A (en
Inventor
余锦波
Original Assignee
敦泰科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 敦泰科技(深圳)有限公司 filed Critical 敦泰科技(深圳)有限公司
Priority to CN200910105264.2A priority Critical patent/CN101789978B/en
Publication of CN101789978A publication Critical patent/CN101789978A/en
Application granted granted Critical
Publication of CN101789978B publication Critical patent/CN101789978B/en

Links

Abstract

The invention relates to a method for enabling data receivers to carry out automatic addressing in a regulation and control data network constructed on the basis of a DMX512 protocol and data receivers. The regulation and control data network comprises a DMX512 data controller/coder and DMX512 data receivers which are not more than 512, wherein the DMX512 data receivers adopt a tandem connection mode to construct a network. The data receivers firstly decode received frame data and read the respective regulate and control byte of the first k regulate and control data bytes and then recode the frame data and output the recoded frame data after deleting the first k regulate and control data bytes in the frame data. The invention realizes the automatic addressing of the data receivers without limited transmission distance under the condition of being compatible with the universal DMX512 data controller/coder, which enables the network construction and the later-stage maintenance to be convenient and enables the regulate and control data network to have more complicated regulate and control data transmission and distribution capabilities.

Description

DMX512 data sink and in network the method for auto-addressing

Technical field

The present invention relates to method and the device of distribution network address in network, particularly relating in the network of setting up based on Data Transport Protocol is the method for data sink distribution network address and the device for the method.

Background technology

DMX512 agreement is the digital dimming communications protocol Digital Dimmer Protocol of an international standard, by the United State Institute for Theatre Technology of arenas technological associations of the U.S., Inc. proposing, is originally the standard that can transmit 512 road controllable silicon brightness information on a pair of line for light of stage control.In the network of being set up by control/encoder and no more than 512 data sinks, described control/encoder according to DMX512 agreement to regulation and control data encoding outputing in above-mentioned network, each data sink receives regulation and control data separately, and described regulation and control data are for regulating lamp brightness; The application of present described network has constantly been extended to the field to the control of multiple or multiple device cooperation, for example, and to the hydraulic pressure control of each shower nozzle in many shower nozzles fountain, to brightness or the color control of LED display.

In the network of the described establishment based on DMX512 agreement, regulation and control data acquisition asynchronous communication means, message transmission rate is 250 kbps.As shown in Figure 4, the data of every frame based on DMX512 agreement comprise synchronous head D hwith 512 regulation and control data byte D, described regulation and control data byte D comprises joint start bit B f, regulation and control byte B dwith section end position B e.Be adjusted to example with traditional lamplight brightness, the regulation and control byte B of the regulation and control data of relevant position is read in the address that described data sink is its distribution according to network from every frame data d, described regulation and control byte B dthe information of transmitting is exactly lamplight brightness value.So, be exactly an important ring of guaranteeing to regulate and control that data are accurately transmitted for each data sink distributes address.

Prior art mainly contains following three kinds of methods and solves the problem of described data sink addressing:

The first, artificial addressing.A dual-in-line toggle switch Dual In-line Package Switches is set on each data sink, is called for short DIP switch.By manually stirring described DIP switch, set address code for each data sink, the single-chip microcomputer in described data sink is determined the position in frame data of its regulation and control data byte D that should receive according to this address code, thereby accurately receives regulation and control byte B d.The defect of the method is, manually dials that to establish DIP switch workload large, be easy to occur to leak dial, many groups or the wrong problem such as dial, increased debugging cost, but also can bring very large hidden danger for later maintenance process.

The synchronous shifted data of the second, SPI, described SPI is the abbreviation of Serial Peripheral Interface Serial Peripheral Interface.Synchronised clock port and data latch enable port are set on general control/encoder and data sink, and set up respectively the transmission line for transmitting synchronous clock signal and data latch enable signal, all data sink serial networkings.Under the synchronous effect of described synchronizing clock signals, make frame data order displacement, when regulation and control data byte is moved to while mating with each self-corresponding data sink, send data latch enable signal, each data sink latch regulation and control data byte separately, completes corresponding addressing and receives data.The defect of the method is, DMX512 control/encoder that described network can not compatible universal, need to reequip general DMX512 control/encoder; Also to increase transmission line simultaneously, be increased to 5 transmission lines by original 3 transmission lines, and for the applicable cases of long transmission distance, adopt RS485 interface, transmission line is increased to 8 by original 4, and for actual networking, too much transmission line is can not be received.

The 3rd, use special control/encoder and receiver.This method is generally the DMX512 agreement of compatibility standard no longer completely, only in the compatible DMX512 agreement of supporting of tcp data segment, and increases test or training and operation pattern before transmission data, for to each data sink write address.Said method needs data sink to make toward contact to reply, therefore also can increase on a small quantity one or two connecting lines.The defect of the method is, control/encoder and data sink that described method is used be all supporting design, and have special function, can not adopt the DMX512 control/encoder that prior art is general to mate, all totally unfavorable in networking cost and application, the scope of application is little; And connecting line also has the increase of varying number, networking mode is also comparatively complicated, also different style and very complicated in control/encoder operation.

Said method all has defect separately, and for LED light fixture, each light fixture will take a more than address, for example control of red, green, blue three coloured light to light fixture, and prior art does not also propose a kind of DMX512 of utilization network and realizes a data sink and take the method for multiple addresses.Therefore, need a kind of can the compatible various networks of setting up based on DMX512 agreement, make the method for data sink auto-addressing.

Summary of the invention

The technical problem to be solved in the present invention is to avoid the deficiencies in the prior art part and in the regulation and control data network of the DMX512 control/encoder that proposes at compatible universal, for the method for data sink auto-addressing and for the data sink of the method.

The present invention solve the technical problem can be by realizing by the following technical solutions:

Implement to make in a kind of regulation and control data network setting up based on DMX512 agreement the method for data sink auto-addressing, described regulation and control data network comprises DMX512 Data Control/encoder and n DMX512 data sink, n≤512, the data-out port of described DMX512 Data Control/encoder is electrically connected with the data-in port of a DMX512 data sink, and the mode that described DMX512 data sink is electrically connected the input port of next DMX512 data sink according to the output port of self is connected in series networking; Especially, described each DMX512 data sink receives every frame data as follows:

A. from data-in port frames received certificate;

B. according to DMX512 agreement, described frame data are decoded;

C. the reception regulation and control amount of bytes k setting according to described DMX512 data sink self, reads respectively front k group regulation and control data byte regulation and control byte separately in the described frame data of processing through step B, k≤n;

D. the front k group regulation and control data byte in the described frame data of processing through step C is deleted;

E. the described frame data of process step D being processed are according to DMX512 protocol code;

F. will process described frame data through step e exports from data-out port.

The present invention solve the technical problem can be by realizing by the following technical solutions:

Design, manufacture a kind of data sink based on DMX512 agreement, comprise power input mouth, grounding ports, data-in port and data-out port, especially, also comprise the regulation and control data reception module being connected electrically between described data-in port and data-out port; First described regulation and control data reception module is decoded the frame data of receiving and is read front k regulation and control data byte regulation and control byte separately, then after the regulation and control of front k in delete frame data data byte, frame data recompile is exported, wherein k is the reception regulation and control byte number that described data sink is set, and described decoding and coding are all, according to DMX512 agreement, frame data are carried out to processing procedure.

Described regulation and control data reception module is single-chip microcomputer, or Digital Logical Circuits.

Compared with the existing technology, the present invention's " DMX512 data sink and the method for auto-addressing in network thereof " technique effect is:

1. do not need DMX512 Data Control/encoder to do any particular design, each DMX512 data sink can be connected to any one position in regulation and control data network, just can realize the addressing to described data sink, makes networking work simple;

2. in data transmission, each DMX512 data sink is equivalent to a data relay, transfer of data is not subject to distance limit, even if do not need to arrange special transmission line to strengthen data signal strength in the situation that of long transmission distance, makes the simple for structure of described regulation and control data network yet;

3. because each DMX512 data sink receives regulation and control data byte according to identical mode, therefore, the data sink in described regulation and control data network is all identical, makes the maintenance of described regulation and control data network easier;

4. described in, DMX512 data sink can receive k group regulation and control data byte, is equivalent to can receive at a data sink regulation and control data byte of k address, makes described regulation and control data network have more complicated regulation and control transfer of data and distributes ability.

Brief description of the drawings

Fig. 1 is the electric theory diagram of the DMX512 data sink 200 of the present invention's " DMX512 data sink and method of auto-addressing in network thereof " preferred embodiment;

Fig. 2 is the networking schematic diagram of the DMX512 data regulated and control network of the preferred embodiment of the present invention;

Fig. 3 is the workflow schematic diagram of the regulation and control data reception module 210 of DMX512 data sink 200 described in the preferred embodiment of the present invention;

Fig. 4 is the data structure schematic diagram of a frame based on DMX512 agreement.

Embodiment

Be described in further detail below in conjunction with preferred embodiment shown in accompanying drawing.

The present invention relates to make in a kind of regulation and control data network setting up based on DMX512 agreement the method for data sink auto-addressing, as depicted in figs. 1 and 2, described regulation and control data network 300 comprises DMX512 Data Control/encoder 100 and n DMX512 data sink 200, n≤512, the data-out port I of described DMX512 Data Control/encoder 100 dbe electrically connected with the data-in port I of a DMX512 data sink, the mode that described DMX512 data sink is electrically connected the input port I of next DMX512 data sink according to the output port O of self is connected in series networking, especially, described each DMX512 data sink 200 receives every frame data as follows:

A. from data-in port I frames received certificate;

B. according to DMX512 agreement, described frame data are decoded;

C. the reception regulation and control amount of bytes k setting according to described DMX512 data sink self, reads respectively front k group regulation and control data byte regulation and control byte separately in the described frame data of processing through step B, k≤n;

D. the front k group regulation and control data byte in the described frame data of processing through step C is deleted;

E. the described frame data of process step D being processed are according to DMX512 protocol code;

F. will process described frame data through step e exports from data-out port O.

As shown in Figure 2, described DMX512 data sink 200 is connected in series networking mode and has distributed physical address for each data sink 200, and each DMX512 data sink 200 receives and the corresponding k group of self physical address regulation and control data byte according to steps A to step F.In the time of k=1, described physical address is corresponding with the distribution address of regulation and control data byte, in the time of k > 1, each DMX512 data sink 200 takies the distribution address of k regulation and control data byte, this kind of situation is applicable to some special application scenarios, for example, the described regulation and control data network based on DMX512 agreement is the regulation and control for LED light fixture group, and each described LED light fixture comprise send respectively red, green, three LED luminous elements of blue three kinds of light, so just need to distribute respectively light modulation data byte for three LED luminous elements in this LED light fixture, in such cases, the reception regulation and control amount of bytes k=3 setting in described DMX512 data sink 200.

As mentioned above, described DMX512 data sink 200 not only completes the reception of regulation and control byte, also frame data are carried out to recompile, remove the regulation and control byte being read by self, the regulation and control byte that next DMX512 data sink 200 need to be received is positioned at the first place of frame data, and to new frame data recompile.Described DMX512 data sink 200 has also played the effect of data relay, makes it can distance data transmission.

As shown in Figure 1, the invention still further relates to a kind of data sink 200 based on DMX512 agreement, comprise power input mouth V cC, grounding ports GND, data-in port I and data-out port O, especially, also comprise the regulation and control data reception module 210 being connected electrically between described data-in port I and data-out port O.First described regulation and control data reception module 210 is decoded the frame data of receiving and is read front k regulation and control data byte regulation and control byte separately, then after the regulation and control of front k in delete frame data data byte, frame data recompile is exported, wherein k is the reception regulation and control byte number that described data sink is set, and described decoding and coding are all, according to DMX512 agreement, frame data are carried out to processing procedure.In addition, when for long-distance transmissions, described data-in port I and data-out port O can adopt RS485 interface.

Described regulation and control data reception module 210 is single-chip microcomputers, or Digital Logical Circuits.For saving hardware cost, the preferred embodiment of the present invention, described regulation and control data reception module 210 adopts single-chip microcomputer, and the reception flow chart of data processing figure of this single-chip microcomputer is as shown in Figure 3.

Claims (3)

1. one kind makes the method for data sink auto-addressing in the regulation and control data network of setting up based on DMX512 agreement, described regulation and control data network comprises DMX512 Data Control/encoder and n DMX512 data sink, n≤512, the data-out port of described DMX512 Data Control/encoder is electrically connected with the data-in port of a DMX512 data sink, and the mode that described DMX512 data sink is electrically connected the input port of next DMX512 data sink according to the output port of self is connected in series networking; It is characterized in that:
Described each DMX512 data sink receives every frame data as follows:
A. from data-in port frames received certificate;
B. according to DMX512 agreement, described frame data are decoded;
C. the reception regulation and control amount of bytes k setting according to described DMX512 data sink self, reads respectively front k group regulation and control data byte regulation and control byte separately in the described frame data of processing through step B, k≤n;
D. the front k group regulation and control data byte in the described frame data of processing through step C is deleted;
E. the described frame data of process step D being processed are according to DMX512 protocol code;
F. will process described frame data through step e exports from data-out port.
2. the data sink based on DMX512 agreement, comprises power input mouth, grounding ports, data-in port and data-out port, it is characterized in that:
Also comprise the regulation and control data reception module being connected electrically between described data-in port and data-out port;
First described regulation and control data reception module is decoded the frame data of receiving and is read front k regulation and control data byte regulation and control byte separately, then after the regulation and control of front k in delete frame data data byte, frame data recompile is exported, wherein k is the reception regulation and control byte number that described data sink is set, and described decoding and coding are all, according to DMX512 agreement, frame data are carried out to processing procedure.
3. the data sink based on DMX512 agreement according to claim 2, is characterized in that:
Described regulation and control data reception module is single-chip microcomputer, or Digital Logical Circuits.
CN200910105264.2A 2009-01-22 2009-01-22 DMX512 data receivers and method thereof for automatic addressing in network CN101789978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910105264.2A CN101789978B (en) 2009-01-22 2009-01-22 DMX512 data receivers and method thereof for automatic addressing in network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910105264.2A CN101789978B (en) 2009-01-22 2009-01-22 DMX512 data receivers and method thereof for automatic addressing in network

Publications (2)

Publication Number Publication Date
CN101789978A CN101789978A (en) 2010-07-28
CN101789978B true CN101789978B (en) 2014-07-02

Family

ID=42533027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910105264.2A CN101789978B (en) 2009-01-22 2009-01-22 DMX512 data receivers and method thereof for automatic addressing in network

Country Status (1)

Country Link
CN (1) CN101789978B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013012547A1 (en) * 2011-06-30 2013-01-24 Lutron Electronics Co., Inc. Load control device having internet connectivity, and method of programming the same using a smart phone
WO2013003813A1 (en) 2011-06-30 2013-01-03 Lutron Electronics Co., Inc. Device and method of optically transmitting digital information from a smart phone to a load control device
US9544977B2 (en) 2011-06-30 2017-01-10 Lutron Electronics Co., Inc. Method of programming a load control device using a smart phone
US9368025B2 (en) 2011-08-29 2016-06-14 Lutron Electronics Co., Inc. Two-part load control system mountable to a single electrical wallbox
CN102361527A (en) * 2011-11-10 2012-02-22 四川九洲光电科技股份有限公司 Circuit with microprogrammed control unit (MCU) address automatically written according to DMX512 protocol and implementation method for circuit
US10019047B2 (en) 2012-12-21 2018-07-10 Lutron Electronics Co., Inc. Operational coordination of load control devices for control of electrical loads
US10244086B2 (en) 2012-12-21 2019-03-26 Lutron Electronics Co., Inc. Multiple network access load control devices
US9413171B2 (en) 2012-12-21 2016-08-09 Lutron Electronics Co., Inc. Network access coordination of load control devices
US10135629B2 (en) 2013-03-15 2018-11-20 Lutron Electronics Co., Inc. Load control device user interface and database management using near field communication (NFC)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1125573C (en) * 1998-10-09 2003-10-22 日本电气株式会社 Mobile communication system in which base stations are serially connected
CN1655081A (en) * 2004-02-10 2005-08-17 上海新时达电气有限公司 Allocator for automatically allocating address to serial bus device and method for controlling the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1125573C (en) * 1998-10-09 2003-10-22 日本电气株式会社 Mobile communication system in which base stations are serially connected
CN1655081A (en) * 2004-02-10 2005-08-17 上海新时达电气有限公司 Allocator for automatically allocating address to serial bus device and method for controlling the same

Also Published As

Publication number Publication date
CN101789978A (en) 2010-07-28

Similar Documents

Publication Publication Date Title
US10069620B2 (en) Overclocked line rate for communication with PHY interfaces
TWI392301B (en) Method and system for an extended range ethernet line code
CN203708567U (en) Direct-through and light regulation dual purpose power supply module of professional lighting power supply system
CA2561994C (en) 10/100/1000/2500 mbps serial media independent interface (sgmii)
US20110222422A1 (en) Method and system for direction setting of a self-configurable asymmetric link
US20020049879A1 (en) Cable and connection with integrated DVI and IEEE 1394 capabilities
US20080095218A1 (en) Methods And Apparatus For Interfacing A Plurality Of Encoded Serial Data Streams To A Serializer/Deserializer Circuit
CN104737543B (en) For providing the method and apparatus to the high speed data transfer of video data
CN203708564U (en) Straight-through light modulation dual-purpose power supply module used for professional art performance lamplight
CN101953097B (en) Apparatus and method for transmitting and receiving data using visible light communication
CN101068117A (en) Wire communication method and system
CN204089821U (en) A kind of visible light communication system
CN102523436B (en) Transmission terminal, receiving terminal, multi-channel video optical fiber transmission system and multi-channel video optical fiber transmission method
CN100561457C (en) A kind of system of RS232/RS485 compatibility interface and method thereof
CN103595862B (en) A kind of test macro of MIPI DSI controller
US7957283B2 (en) Multi-port ethernet transceiver
CN105472779B (en) LED display indoor wireless communication system based on LiFi technologies
CN105208298B (en) A kind of matrix switch system and Inverse problem method for multi-format video signal switching
CN104795039B (en) FPGA (field programmable gate array) based method and FPGA based device for adjusting MIPI (mobile industry processor interface) signal transmission
CN104967600B (en) The system and method that multichannel auto negotiation is carried out by the medium for reducing channel
CN101867412A (en) System and method for realizing communication by using semiconductor illumination
CN101945516A (en) Intelligent LED lamp controller and control method
CN204168311U (en) A kind of intelligent terminal, the network terminal and network parameter configuration-system
CN101339738A (en) Single line cascade chip for lamp point display
CN205051944U (en) Intelligence light control system for house

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant