CN101547542B - Logic group address supporting method and logic group address supporting system for DMX512 landscape lighting management and control - Google Patents
Logic group address supporting method and logic group address supporting system for DMX512 landscape lighting management and control Download PDFInfo
- Publication number
- CN101547542B CN101547542B CN 200910098263 CN200910098263A CN101547542B CN 101547542 B CN101547542 B CN 101547542B CN 200910098263 CN200910098263 CN 200910098263 CN 200910098263 A CN200910098263 A CN 200910098263A CN 101547542 B CN101547542 B CN 101547542B
- Authority
- CN
- China
- Prior art keywords
- dmx512
- control
- group address
- module
- internet
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004891 communication Methods 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 12
- 239000013078 crystal Substances 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 abstract description 4
- 108091006146 Channels Proteins 0.000 description 63
- 230000000295 complement effect Effects 0.000 description 13
- 230000027455 binding Effects 0.000 description 11
- 238000009739 binding Methods 0.000 description 11
- 238000004321 preservation Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 239000000203 mixture Substances 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 101100429082 Mus musculus Xlr5c gene Proteins 0.000 description 1
- 241001355526 Smartiomyia arena Species 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000005693 optoelectronics Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Images
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention discloses a logic group address supporting method and a logic group address supporting system for DMX512 landscape lighting management and control. The system comprises an upper layer Internet management network and a plurality of lower layer DMX512 control networks; the management network and the control networks exchange information through an Internet/DMX512 gateway which serves as a node of the Internet management network to be connected with a PC manager and serves as a primary controller of the DMX512 control networks at the same time; each DMX512 control network consists of one primary controller and a plurality of secondary controllers, and operating parameters corresponding to logic group address and primary controller logic group addresses are set off line on the basis of the physical addresses of the secondary controllers; and when operating, the DMX512 control networks adopt the logic group address to realize complex functions such as landscape lighting. The system and the method have the advantages that: DMX512 control networks support the logic group address and are downward compatible with physical address addressed standard DMX512 products, and the logic group address can reliably realize the landscape lighting and other complex functions with high efficiency; and the control networks can operate independently and integrally by using the management network, and the intrinsic drawback of limited DMX512 control channels is overcome.
Description
Technical field
The present invention relates to the Landscape Lighting control technology field based on DMX512, relate in particular to a kind of DMX512 Landscape Lighting managing and control system and method for supporting logical group address.
Background technology
DMX512 is the digital multiplex agreement that U.S. arenas technological associations (USITT) formulate, and its original intention is to realize the device controller, the particularly compatibility of light units controller of stage, theater, studio.Although DMX512 not yet lists international standard in, because its simplicity, high efficiency and practicality had obtained worldwide production manufacturer and user's extensive support already, be actual international standard.Although the lamp light control system based on ICP/IP protocol has been obtained considerable progress, but DMX512 is still most widely used agreement in stage, theater, the studio light control field, especially at the end of lamp light control system, the leading position of DMX512 control mode is not accommodating doubts.
DMX512 is a bit to the master-slave mode communication protocol of multiple spot, and protocol specifies data adopts the form asynchronous serial of packet to transmit between slave, and the baud rate of transfer of data is 250Kb/s, and namely every transmission time is 4us; Each packet is with a low level signal that is not shorter than 88us, is no more than 1s, follow one closely and be not shorter than the 8us high level signal as beginning flag, be exactly the Frame part afterwards---comprise an initial code and maximum 512 Frames, the sequence number that sends Frame subtracts 1 corresponding control channel number (physical address of control channel); Agreement regulation acquiescence initial code frame is zero, Frame by the data field of 1 low level start bit, 8 bit data and 2 high level position of rests totally 11 form; Between the Frame, can have between the packet, the interval also can have no time.The theoretical upper limit of being not difficult to draw DMX512 packet renewal rate is 44.115Hz.The reliable of data communication is primary with stablizing in the engineering construction, so standing putting the time interval between Frame, between packet, to promote the reliability and stability of communication; On the other hand, view and water scenery illumination need to cooperate with nozzle, water type, music etc., must reserve to mechanical movement the time of ms level.Above-mentioned reason causes actual packet turnover rate usually only for several Hz, can't satisfy the requirement of Landscape Lighting.
The LED Landscape Lighting adopts RGB three coloured light emitting diodes, and the DMX512 that therefore controls each LED light fixture need configure 3 control channels from the control device, i.e. DMX512 control net can only be supported at most the small-scale Landscape Lighting system take 170 LED light fixtures as the upper limit.
Summary of the invention
The objective of the invention is to overcome existing DMX512 Landscape Lighting system control channel limited, realize the two not good enough large defectives of sophisticated functions Time Bandwidth utilance such as scene lighting, a kind of DMX512 Landscape Lighting managing and control system and method for supporting logical group address is provided.
Support the DMX512 Landscape Lighting managing and control system of logical group address to comprise the Internet managerial grid on upper strata and a plurality of DMX512 control nets of lower floor; A plurality of DMX512 control nets of the Internet managerial grid on upper strata and lower floor are through Internet/DMX512 gateway exchange message, the Internet/DMX512 gateway links to each other with the PC supervisor as Internet managerial grid node, and the Internet/DMX512 gateway doubles as again the main controller of the DMX512 control net of lower floor simultaneously; Described upper strata Internet managerial grid is comprised of a PC supervisor, polylith Internet/DMX512 gateway, and PC and gateway interconnect by Internet; Each DMX512 of described lower floor control net is by a main controller and a plurality ofly form from the control device, and from control implements reason basis, address, off-line arranges logical group address, and from operating parameter corresponding to control device logical group address; Described Internet/DMX512 gateway comprises Internet control module ENC28J60 chip, main control module ATmega128 chip, the RS485 control module MAX485 chip that links to each other successively, the ENC28J60 chip adopts the RJ45 interface to link to each other with the Internet managerial grid, the MAX485 chip adopts five core XLR interfaces to link to each other with DMX512 control net, and the ATmega128 chip extends out storaging chip AT29C020; The order of PC supervisor or data are packaged into the Internet Packet Generation, the ICP/IP protocol stack resolution data bag of ATmega32 extracts order or the data of PC supervisor, order or data based DMX512 protocol stack are packaged into the DMX512 packet, and send to DMX512 control net through MAX485; DMX512 control net to the information transmission processing flow process of PC supervisor is the inverse process of said process.
Described a kind of DMX512 Landscape Lighting managing and control system of supporting logical group address is characterized in that described lower floor control net comprises the DMX512 control net arranged side by side of a plurality of access-in management nets; Each DMX512 control net is by a main controller and a plurality ofly form from the control device, and main controller doubles as the Internet/DMX512 gateway, main controller with interconnect by DMX512 from the control device; Comprise RS485 control module, 9 contact pin physical addresss of mechanical type coding module, main control module ATmega32, LED lamp driver module and LED lamp plate, power rectifier module, restart module, crystal oscillator module and communication state display module from the control device; Main control module ATmega32 respectively with restart module, crystal oscillator module, RS485 control module, LED lamp driver module, communication state display module, 9 contact pin physical addresss of mechanical type coding module and link to each other, the RS485 control module adopts five core XLR interfaces access DMX512 bus, LED lamp driver module links to each other with the LED lamp plate, the power rectifier module respectively with main control module ATmega32, LED lamp driver module with the LED lamp plate, restart module, the communication state display module links to each other
Support the DMX512 control of logical group address to net the DMX512 product of the physical address addressing of backward compatible standard, preset the operating parameter of control channel logical group address.
The present invention compares with background technology, and the beneficial effect that has is as follows:
Support the DMX512 control of logical group address to net the DMX512 product of the physical address addressing of backward compatible standard, preset the operating parameter of control channel logical group address, the sophisticated functionss such as realization scene lighting of energy high efficient and reliable; Two layer system structure by the integrated DMX512 control of Internet managerial grid net has overcome the limited inherent shortcoming of DMX512 control channel, but DMX512 controls both independent operatings of net, again can be by the managerial grid integrated operation.
Description of drawings
Fig. 1 is the DMX512 Landscape Lighting managing and control system structure chart of supporting logical group address;
Fig. 2 is Internet/DMX512 gateway module figure;
Fig. 3 is Internet/DMX512 gateway hardware connection layout;
Fig. 4 is Internet/DMX512 gateway protocol Change-over knot composition;
Fig. 5 is that Internet is to DMX512 protocol conversion figure;
Fig. 6 is that DMX512 control net is from control device hardware connection layout;
Fig. 7 is Landscape Lighting managing and control system configuration master surface chart.
Embodiment
As shown in Figure 1, 2, 3, support the DMX512 Landscape Lighting managing and control system of logical group address to comprise the Internet managerial grid on upper strata and a plurality of DMX512 control nets of lower floor; A plurality of DMX512 control nets of the Internet managerial grid on upper strata and lower floor are through Internet/DMX512 gateway exchange message, the Internet/DMX512 gateway links to each other with the PC supervisor as Internet managerial grid node, and the Internet/DMX512 gateway doubles as again the main controller (such as an Internet/DMX512 gateway, the 2nd Internet/DMX512 gateway etc. among Fig. 1) of the DMX512 control net of lower floor simultaneously; The described DMX512 of lower floor control net by a main controller and a plurality of from the control device form (such as first DMX512 Fig. 1 from control device, second DMX512 from the control device ..., a N DMX512 is from controlling device), from control implements reason basis, address, off-line arranges logical group address, and from operating parameter corresponding to control device logical group address; The upper operation of PC Landscape Lighting configuration software: generate Landscape Lighting configuration file during off-line state, enter presence and then call in the running configuration file operation.The configuration file comprises off-line logical group address and operating parameter configuration file and running configuration file.Described upper strata Internet managerial grid is comprised of a PC supervisor, polylith Internet/DMX512 gateway, and PC and gateway interconnect by Internet; Described Internet/DMX512 gateway comprises main control module ATmega128, the RS485 control module MAX485 of the Internet control module ENC28J60, the expanding storage chip AT29C020 that link to each other successively, ENC28J60 adopts RJ45 to link to each other with the Internet managerial grid, and MAX485 adopts five core XLR to link to each other with DMX512 control net.Half-duplex data wire data1 is used for main controller to sending data from the control device, and data2 is used for from the control device to the main controller return data, and the data1+ of XLR5 and data2+ connect respectively two peripheral hardware connectivity ports of MAX485.The configuration file that extension storage chip AT29C020 generates when being used for storage PC off-line configuration, its memory space is 256KB.Internet network controller ENC28J60 maximum speed can reach 10Mbit/s, by standard SPI serial line interface and microcontroller communication, takies the I/O port resource few, is conducive to realize network function at single-chip microcomputer; Main control module is implemented the sheet choosing by pin PA4 to Internet network controller ENC28J60, and ENC28J60 proposes to send or the receive data application to main control module with the form of external interrupt.The order of PC supervisor or data are packaged into the Internet Packet Generation, the ICP/IP protocol stack resolution data bag of ATmega32 extracts order or the data of PC supervisor, order or data based DMX512 protocol stack are packaged into the DMX512 packet, and send to DMX512 control net through MAX485; DMX512 control net to the information transmission processing flow process of PC supervisor is the inverse process of said process.When off-line arranges from the logical group address of control device FEEDBACK CONTROL passage binding and corresponding operating parameter state information to main controller and PC supervisor, realize information interaction, confirm the logical group address binding success, during on-line operation, the unidirectional, half-duplex transmission means of the DMX512 agreement that still maintains the standard.
As shown in Figure 4, lower floor's control net comprises the DMX512 control net arranged side by side of a plurality of access-in management nets; Each DMX512 control net is by a main controller and a plurality ofly form from the control device, and main controller doubles as the Internet/DMX512 gateway, main controller with interconnect by DMX512 from the control device; Comprise RS485 control module, 9 contact pin physical addresss of mechanical type coding module, main control module ATmega32, LED lamp driver module and LED lamp plate, power rectifier module, restart module, crystal oscillator module and communication state display module from the control device, main control module ATmega32 respectively with restart module, crystal oscillator module, RS485 control module, LED lamp driver module, communication state display module and link to each other, the RS485 control module adopts five core XLR access DMX512 bus, LED lamp driver module links to each other with the LED lamp plate, and current module links to each other with each device.The crystal oscillator module provides the crystal oscillator frequency of 16MHz for the microprocessor from the control device, the RS485 control module adopts the MAX485 chip, communication signal enters main control module ATmega32 through the MAX485 communication module, microprocessor is processed the Frame that receives: when control net off-line arranges, adopt physical address addressing reception ﹠ disposal data, the information of stored logic group address and this logical group address respective operations parameter; During control net on-line operation, be " 0x00 ", " 0x01 " according to initial code, adopt physical address or logical group address receive data, realize Landscape Lighting control.During control net on-line operation, the operating parameter of control signal is transported to LED lamp driver module (the PWM controller adopts the HV9921 of Hangzhou Opto Electronics Co., Ltd.), adopt the enforcement of PWM dutyfactor adjusting method to the brightness regulation of RGB, the corresponding 256 kinds of different brightness of 8 bit manipulation parameters are selected.
As shown in Figure 5, Internet/DMX512 gateway protocol switching software is by ICP/IP protocol stack, Internet decoder module, Internet coding module, DMX512 protocol stack, DMX512 decoder module, DMX512 coding module, top control module totally 7 module compositions.The order of PC supervisor or data are packaged into the Internet data packet format and send, the Interne decoder module of gateway extracts order or the data of PC according to the ICP/IP protocol stack, be packaged into the DMX512 data packet format by the DMX512 coding module according to the DMX512 protocol stack again and be sent to DMX512 control net; DMX512 control net to the information transmission processing flow process of PC supervisor is the inverse process of said process; Top control module is responsible for the initialization of each module, and state shows and coordinate operation and the termination of each module.
As shown in Figure 6, Internet is to the DMX512 protocol conversion, omit source address, the destination address of IP data head, in generation, is with DMX512 master-slave communication protocol format: be no more than the break (low level) of 1s not to be shorter than 8us and be not shorter than the MAB (high level) of 8us as the beginning flag of DMX512 packet, only keep 8 bit data in the Internet data fields as the data of DMX512 Frame data field.
As shown in Figure 7, operating personnel are by the configuration master interface implementation and operation of the Landscape Lighting managing and control system on the PC supervisor, main operation interface bottommost has 8 buttons, is respectively: configuration, preview, modification, preservation, download, verification, on-line execute and offline operation.Landscape Lighting control integration system configuration comprises the IP address of PC supervisor IP address, DMX512 control netting index amount, DMX512 control net, number of channels, DMX512 control Netcom road binding logical group address and the operating parameter of DMX512 control net, the configuration of DMX512 control network operation configuration file; The DMX512 main controller is the channel interface setting that main controller is then passed through in the IP address of Internet/DMX512 gateway.
When off-line arranges, click " configuration " button, " PC supervisor IP address " hurdle shows black--effectively; Click " PC supervisor IP address ", eject PC supervisor IP address sub-interface is set, after setting was finished, " DMX512 control netting index amount " hurdle showed black--effectively; Click " DMX512 control netting index amount ", eject DMX512 control netting index amount sub-interface is set, after setting was finished, " DMX512 control net IP address " showed black--effectively; Configuration software determines that according to the DMX512 control netting index amount of setting DMX512 controls the number of net IP address, ejects DMX512 control net IP address sub-interface is set, and after setting was finished, " DMX512 control Netcom road quantity " showed black--effectively; Configuration software is according to the DMX512 control netting index amount of setting, and the number of channels that ejects DMX512 control net arranges sub-interface, and after setting was finished, " DMX512 control net logical group address arranges " showed black--effectively; Click " DMX512 control net logical group address arranges ", configuration software is according to the DMX512 control netting index amount of setting, the DMX512 control net logical group address and the operating parameter that eject successively corresponding number arrange sub-interface, after setting was finished, " configuration of DMX512 control network operation " showed black--effectively; Click " configuration of DMX512 control network operation ", the DMX512 control network operation configuration of ejecting successively corresponding number arranges sub-interface, the running configuration file of configuration DMX512 control net.
It is as shown in table 1 that the logical group address in single DMX512 control Netcom road and operating parameter are bound sub-interface, the form bottommost shows the IP address of this control net, and show the numbering of this control network control passage processed according to the DMX512 control Netcom road quantity of setting before, setting completed for numeral " 00 " expression control channel logical group address and corresponding operating parameter, and logical group address and operating parameter that form will be relevant with control channel are tied to corresponding control channel; After all DMX512 control net logical group address bindings were finished, " configuration of DMX512 control network operation " showed black--effectively; Configuration software is according to the DMX512 control netting index amount of setting, and the DMX512 control network operation configuration of ejecting successively corresponding number arranges sub-interface.
Table 1 control channel Wire Parameters
It is as shown in table 2 that DMX512 control network operation configures sub-interface, the left-handed watch bottommost shows the IP address of this control net, send scene and number save as 16 bit binary data, the data field data of packet start code Frame corresponding to most-significant byte data representation addressing different mode wherein, be when being the physical address addressing " 0x00 ", during the logical group address addressing be " 0x01 "; Command sequence number 1-255 when least-significant byte data representation logical group address 1-254 and physical address addressing, 255 arrays that adopt the physical address addressing system can be set, data amount check is this DMX512 control net port number in each array, control net port number mostly is 512 most, and the order of physical address addressing system is shown in right table.After the configuration of relevant DMX512 control network operation arranged and finishes, setting completed for Landscape Lighting managing and control system configuration.
Table 2 control network operation configuration file arranges
Click " preview " button, eject all configuration informations of sub-interface display, collated correct is got back to main interface and is clicked " preservation " button; If proofread wrongly, get back to main interface and click " modification " button, " Landscape Lighting managing and control system configuration " is activated, all unit show black, click error unit and carry out parameter modification, revise complete again preview, get back to main interface after the collated correct and click " preservation " button.Click " download " button, the PC supervisor is downloaded to the configuration file of preserving to each DMX512 control net main controller by DMX512 control net IP address, download completely, click " verification " button, relevant DMX512 control net main controller download situation is inquired about.In the Landscape Lighting managing and control system configuration setting up procedure all settings also can click the buttons such as main interface " preservation ", " preview ", " modification " and carry out corresponding operating.
So far these routine operating personnel parameter setting of configuration software on the PC supervisor is all finished, and the PC supervisor is preserved the configuration file, and the configuration file comprises off-line logical group address and operating parameter configuration file and running configuration file.The PC supervisor is sent to main controller with the configuration file that generates, and main controller is preserved the configuration file to extended chip AT29C020, and sends scene information to respectively carrying out predetermined registration operation from the control device.
" offline operation " and " on-line execute " two kinds of patterns are arranged: when " on-line execute " during operation, the PC supervisor is called in the running configuration file of storage, send order and parameter to relevant DMX512 control net main controller, order and parameter control that main controller is assigned according to the PC supervisor are implemented the PWM of RGB is regulated from the control device; When " offline operation ", the DMX512 main controller is according to the configuration file independent operating from the download of PC supervisor of storage.The PC supervisor can arrange a plurality of running configuration files to single DMX512 control net, and be kept on the PC supervisor, be that the PC supervisor is stored a plurality of running configuration files, the DMX512 main controller is only stored the running configuration file of configuration file including, i.e. indivedual service work configuration files.
The setting of logical group address and operating parameter is directly connected to the Scene realization of on-line operation, therefore main controller adopts and sends logical group address numbering and operating parameter, and the transmission logical group address is numbered and the mode of operating parameter radix-minus-one complement pre-sets, and guarantees the correctness of DMX512 control channel binding logical group address and operating parameter; Because logical group address and operating parameter are off-line settings, so do not affect the efficient of system.When arranging, off-line all adopts physical addressing mode receiving data frames from the control device.
Support the DMX512 Landscape Lighting management-control method of logical group address to comprise that the off-line logical group address arranges and online logical group address operation two parts.
The setting of off-line logical group address comprises the steps:
1) DMX512 is set from the logical group address of control device control channel, main controller is to the packet of DMX512 bus transmitter start code (TSC) " 0xf0 ", the sequence number of each Frame subtracts 1 and is control channel number, number relevant control channel with the logical group address that sends in the packet, data field is the logical group address numbering under its corresponding Frame, number irrelevant control channel with the transmission logical group address, the data thresholding is " 0 " under its corresponding Frame, for example the 1st, 4 control channels binding logical group address 8, then the 2nd of the DMX512 packet the, the data of data field are " 8 " under 5 Frames, the 1st initial code Frame then is " 0xf0 ", all the other control channels by that analogy, all control channel that has nothing to do with logical group address 8, the data thresholding is " 0 " under its corresponding Frame;
2) radix-minus-one complement arranges DMX512 from the logical group address of control device control channel, main controller is to the packet of DM512 bus transmitter start code (TSC) " 0xf1 ", number relevant control channel with the logical group address that sends in the packet, data field is the radix-minus-one complement of logical group address numbering under its corresponding Frame, number irrelevant control channel with the transmission logical group address, the data thresholding is " 255 " under its corresponding Frame, radix-minus-one complement is used for from control device check logic group address numbering, for example the 1st, 4 control channels binding logical group address 8, then the 2nd of the DMX512 packet the, the data of data field are " 247 " under 5 Frames, the 1st initial code Frame then is " 0xf1 ", and radix-minus-one complement is used for from control device check logic group address numbering;
3) DMX512 is set from the operating parameter of control device control channel logical group address, main controller is to the packet of DMX512 bus transmitter start code (TSC) " 0xf2 ", the sequence number of each Frame subtracts 1 and is control channel number, number relevant control channel with the logical group address that sends in the packet, data field represents the operating parameter of the above-mentioned logical group address of this control channel under its Frame, number irrelevant control channel with the transmission logical group address, the data thresholding is " 0 " under its corresponding Frame, for example the 1st, the operating parameter of 4 control channel logical group address 8 is respectively " 20 ", " 100 ", then the 2nd of the DMX512 packet the, the data of data field are respectively " 20 " under 5 Frames, " 100 ", the 1st initial code Frame then are " 0xf2 ";
4) radix-minus-one complement arranges DMX512 from the operating parameter of control device control channel logical group address, main controller is to the packet of DMX512 bus transmitter start code (TSC) " 0xf3 ", number relevant control channel with the logical group address that sends in the packet, data field represents the operating parameter radix-minus-one complement of the above-mentioned logical group address of this control channel under its corresponding Frame, number irrelevant control channel with the transmission logical group address, the data thresholding is " 255 " under its corresponding Frame, radix-minus-one complement is used for from the operating parameter of control device check logic group address, for example the 1st, the operating parameter of 4 control channel logical group address 8 is respectively " 20 ", " 100 ", then the 2nd of the DMX512 packet the, the data of data field are respectively " 235 " under 5 Frames, " 155 ", the 1st initial code Frame then is " 0xf3 ", and radix-minus-one complement is used for from the operating parameter of control device check logic group address;
5) read in logical group address numbering and numbering radix-minus-one complement from the control device, operating parameter and operating parameter radix-minus-one complement adopt XOR decision logic group address and operating parameter, store correct logical group address and corresponding operating parameter, and record arranges error message;
6) repeating step 1)~step 5), bind one by one from all the other logical group address of control device control channel and the operating parameter of counterlogic group address, single control channel allows maximum 254 logical group address of configuration, specific logical group address can adhere to different control channel separately, and assigns operating parameter separately;
7) main controller carries out the inquiry of control channel facilities to the packet of DMX512 bus transmitter start code (TSC) " 0xf4 ", the sequence number of each Frame subtracts 1 and is control channel number, packet only has a Frame non-zero, non-zero Frame data field represents the logical group address numbering of corresponding control channel binding, what be queried returns two packets that initial code is " 0xf5 " and " 0xf6 " from the control device by the second data wire data2, the sequence number of each Frame of packet subtracts 1 and is control channel number, packet only has a Frame non-zero, initial code is the packet of " 0xf5 ", its non-zero Frame data field represents the logical group address numbering of corresponding control channel binding, initial code is the packet of " 0xf6 ", its non-zero Frame data field represents the operating parameter of the logical group address numbering of control channel binding, set out and stagger the time, what be queried then returns error message from the control device, for example verify the state that arranges of the logical group address 8 of the 1st control channel, then the data of data field are " 8 " under the 2nd Frame of DMX512 packet, packet the 1st initial code Frame is " 0xf4 ", operating parameter under the 1st control channel logical group address 8 that is queried is " 20 ", then correspondence is returned the packet that initial code is " 0xf5 " from the control device by the second data wire data2, the data of packet the 2nd Frame data field are " 8 ", return afterwards initial code and be the packet of " 0xf6 ", the data of packet the 2nd Frame data field are " 20 ", stagger the time when the 1st control channel sets out, then return error message;
8) repeating step 7), inquire about one by one logical group address and corresponding operating parameter that each control channel is bound;
9) main controller is retransmitted relevant information to the control channel of makeing mistakes, and heavily binds logical group address and the operating parameter of error control passage.
Online logical group address operation comprises the steps:
1) main controller is to the packet of DMX512 bus transmitter start code (TSC) " 0x01 ", and packet only contains a Frame, Frame data field certain logical group address numbering for having set;
What 2) DMX512 control was netted reads in the logical group address numbering from the control device, and compares with the logical group address table of its storage; Consistent such as both, then carry out the operating parameter of this logical group address appointment, otherwise wait for the arrival of next packet.
Online physical address addressing operational mode is consistent with the DMX512 agreement of standard, packet start code is " 0x00 ", it number is the physical address of control channel that the sequence number that sends Frame subtracts 1 corresponding DMX512 control channel, and the data of Frame data field are the operating parameter of control channel.
Embodiment
Now with 5 LED lamps, 15 control channels are example, are described with reference to the accompanying drawings technology path of the present invention.The control channel sequence number of setting 5 LED lamps is 1,2 ..., 15, every lamp takies 3 control channels, regulates respectively the PWM duty ratio of R, G, B three looks.R, the G of control channel 1,2,3 corresponding first LED lamp, B control, by that analogy.Share to 3 scenes, lamp 1, lamp 4 and the different ruddiness of lamp 5 shinny degree in the scene 1, lamp 2 is the purple light of RGB three mixture of colours, lamp 3 is not luminous; Lamp 1 green light in the scene 2, lamp 3, the different blue light of lamp 5 shinny degree, lamp 2 is the pale green light of RGB three mixture of colours, the dark blue light that lamp 4 mixes for GB; Lamp 2, lamp 3 and the different green glow of lamp 5 shinny degree in the scene 3, the dark green light that lamp 1 mixes for RG, lamp 4 is not luminous.3 scene difference counterlogic group addresss 1,2,3, requiring the scene appearance during operation sequentially is 1,3,1,2, and the scene between scene 3 and the scene 21 adopts the physical address addressing.5 LED lamps are positioned at same DMX512 control net, and PC supervisor IP address is 10.13.22.22, use the IP address of control net main controller to be 10.13.22.30.
Operating personnel enter managing and control system configuration interface, at first implement the configuration setting.DMX512 control network parameters arranges requirement according to each scene of field, and that logical group address and the respective operations parameter of control channel is set is as shown in table 3, for example the PWM duty ratio of control channel 10 is 160/255 in the parameter 160 expression scenes 1, and control channel 3 is all relevant with 3 scenes.Control network operation configuration file arranges as shown in table 4, and for example the transmission scene during scene 1 logical group address addressing number is " 0x0101 ", and the transmission scene during the physical address addressing number is " 0x0001 ".
Control channel Wire Parameters in table 3 example
Control network operation configuration file arranges in table 4 example
The PC supervisor generated the configuration file automatically after setting was finished, and the configuration file that generates is sent to main controller.Main controller is preserved the configuration file to extended chip AT29C020, and the transmission scene information carries out predetermined registration operation to relevant from the control device.Read in logical group address numbering and numbering radix-minus-one complement from the control device, operating parameter and operating parameter radix-minus-one complement adopt XOR to judge, off-line arranges logical group address and operating parameter, stores correct logical group address and corresponding operating parameter.After all parameters were sent, main controller was inquired about logical group address and the corresponding operating parameter of each control channel binding one by one, and took measures according to the facilities that respectively returns from the control device.Concrete operation step as previously mentioned.
Operating personnel select " offline operation " during on-line operation, DMX512 control net independent operating, main controller sends the packet of " 0x01 ", " 0x00 " different initial codes according to the running configuration file of preserving, order is implemented control from the control device to each LED lamp, realizes the scene that requires.Two Frames such as scene 2 corresponding data bags are followed successively by " 0x01 " and " 0x02 ", 16 Frames of scene 1 corresponding data Bao Zewei during the physical address addressing, and the initial code Frame is " 0x00 ".Operating personnel also can select " on-line execute " during on-line operation, and the PC supervisor calls other running configuration files of its preservation, realize more complex scenes.
Claims (2)
1. a DMX512 Landscape Lighting managing and control system of supporting logical group address is characterized in that comprising the Internet managerial grid on upper strata and a plurality of DMX512 control nets of lower floor; A plurality of DMX512 control nets of the Internet managerial grid on upper strata and lower floor are through Internet/DMX512 gateway exchange message, the Internet/DMX512 gateway links to each other with the PC supervisor as Internet managerial grid node, and the Internet/DMX512 gateway doubles as again the main controller of the DMX512 control net of lower floor simultaneously; Described upper strata Internet managerial grid is comprised of a PC supervisor, polylith Internet/DMX512 gateway, and PC and gateway interconnect by Internet; Each DMX512 of described lower floor control net is by a main controller and a plurality ofly form from the control device, and from control implements reason basis, address, off-line arranges logical group address, and from operating parameter corresponding to control device logical group address; Described Internet/DMX512 gateway comprises Internet control module ENC28J60 chip, main control module ATmega128 chip, the RS485 control module MAX485 chip that links to each other successively, the ENC28J60 chip adopts the RJ45 interface to link to each other with the Internet managerial grid, the MAX485 chip adopts five core XLR interfaces to link to each other with DMX512 control net, and the ATmega128 chip extends out storaging chip AT29C020; The order of PC supervisor or data are packaged into the Internet Packet Generation, the ICP/IP protocol stack resolution data bag of ATmega32 extracts order or the data of PC supervisor, order or data based DMX512 protocol stack are packaged into the DMX512 packet, and send to DMX512 control net through MAX485; DMX512 control net to the information transmission processing flow process of PC supervisor is the inverse process of said process.
2. a kind of DMX512 Landscape Lighting managing and control system of supporting logical group address according to claim 1 is characterized in that described lower floor control net comprises the DMX512 control net arranged side by side of a plurality of access-in management nets; Each DMX512 control net is by a main controller and a plurality ofly form from the control device, and main controller doubles as the Internet/DMX512 gateway, main controller with interconnect by DMX512 from the control device; Comprise RS485 control module, 9 contact pin physical addresss of mechanical type coding module, main control module ATmega32, LED lamp driver module and LED lamp plate, power rectifier module, restart module, crystal oscillator module and communication state display module from the control device; Main control module ATmega32 respectively with restart module, crystal oscillator module, RS485 control module, LED lamp driver module, communication state display module, 9 contact pin physical addresss of mechanical type coding module and link to each other, the RS485 control module adopts five core XLR interfaces access DMX512 bus, LED lamp driver module links to each other with the LED lamp plate, the power rectifier module respectively with main control module ATmega32, LED lamp driver module with the LED lamp plate, restart module, the communication state display module links to each other; Support the DMX512 control of logical group address to net the DMX512 product of the physical address addressing of backward compatible standard, preset the operating parameter of control channel logical group address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910098263 CN101547542B (en) | 2009-04-30 | 2009-04-30 | Logic group address supporting method and logic group address supporting system for DMX512 landscape lighting management and control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910098263 CN101547542B (en) | 2009-04-30 | 2009-04-30 | Logic group address supporting method and logic group address supporting system for DMX512 landscape lighting management and control |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101547542A CN101547542A (en) | 2009-09-30 |
CN101547542B true CN101547542B (en) | 2013-01-09 |
Family
ID=41194331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910098263 Expired - Fee Related CN101547542B (en) | 2009-04-30 | 2009-04-30 | Logic group address supporting method and logic group address supporting system for DMX512 landscape lighting management and control |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101547542B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101699923B (en) * | 2009-11-11 | 2013-05-01 | 广州中大中鸣科技有限公司 | Lighting control system based on DMX512 protocol and method thereof |
CN102118899B (en) * | 2009-12-31 | 2014-02-12 | 上海广茂达光艺科技股份有限公司 | Method for controlling lamp by using LED light control bus |
CN102036439B (en) * | 2010-09-21 | 2014-09-03 | 浙江大学 | Automatic equipment identification and maintenance supported DMX512 (Digital Multiplex 512) landscape lighting control system and method |
CN102065081A (en) * | 2010-11-21 | 2011-05-18 | 杨铁军 | Enhanced DMX (Digital Multiplex) 512 communication control method by using LID (Logical Identifier) |
CN102487562A (en) * | 2010-12-01 | 2012-06-06 | 中强光电股份有限公司 | Method for controlling digital multiplexing system |
CN102136299B (en) * | 2011-04-28 | 2012-12-26 | 浙江晶日照明科技有限公司 | Method for preventing address data of LED decoding module from being lost |
WO2013050954A1 (en) * | 2011-10-07 | 2013-04-11 | Koninklijke Philips Electronics N.V. | Methods and apparatus for improved dmx512 communication having checksum |
JP6502355B2 (en) * | 2013-09-04 | 2019-04-17 | シグニファイ ホールディング ビー ヴィ | METHOD AND APPARATUS FOR INTERNET PROTOCOL COMMUNICATIONS ON A DMX NETWORK |
CN105278391A (en) * | 2014-06-27 | 2016-01-27 | 欧普照明股份有限公司 | Intelligent control module and system |
CN105487509A (en) * | 2015-12-16 | 2016-04-13 | 浙江大丰实业股份有限公司 | Stage effect integrated control system and integrated control method |
CN106211503A (en) * | 2016-07-04 | 2016-12-07 | 广州市鸿远电子科技有限公司 | A kind of method based on DMX512 control platform configuration light fixture device parameter |
CN108954146B (en) * | 2018-05-29 | 2020-09-22 | 浙江大学 | Passive lifting system and method for waterscape lamp |
CN109041332B (en) * | 2018-07-17 | 2021-06-01 | 宗仁科技(平潭)有限公司 | LED lamp string and control chip thereof |
CN111148331A (en) * | 2019-12-26 | 2020-05-12 | 珠海雷特科技股份有限公司 | ArtNet light control system with offline synchronous playing function and control method |
CN111365830B (en) * | 2020-03-02 | 2021-06-11 | 英飞同仁风机股份有限公司 | Fan networking system based on RS-485 enhanced Modbus communication protocol |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6545586B1 (en) * | 1999-11-17 | 2003-04-08 | Richard S. Belliveau | Method and apparatus for establishing and using hierarchy among remotely controllable theatre devices |
US7310074B2 (en) * | 2004-11-24 | 2007-12-18 | Artled Technology Corp. | System for controlling LED devices |
CN101404839A (en) * | 2008-05-16 | 2009-04-08 | 上海大峡谷光电科技有限公司 | Enhancement type DMX512 light control system added with auxiliary collocation channel |
-
2009
- 2009-04-30 CN CN 200910098263 patent/CN101547542B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6545586B1 (en) * | 1999-11-17 | 2003-04-08 | Richard S. Belliveau | Method and apparatus for establishing and using hierarchy among remotely controllable theatre devices |
US7310074B2 (en) * | 2004-11-24 | 2007-12-18 | Artled Technology Corp. | System for controlling LED devices |
CN101404839A (en) * | 2008-05-16 | 2009-04-08 | 上海大峡谷光电科技有限公司 | Enhancement type DMX512 light control system added with auxiliary collocation channel |
Also Published As
Publication number | Publication date |
---|---|
CN101547542A (en) | 2009-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101547542B (en) | Logic group address supporting method and logic group address supporting system for DMX512 landscape lighting management and control | |
CN101233790B (en) | Lighting system and method for controlling a plurality of light sources | |
CN105022362B (en) | A kind of coordinated control system and inter-linked controlling method of smart home device | |
CN110430114B (en) | Virtual router and method for realizing interconnection between SDN network and traditional IP network | |
CN105578568A (en) | WIFI communication apparatus and WIFI network establishing method | |
CN110290621A (en) | Lamplight array control system and lamp light control method | |
CN103634995A (en) | Button configuration method of multifunctional lighting controller based on DALI (Digitally Addressable Lighting Interface) protocol | |
CN104883794A (en) | LED spotlight illumination control system based on WIFI module | |
CN104780686B (en) | The shift unit and LED driver of power line edge signal triggering | |
CN201398255Y (en) | DMX512 landscape illumination control system supporting logical group address | |
CN1859172A (en) | Method for distributing intelligent terminal service attribute in broad network service processing system | |
CN102338342A (en) | Internal control type LED (light-emitting diode) nixie tube system and control method thereof | |
CN204180343U (en) | Edge signal counting device and led driver | |
CN101558658B (en) | Load control system | |
CN1776994A (en) | New-type switching method for tele mechanical host-standby communication | |
CN104168172A (en) | Inter-board data interaction device and method based on SWITCH chip | |
CN108667729A (en) | A kind of method and apparatus of the isolation of SDN business and routing based on MPLS | |
CN206452576U (en) | A kind of light-source system | |
CN101039227A (en) | Communication system of sharing access network and method for performing service message interaction | |
CN110176208A (en) | The control method that signal transmits between illuminating module and luminescence chip | |
CN1787707A (en) | Non addressing type inserted 2 wire communication and control apparatus thereof | |
CN102159010A (en) | Device and method for controlling indicator lights | |
US9380677B2 (en) | Address initialization of lighting device units | |
CN106537847A (en) | Residential automation system, equipment and process that is easy to install, configure and use | |
CN1231018C (en) | Method and device for realizing virtual local network transmission on Ethernet exchange |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130109 Termination date: 20150430 |
|
EXPY | Termination of patent right or utility model |