CN204031530U - A kind of control system based on DMX512 agreement - Google Patents

A kind of control system based on DMX512 agreement Download PDF

Info

Publication number
CN204031530U
CN204031530U CN201420343703.XU CN201420343703U CN204031530U CN 204031530 U CN204031530 U CN 204031530U CN 201420343703 U CN201420343703 U CN 201420343703U CN 204031530 U CN204031530 U CN 204031530U
Authority
CN
China
Prior art keywords
node
address
control system
node controller
dmx512
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
Application number
CN201420343703.XU
Other languages
Chinese (zh)
Inventor
栾成松
许星星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Opple Lighting Co Ltd
Original Assignee
Opple Lighting Co Ltd
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 Opple Lighting Co Ltd filed Critical Opple Lighting Co Ltd
Priority to CN201420343703.XU priority Critical patent/CN204031530U/en
Application granted granted Critical
Publication of CN204031530U publication Critical patent/CN204031530U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

The utility model provides a kind of control system based on DMX512 agreement, comprise DMX512 master controller, data/address bus, N Node Controller (N >=1), controlled electrical equipment, DMX512 master controller and Node Controller are by forming bus-network, Node Controller comprises control signal input, control signal output, address signal input, address signal output, control signal input connection data bus, control signal output connects controlled electrical equipment, n(1 < n≤N) the address signal input of individual Node Controller connects the address signal output of n-1 Node Controller, control system also comprises end identification marking, the 1st address of node signal input part is connected respectively end identification marking with N address of node signal output part.This technical scheme is directly write location by main controller controls, and writing location process need not manually participate in, and writes location quick.

Description

A kind of control system based on DMX512 agreement
Technical field
The utility model relates to a kind of control system based on DMX512 agreement.
Background technology
DMX512 agreement is at first by arenas technological associations of the USITT(U.S.) propose, as the international agreement of the universal signal control of light modulation and light control console data transmission standard and light industry digitizer, DMX512 agreement is simple and reliable with it, flexibility is used widely in stage, theater, studio light control field, and has now more and more been applied in the control system of LED light fixture.
Adopt DMX512 bus protocol to control, each product must arrange unique address.On market, common are three kinds now and write location mode:
1) address fixed form: DMX512 receiver writes fixed address before installation, installs when installation according to sequence of addresses.The workload of the programming address of this kind of method installation is large, and easily obscures wrongly installed.When later maintenance, to know trouble light address, troublesome maintenance.
2) dial-up mode: configuration address toggle switch on each equipment, user pushes corresponding address code according to corresponding installation site.This method inefficiency, and easily occur leaking dialling when installing, the wrong phenomenon of dialling, requires higher to workmen.
3) dynamic addressing mode: when system powers on each time, all can re-address, once but certain node in system damage and will affect this addressing action, system is the mistake of occurrence of large-area likely.
Utility model content
The purpose of this utility model is in order to address the above problem, and provides a kind of and can realize control system and the control method of automatically the Node Controller walking abreast in DMX512 bus being write location.
The utility model is for realizing above-mentioned functions, the technical scheme adopting is to provide a kind of control system based on DMX512 agreement, comprise DMX512 master controller, data/address bus, N Node Controller (N >=1), controlled electrical equipment, described DMX512 master controller and described Node Controller are linked to be bus-network by described data/address bus, it is characterized in that, described Node Controller comprises control signal input, control signal output, address signal input, address signal output, described control signal input connects described data/address bus, described control signal output connects described controlled electrical equipment, n(1 < n≤N) the address signal input of individual Node Controller connects the address signal output of n-1 Node Controller, described control system also comprises end identification marking, the address signal input of the 1st Node Controller and the address signal output of N Node Controller are connected respectively end identification marking.
Further, described end identification marking is the high/low level that port is unsettled, ground connection produces, or in the described control system based on DMX512 agreement signalization generation equipment, voltage or pulse signal that described end identification marking produces for described signal generating apparatus.
Further, described address signal input and address signal output are general purpose I/O port.
Further, single described Node Controller connects one or more controlled electrical equipment.
Further, described controlled electrical equipment is lighting apparatus, electric-powered shutter or air-conditioning.
Further, described control system also comprises indicator light.
Further, described indicator light is arranged at described controlled electrical equipment.
Further, described indicator light as controlled electrical equipment, is connected with the described control signal output of described Node Controller in the time of test.
Technical scheme provided by the utility model does not need to develop special address scrambler, directly writes location by main controller controls, and writing location process need not manually participate in, and it is quick to write location.Automatically the mode of writing location also makes equipment installation more easy simultaneously.
Brief description of the drawings
Fig. 1 is the structural representation of the utility model control system;
Fig. 2 is the utility model control method and the flow chart of writing location program;
Fig. 3 is the flow chart of module selection course in the utility model control method;
Fig. 4 is the flow chart of the utility model test program.
Embodiment
Below in conjunction with the drawings and specific embodiments, a kind of control system and the control method thereof based on DMX512 agreement the utility model proposes is described in further detail.
Please refer to Fig. 1, is the structural representation of a preferred embodiment of a kind of control system based on DMX512 agreement that the utility model proposes shown in Fig. 1, and this system comprises DMX512 master controller, a data/address bus and N Node Controller (N >=1).The output terminals A of DMX512 master controller, B, GND connection data bus, the control signal input of each Node Controller is also connected with data/address bus, and DMX512 master control and each Node Controller form bus-network structure.Output terminals A, B, GND and data/address bus in figure is only signal, do not represent the quantity of actual connecting line, needs according to the difference of chip type selecting, as the data wire of 8,16 or 32 chip connection respective numbers in application.In the present embodiment, DMX512 master controller is connected and is built-in with the PC of controlling software by Ethernet interface, its communication protocol adopts ICP/IP protocol, after the control command that DMX512 master controller reception PC is sent is converted to DMX512 agreement, sends control command from output to data/address bus.In some other preferred embodiments, DMX512 master controller also can pass through wireless network, adopt the communication protocols such as WiFi, bluetooth to receive user's control signal, also flexible configuration as required of control appliance, as mobile terminals such as remote controller, control panel and mobile phone, panel computers.The control signal input connection data bus of Node Controller, control signal output connects the controlled electrical equipment such as lighting apparatus, electric-powered shutter, air-conditioning, a Node Controller can connect one or more controlled electrical equipment, Node Controller receives control command from control signal input, translates into the curtage signal that can control controlled electrical equipment and exports from control signal output.
Except above-mentioned data transmission port, Node Controller is provided with address signal input in end and address signal output out end, and all Node Controllers are held by and out holds the formation cascaded structure that joins end to end.N Node Controller specifically, be labeled as respectively No. 1 node, No. 2 nodes until N node according to installation site, n node represents the arbitrary node 1 < n≤N in 2 to N, and the in end of n Node Controller connects the out end of n-1 Node Controller.And before the 1st node, do not deposit front nodal point, after N node, there is no the subsequent node of N+1 yet.The in end of the 1st Node Controller and the out end of N Node Controller are connected respectively a special signal source and are used as end identification marking.This special signal source can form port ground connection a low level or connect signal generating apparatus, signal generating apparatus sends default voltage or pulse signal, whether Node Controller is default end id signal by comparison magnitude of voltage or impulse waveform, thereby judges whether this node is end.In the present embodiment, adopt TTL gate circuit, from the input load characteristic of TTL gate circuit, only in the time that the series resistance value of input termination is less than 910 Europe, the low level signal of its input could be identified by gate circuit, and series resistance value larger words input just presents high level always.And port is when unsettled, can think and input resistance resistance infinity can form high level signal.Due to this specific character of TTL, for easy connection is directly by unsettled the out end of the in end of the 1st Node Controller and N Node Controller, forms high level and be used as end identification marking.In addition in the present embodiment the in of Node Controller end and out end be general purpose I/O port (GPIO).
The first embodiment that Figure 2 shows that the utility model control method, its process is as follows as shown in the figure:
DMX512 master controller sends control command to data/address bus;
The Node Controller (N >=1) of N serial connection receives from the described control command of data/address bus, node headed by the 1st Node Controller, and N Node Controller is tail node;
Each Node Controller, analyze described control command, and carry out corresponding command execution program according to described control command content, refer to Fig. 3, this flow process is the process of the selection of a program module, because the control operation of carrying out as DMX512 master controller is diversified, adopts in the present embodiment modularized program design, write different program modules for various operations, select respectively corresponding module to carry out corresponding operation according to command context difference.Comprise that for the control of controlled electrical equipment the light modulation of switch, light fixture, these programs of mixing colours need to write according to concrete electrical equipment, we are with regard to explanation no longer one by one here.In the present embodiment, to describe in detail, it is the committed step that the utility model relates to method, when DMX512 master controller sends while writing location order, Node Controller can be write location automatically, in all kinds of command execution programs, increased for realizing this object the location program of writing, described in write location program and comprise the following steps:
Node Controller judges node headed by this node whether: be first node, Node Controller is reading address data bus, and address date writes nonvolatile storage; Not first node, wait for that address signal input in end transmits address date, the address date of reading address signal input in end, address date writes nonvolatile storage;
Node Controller judges whether this node is tail node: be tail node, described in write location EP (end of program); Not tail node, from nonvolatile storage, read this section point address data and add 1 operation generation subsequent address data, described subsequent address data are sent to address signal output out end.
From said process, we can see, for N Node Controller write to location, DMX512 master controller only need send and write location order and first node address to data/address bus, each node receives after order, except first node is directly write location from data/address bus receiver address, other nodes are all waited for the input signal of address signal input in end, by each in end and the out end of series connection, to each address of node add-one operation and import subsequent node into, realize and automatically write location, and do not need manually each node to be distributed to address, and can not produce repetition, and whole flow process is passed through chip controls completely, write location quick, in 3 seconds, can carry out global write location to the DMX512 of 10,000.
For guaranteeing the realization of said method, key is the judgement of first and last node, judges that the method for first and last node is, presets an end identification marking, reads the signal data of in end and out end, and whether contrast judgement input signal is end identification marking.From system specialization above, we have mentioned that all Node Controllers are held by and out end joins end to end forms a cascaded structure, therefore only have the in end of the 1st Node Controller and the out end of N Node Controller not to be connected with other Node Controllers, on these two ports, just can connect the special signal source described in system above, end identification marking just can produce by this special signal source.We can hang high level or low level empty, that ground connection produces by port and realize, and also can connect signal generating apparatus at port, and the voltage or the pulse signal that produce a setting are used as end identification marking.Judge the end identification marking of first node can be identical with the end identification marking that judges tail node also can be different, as the former is by ground signalling, the latter adopts port unsettled.With the first node of end identification marking relative discern of in end signal and first node, the end identification marking relative discern tail node of out end signal and tail node.
The control method based on DMX512 agreement proposing for the utility model realizes writes location automatically, connecting successively writing affecting smoothly of location of each Node Controller is very large, if wherein have not normal connection of two adjacent nodes, can cause subsequent node cannot correctly write location.Especially adopt the unsettled end identification marking that is used as of port, this time, Node Controller can also be thought first node this breakpoint, self and subsequent node are write to location.Will produce like this problem that repeat address, therefore in some other preferred embodiments only at the port of head and the tail node signalization circuit for generating, Node Controller just can not produce and judge by accident breakpoint like this, still has its cost advantage but port is unsettled.The second embodiment that the utility model provides just can effectively prevent Similar Problems.In a second embodiment, please refer to Fig. 3, we have increased a test program, and Node Controller, from bus receives order, judges that test command is carried out test program if, and as shown in Figure 4, its concrete steps are as follows for the flow chart of test program:
Node Controller judges node headed by this node whether: be first node, Node Controller sends test command to controlled plant; Not first node, judge whether address signal input in end has test command signal, has test command signal to send test command to controlled plant, does not continue to detect address signal input in end;
Node Controller judges whether this node is tail node: be tail node, described test program finishes; Not tail node, send test command signal to address signal output out end.
Here the method for judgement head and the tail node, with to write location program identical, just repeats no more here.
The test command sending to controlled plant in the present embodiment can be lighted an indication point that is arranged at controlled plant, or special test is connected with the control signal output of Node Controller during in test as controlled electrical equipment when the test with indicator light, takes off after completing test.Staff can by viewing lamp light successively find that whether the installation site of controlled plant correct, there is breakpoint as there being two indicator lights to light just explanation simultaneously, have two nodes to be considered to first node.For the ease of eye-observation, each indicator light is lighted successively can interval certain hour, and the test command that therefore node sends to controlled electrical equipment can send test command signal to subsequent node again through a time delay.Can certainly adopt other of controlled plant are operated to test, as order controlled plant sends information to mobile terminal, personnel can check that each equipment sends time, the numbering of information by report form, thereby understand the erection sequence of each equipment, and whether have breakpoint.
In order to write carrying out smoothly of location, test program should carry out before writing location order-checking, and therefore in another embodiment, Node Controller, receiving while writing location order, is directly carried out test program, after test program finishes, automatically performs the location program of writing.
Above in order to illustrate and to describe to the description of the utility model preferred embodiment, not want the utility model limit or be confined to disclosed concrete form, obviously, may make many modifications and variations, these modifications and variations may be obvious to those skilled in the art, within should being included in the scope of the present utility model being defined by appended claims.

Claims (8)

1. the control system based on DMX512 agreement, comprise DMX512 master controller, data/address bus, N Node Controller (N >=1), controlled electrical equipment, described DMX512 master controller and described Node Controller are linked to be bus-network by described data/address bus, it is characterized in that, described Node Controller comprises control signal input, control signal output, address signal input, address signal output, described control signal input connects described data/address bus, described control signal output connects described controlled electrical equipment, n(1 < n≤N) the address signal input of individual Node Controller connects the address signal output of n-1 Node Controller, described control system also comprises end identification marking, the address signal input of the 1st Node Controller and the address signal output of N Node Controller are connected respectively end identification marking.
2. the control system based on DMX512 agreement according to claim 1, it is characterized in that described end identification marking is the high/low level that port is unsettled, ground connection produces, or in the described control system based on DMX512 agreement signalization generation equipment, voltage or pulse signal that described end identification marking produces for described signal generating apparatus.
3. the control system based on DMX512 agreement according to claim 1, is characterized in that described address signal input and address signal output are general purpose I/O port.
4. the control system based on DMX512 agreement according to claim 1, is characterized in that single described Node Controller connects one or more controlled electrical equipment.
5. the control system based on DMX512 agreement according to claim 1, is characterized in that described controlled electrical equipment is lighting apparatus, electric-powered shutter or air-conditioning.
6. the control system based on DMX512 agreement according to claim 1, is characterized in that described control system also comprises indicator light.
7. the control system based on DMX512 agreement according to claim 6, is characterized in that described indicator light is arranged at described controlled electrical equipment.
8. the control system based on DMX512 agreement according to claim 6, it is characterized in that described indicator light in when test as controlled electrical equipment, be connected with the described control signal output of described Node Controller.
CN201420343703.XU 2014-06-25 2014-06-25 A kind of control system based on DMX512 agreement Expired - Fee Related CN204031530U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420343703.XU CN204031530U (en) 2014-06-25 2014-06-25 A kind of control system based on DMX512 agreement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420343703.XU CN204031530U (en) 2014-06-25 2014-06-25 A kind of control system based on DMX512 agreement

Publications (1)

Publication Number Publication Date
CN204031530U true CN204031530U (en) 2014-12-17

Family

ID=52071351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420343703.XU Expired - Fee Related CN204031530U (en) 2014-06-25 2014-06-25 A kind of control system based on DMX512 agreement

Country Status (1)

Country Link
CN (1) CN204031530U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282904A (en) * 2014-06-25 2016-01-27 欧普照明股份有限公司 Control system and control method thereof based on DMX512 protocol
CN105554172A (en) * 2015-12-18 2016-05-04 成都智尚极光科技有限公司 Sub-controller addressing method for use in landscape lamp system, sub-controller, main control equipment addressing control method and main control equipment
CN109716901A (en) * 2018-12-28 2019-05-07 王�华 Automatic identification multichannel sows the device and method of pipe number

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282904A (en) * 2014-06-25 2016-01-27 欧普照明股份有限公司 Control system and control method thereof based on DMX512 protocol
CN105554172A (en) * 2015-12-18 2016-05-04 成都智尚极光科技有限公司 Sub-controller addressing method for use in landscape lamp system, sub-controller, main control equipment addressing control method and main control equipment
CN105554172B (en) * 2015-12-18 2018-09-18 成都智尚极光科技有限公司 Iversion controller addressing method, iversion controller, main control device addressing control method and main control device in landscape lamp system
CN109716901A (en) * 2018-12-28 2019-05-07 王�华 Automatic identification multichannel sows the device and method of pipe number

Similar Documents

Publication Publication Date Title
CN105282904A (en) Control system and control method thereof based on DMX512 protocol
CN101945516A (en) Intelligent LED lamp controller and control method
CN102799547B (en) DMX (digital dimmer protocol) 512-based chip addressing system and addressing mode thereof
CN107203458A (en) A kind of server state information display device and method
CN204031530U (en) A kind of control system based on DMX512 agreement
CN1295966A (en) Method for setting elevator control
CN102573184B (en) Lighting fixture control chip, device, system as well as addressing method thereof
WO2021099411A1 (en) Remote activation of the wireless service interface of a control device via a radio interface
CN105049540A (en) master-slave control system and addressing method thereof
CN104464617A (en) Parallel display system and display devices thereof
CN104168172A (en) Inter-board data interaction device and method based on SWITCH chip
CN202035188U (en) LED (Light-Emitting Diode) intelligent control system
CN102176147A (en) Stage control system and method for digital multiplex (DMX) 512 intelligent distribution isolating amplifier
CN104869702A (en) Environment regulating system and method
CN106879113B (en) The method and apparatus of terminal and its intelligent control indicator light
CN104575164A (en) KNX (Konnex) bus experimental box and experimental method thereof
CN211406347U (en) Lamp power-on automatic addressing system based on DMX512 protocol
CN103294637B (en) Based on the Magnetic isolation data input/output module of ARM adaptive direction control
CN103547018A (en) Lamplight control system needless of address setting
CN115297089B (en) Full-automatic address allocation system and method
CN209015139U (en) A kind of I2C bus circuit, chip and system
CN102087509B (en) Integrated circuit and control method thereof
CN103491686B (en) A kind of LED lamp Control on Communication bridger and debugging collocation method thereof
CN202857040U (en) Lighting control system without setting up address
CN201985886U (en) Two-wire slave machine circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141217