CN108429664A - Address set information processing method, lamps and lanterns and lamps and lanterns addressing method - Google Patents
Address set information processing method, lamps and lanterns and lamps and lanterns addressing method Download PDFInfo
- Publication number
- CN108429664A CN108429664A CN201810219468.8A CN201810219468A CN108429664A CN 108429664 A CN108429664 A CN 108429664A CN 201810219468 A CN201810219468 A CN 201810219468A CN 108429664 A CN108429664 A CN 108429664A
- Authority
- CN
- China
- Prior art keywords
- lanterns
- lamps
- address
- control signal
- next stage
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40006—Architecture of a communication node
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5038—Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The present invention relates to a kind of address set information processing method, lamps and lanterns and lamps and lanterns addressing methods, wherein information processing method, including:After receiving the first control signal sent by addressing machine, stop forwarding the bus data received to next stage lamps and lanterns;After receiving second control signal, address value is extracted from second control signal to complete address setting;The address value of next stage lamps and lanterns is calculated, second control signal is sent to next stage lamps and lanterns according to the address value for the next stage lamps and lanterns being calculated, and open to next stage lamps and lanterns and forward the bus data received.Compared with prior art, upper level lamps and lanterns of the present invention provide address value for next stage lamps and lanterns, are sequentially completed address setting, simply, quickly, reliably, as long as the setting of lamps and lanterns address is rapidly completed in simple manual operation.
Description
Technical field
The present invention relates to a kind of addressing method, more particularly, to a kind of address set information processing method, lamps and lanterns and
Lamps and lanterns addressing method.
Background technology
Under the historical background of Internet of Things, lamps and lanterns networking, control has become Essential Performance Requirements, at present the control of commercialization lamps and lanterns
Method is mainly the most universal with DMX512 controls, and DMX512 is a kind of control protocol communicated based on RS-485, and DMX512 is one
A digital dimming agreement can carry out the light modulator in the places such as stage, arenas, studio and other control devices using it
It is digital control, it is suitable for the Up-down type control system of some multiple spots, interconnection form uses multi-point bus structure, and there is no letters
Path blockade problem is ceased, line is simple, and reliability is high, and agreement is to the format of data, the transmission of data, tie cable and connection
Mode, hookup, terminator etc. provide.
By DMX512 control lamps and lanterns or controller, be typically necessary setting one fixing address (ID), lamps and lanterns or
The data that person's controller needs to receive by this address judgement itself.Being currently set the mode of address, one is use dial-up to open
Put capable setting into, this method is relatively simple and reliable, is mainly used for stage lighting, and the address setting of controller is this to set
Set the method major defect of address:1, it needs manually to remove dial-up, when lamps and lanterns quantity is more, efficiency can be very low;2, very much
Lamps and lanterns will be with the requirement of water proof and dust proof, if reserved toggle switch will have an impact water proof and dust proof.
The method of another setting address be by computer and lamps and lanterns carry out two-way communication (DMX512-RDM agreements) into
Row setting address, this mode is currently a kind of method of the setting address generally used, the major defect of the method:1, lamps and lanterns
Must a built-in globally unique identification number (UID), needed this identity during lamps and lanterns produce through computer
Number is built into lamp interior memory, can reduce production efficiency in this way, and to ensure that identification number cannot repeat, to production
The requirement of management and control is very high;2, it needs to be communicated with lamps and lanterns with computer and dedicated software when lamps and lanterns are installed at the scene, goes to read
The address to be set (ID) behind the position of manual confirmation lamp installation, then by computer is added ID number by the UID of each lamps and lanterns
Code (UID) is sent to lamps and lanterns and is set into row address, and the efficiency installed in this way can be relatively low, and due to needing manual confirmation, institute
It is very high with the probability of error.
Invention content
It is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide a kind of address set informations
Processing method, lamps and lanterns and lamps and lanterns addressing method.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of dimming lamp address set information processing method, including:
After receiving the first control signal sent by addressing machine, stop forwarding the bus data received to next stage lamps and lanterns;
After receiving second control signal, address value is extracted from second control signal to complete address setting;
The address value of next stage lamps and lanterns is calculated, according to the address value for the next stage lamps and lanterns being calculated to next stage lamp
Tool sends second control signal, and opens to next stage lamps and lanterns and forward the bus data received.
The first control signal is made of setting address instruction and the first digital cipher, and the second control signal is by setting
Determine address instruction, the second digital cipher and address value composition.
The address value of next stage lamps and lanterns is the number of channels that Self address value adds itself control.
The number of channels of the lamps and lanterns itself control is 3 or 4.
A kind of lamps and lanterns, including lamp and lamp controller, which is characterized in that further include communication module, the lamp controller
Respectively with communication module and connect, the communication module is connect with the communication module of addressing machine and/or other lamps and lanterns.
The communication module is RS485 communication modules.
A kind of lamps and lanterns group, including multiple lamps and lanterns, the communication module of each lamps and lanterns are sequentially connected, and the communication mould of first order lamps and lanterns
The input terminal of block is connect with addressing machine.
A kind of addressing method of lamps and lanterns group, including:
Step S1:When all lamps and lanterns are in normal operating conditions, after the first control signal for receiving the transmission of addressing machine, institute
There is lamps and lanterns communication close module to receive bus to the forwarding capability for sending bus and enters setting address pattern;
Step S2:First order lamps and lanterns monitor the second control signal for coming from addressing machine, come from addressing machine if receiving
Second control signal thens follow the steps S3:
Step S3:First order lamps and lanterns extract address value from the second control signal of addressing machine, and preserve, and complete itself ground
Location is set;
Step S4:The address value of next stage lamps and lanterns is calculated, according to the address value for the next stage lamps and lanterns being calculated to
Next stage lamps and lanterns send second control signal, and exit setting address pattern;
Step S5:Next stage lamps and lanterns monitor the second control signal for coming from upper level lamps and lanterns, come from one if receiving
The second control signal of grade, thens follow the steps S4, until all lamps and lanterns complete address setting.
Compared with prior art, the invention has the advantages that:
1) upper level lamps and lanterns provide address value for next stage lamps and lanterns, are sequentially completed address setting, simply, quickly, reliably, only
Want simple manual operation that the setting of lamps and lanterns address can be rapidly completed.
2) expense for reducing production link avoids production link error from causing lamps and lanterns can not setting address.
3) artificial participation, the fully automated completion of setting address are reduced.
4) setting address efficiency is very high, when there are many lamps and lanterns quantity, can be rapidly completed.
5) address that lamps and lanterns are set can quickly be repeated.
Description of the drawings
Fig. 1 is the structural schematic diagram of lamps and lanterns of the present invention;
Fig. 2 is the connection diagram of lamps and lanterns and addressing machine;
Fig. 3 is the flow diagram of addressing method of the present invention;
Wherein:431:Communication module, 432, lamp controller.
Specific implementation mode
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.The present embodiment is with technical solution of the present invention
Premised on implemented, give detailed embodiment and specific operating process, but protection scope of the present invention is not limited to
Following embodiments.
The application provides a kind of method of lamp settings address, and wherein lamps and lanterns include lamp, lamp controller and communication module,
Lamp controller respectively with communication module and connect, communication module is connect with the communication module of addressing machine and/or other lamps and lanterns.It is logical
Letter module is RS485 communication modules.Multiple lamps and lanterns are connected with each other, and the communication module of specially each lamps and lanterns is sequentially connected, and first
The input terminal of the communication module of grade lamps and lanterns is connect with addressing machine.As depicted in figs. 1 and 2, communication module 431 is full duplex in Fig. 1
At a high speed (>1Mbps) communication chip (i.e. RS485 communicate with IC), this RS485 communications reception bus (A, B) and transmission bus (X,
Y it is) separated, receives bus for receiving the signal that controller or a upper lamps and lanterns connected to it send over, send
Bus is for sending a signal to next lamps and lanterns, and lamp controller 432 is a microcontroller (MCU) in Fig. 1, with RS485 chips
Connection has 4 lines RX, RE, TX, TE, and for wherein RX for receiving from the data for receiving bus transfer, RE is whether to control RS485
Data are received, RE exports low level and enables RS485 reception data, and RE output high level RS485 stops receiving the number in A, B bus
According to;TX is transmission data, and data can be sent from X, Y bus of RS485, TE be control RS485 whether transmission data, TE is defeated
Go out high level and enable RS485 transmission datas, X, Y bus that TE exports low level RS485 stop transmission data.D1 in Fig. 1 is
One cache switching diodes.
Microcontroller and RS485 communication IC control data receivers and transmission are divided into following methods:
1, when the RE of microcontroller 432 is low level, when TE is high level, the data that RS485 receives from A, B bus, mistake
D1 is sent from X, Y bus, and the RX of microcontroller can receive same data.
2, when the RE of microcontroller 432 is low level, when TE is high level, data that RS485 is received from bus will not be from
X, Y buses are sent, and the RX of microcontroller can be received from the data in A, B bus.
3, when the RE of microcontroller 432 is high level, when TE is high level, RS485 stoppings receive data from A, B bus,
Microcontroller can be sent by TE transmission datas by X, Y bus at this time;
4, when the RE of microcontroller 432 is high level, when TE is low level, RS485 stoppings receive data from A, B bus,
Microcontroller stops receiving and transmission data at this time;
5, when microcontroller damage or other reasons, due to thering is pull-up resistor, RE pins to have pull down resistor on TE pins,
So the data that RS485 receives from A, B bus, cross D1 and are sent from X, Y bus,
The key point of this circuit:
1, using full-duplex high-speed RS485 communication chips, signal from receive bus A, B received signal to send bus X,
Y send between delay at ns grades;
2, data are sended and received using what microcontroller control can individually control RS485;
3, using a high velocity, low pressure switching diode, signal delay is at ns grades;
It is as follows that the step of independent address is set is carried out to the lamps and lanterns that signal is cascaded with an addressing machine:
Fig. 3 show lamp settings address software flow chart of the present invention, completes to lamp settings address.Below with to 2
For lamp settings address, each lamps and lanterns have 3 channels, and the step of being set to lamps and lanterns address in conjunction with Fig. 1 is described in detail:
Step S1:When all lamps and lanterns are in normal operating conditions, judge whether there is and receive first control signal (i.e. setting ground
Location instructs and the first digital cipher), if not receiving, keep working normally, if receiving, that is, receives the first of addressing machine transmission
After controlling signal, all lamps and lanterns communication close modules receive bus to the forwarding capability for sending bus and enter setting address mould
Formula, wherein setting address command content are 0x01, and the first digital cipher content is 0x11 and 0x13;
Step S2:Only have first order lamp that can receive the signal sended over from addressing machine, first order lamps and lanterns prison at this time
Listen the second control signal (i.e. setting address instruction, the second digital cipher and address value) for coming from addressing machine, wherein the second number
Word cipher key content is that 0x11 and 0x12 thens follow the steps S3 if receiving the second control signal for coming from addressing machine, if the upper time
Second control signal is not received, then exits address setting mode;
Step S3:First order lamps and lanterns extract address value and are preserved from the second control signal of addressing machine, complete itself ground
Location is set;
Step S4:The address value of next stage lamps and lanterns is calculated, the address value of next stage lamps and lanterns is that this lamps and lanterns address value adds
(such as the address value that first order lamps and lanterns receive is 255 to the number of active lanes of upper lamps and lanterns control, when the control of first order lamps and lanterns is logical
When track data is 3, the address value of second level lamps and lanterns is exactly 255+3=258), RS485 sending functions are opened, according to being calculated
The address values of next stage lamps and lanterns send second control signal to next stage lamps and lanterns, and exit setting address pattern;
Step S5:Next stage lamps and lanterns monitor the second control signal for coming from upper level lamps and lanterns, come from one if receiving
The second control signal of grade, thens follow the steps S4, until all lamps and lanterns complete address setting.
After first order lamps and lanterns complete address setting, addressing machine can be at shutdown status or can turn off, because hereafter
Continuous lamps and lanterns may be implemented to set automatically.
In general, the address value of next stage lamps and lanterns is the number of channels that Self address value adds that itself is controlled, channel data
Depending on lamps and lanterns, if control signal only has RGB, number of channels 3, if RGBW, then number of channels is 4.
Claims (8)
1. a kind of dimming lamp address set information processing method, which is characterized in that including:
After receiving the first control signal sent by addressing machine, stop forwarding the bus data received to next stage lamps and lanterns;
After receiving second control signal, address value is extracted from second control signal to complete address setting;
The address value of next stage lamps and lanterns is calculated, is sent out to next stage lamps and lanterns according to the address value for the next stage lamps and lanterns being calculated
Second control signal is sent, and opens to next stage lamps and lanterns and forwards the bus data received.
2. a kind of dimming lamp address set information processing method according to claim 1, which is characterized in that described first
Control signal is made of setting address instruction and the first digital cipher, and the second control signal is by setting address instruction, second
Digital cipher and address value composition.
3. a kind of dimming lamp address set information processing method according to claim 1, which is characterized in that next stage lamp
The address value of tool is the number of channels that Self address value adds itself control.
4. a kind of dimming lamp address set information processing method according to claim 1, which is characterized in that the lamps and lanterns
The number of channels of itself control is 3 or 4.
5. a kind of lamps and lanterns based on Claims 1 to 4 described information processing method, including lamp and lamp controller, feature exist
In, further include communication module, the lamp controller respectively with communication module and connect, the communication module and addressing machine and/
Or the communication module connection of other lamps and lanterns.
6. lamps and lanterns according to claim 5, which is characterized in that the communication module is RS485 communication modules.
7. a kind of lamps and lanterns group containing lamps and lanterns described in claim 5 or 6, which is characterized in that including multiple lamps and lanterns, each lamps and lanterns
Communication module is sequentially connected, and the input terminal of the communication module of first order lamps and lanterns is connect with addressing machine.
8. a kind of addressing method of lamps and lanterns group as claimed in claim 7, which is characterized in that including:
Step S1:When all lamps and lanterns are in normal operating conditions, after the first control signal for receiving the transmission of addressing machine, all lamps
Have communication close module to receive bus to the forwarding capability for sending bus and enter setting address pattern;
Step S2:First order lamps and lanterns monitor the second control signal for coming from addressing machine, come from the second of addressing machine if receiving
Signal is controlled, S3 is thened follow the steps:
Step S3:First order lamps and lanterns extract address value from the second control signal of addressing machine, and preserve, and complete Self address and set
It is fixed;
Step S4:The address value of next stage lamps and lanterns is calculated, according to the address value for the next stage lamps and lanterns being calculated to next
Grade lamps and lanterns send second control signal, and exit setting address pattern;
Step S5:Next stage lamps and lanterns monitor the second control signal for coming from upper level lamps and lanterns, come from upper level if receiving
Second control signal thens follow the steps S4, until all lamps and lanterns complete address setting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810219468.8A CN108429664A (en) | 2018-03-16 | 2018-03-16 | Address set information processing method, lamps and lanterns and lamps and lanterns addressing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810219468.8A CN108429664A (en) | 2018-03-16 | 2018-03-16 | Address set information processing method, lamps and lanterns and lamps and lanterns addressing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108429664A true CN108429664A (en) | 2018-08-21 |
Family
ID=63158360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810219468.8A Pending CN108429664A (en) | 2018-03-16 | 2018-03-16 | Address set information processing method, lamps and lanterns and lamps and lanterns addressing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108429664A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110072322A (en) * | 2019-04-29 | 2019-07-30 | 广州市浩洋电子股份有限公司 | A kind of method of the quick address setting lamps and lanterns DMX |
CN111654962A (en) * | 2020-08-06 | 2020-09-11 | 杭州罗莱迪思科技股份有限公司 | Automatic configuration method of remote intelligent equipment |
CN114222404A (en) * | 2021-12-21 | 2022-03-22 | 佛山市银河兰晶科技股份有限公司 | Lamp DMX address setting system and method |
CN114531459A (en) * | 2020-11-03 | 2022-05-24 | 深圳市明微电子股份有限公司 | Cascade equipment parameter self-adaptive obtaining method, device, system and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101021728A (en) * | 2006-04-30 | 2007-08-22 | 上海复展照明科技有限公司 | Automatic addressing method for distributing multi processor light-emitting diode control system |
CN101404839A (en) * | 2008-05-16 | 2009-04-08 | 上海大峡谷光电科技有限公司 | Enhancement type DMX512 light control system added with auxiliary collocation channel |
CN101505567A (en) * | 2009-02-27 | 2009-08-12 | 刘延平 | Control method and control system using DMX512 protocol |
CN103765467A (en) * | 2011-02-19 | 2014-04-30 | 精电有限责任公司 | Systems and methods for developing and distributing illumination data files |
-
2018
- 2018-03-16 CN CN201810219468.8A patent/CN108429664A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101021728A (en) * | 2006-04-30 | 2007-08-22 | 上海复展照明科技有限公司 | Automatic addressing method for distributing multi processor light-emitting diode control system |
CN101404839A (en) * | 2008-05-16 | 2009-04-08 | 上海大峡谷光电科技有限公司 | Enhancement type DMX512 light control system added with auxiliary collocation channel |
CN101505567A (en) * | 2009-02-27 | 2009-08-12 | 刘延平 | Control method and control system using DMX512 protocol |
CN103765467A (en) * | 2011-02-19 | 2014-04-30 | 精电有限责任公司 | Systems and methods for developing and distributing illumination data files |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110072322A (en) * | 2019-04-29 | 2019-07-30 | 广州市浩洋电子股份有限公司 | A kind of method of the quick address setting lamps and lanterns DMX |
WO2020220762A1 (en) * | 2019-04-29 | 2020-11-05 | 广州市浩洋电子股份有限公司 | Method for quickly setting dmx addresses of lamps |
CN110072322B (en) * | 2019-04-29 | 2020-11-13 | 广州市浩洋电子股份有限公司 | Method for rapidly setting DMX address of lamp |
US11711881B2 (en) | 2019-04-29 | 2023-07-25 | Guangzhou Haoyang Electronic Co., Ltd. | Method of quickly setting DMX address of light fixture |
CN111654962A (en) * | 2020-08-06 | 2020-09-11 | 杭州罗莱迪思科技股份有限公司 | Automatic configuration method of remote intelligent equipment |
CN111654962B (en) * | 2020-08-06 | 2020-11-17 | 杭州罗莱迪思科技股份有限公司 | Automatic configuration method of remote intelligent equipment |
CN114531459A (en) * | 2020-11-03 | 2022-05-24 | 深圳市明微电子股份有限公司 | Cascade equipment parameter self-adaptive obtaining method, device, system and storage medium |
CN114531459B (en) * | 2020-11-03 | 2024-05-07 | 深圳市明微电子股份有限公司 | Cascade device parameter self-adaptive acquisition method, device, system and storage medium |
CN114222404A (en) * | 2021-12-21 | 2022-03-22 | 佛山市银河兰晶科技股份有限公司 | Lamp DMX address setting system and method |
CN114222404B (en) * | 2021-12-21 | 2022-07-26 | 佛山市银河兰晶科技股份有限公司 | Lamp DMX address setting system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108429664A (en) | Address set information processing method, lamps and lanterns and lamps and lanterns addressing method | |
CN111147619B (en) | Method and system for realizing automatic address allocation of RS485 slave equipment locally | |
CN103490966A (en) | Dual-redundancy CAN bus data receiving and processing method | |
CN202871258U (en) | LED driving chip cascade circuit | |
CN101394288B (en) | Port mirroring implementing method and apparatus for Ethernet apparatus | |
CN102866683B (en) | Signal conversion device and automatic testing system | |
CN104009976B (en) | A kind of real-time communication method being used between more main station systems and its equipment | |
CN101916959A (en) | Laser switching-off device and switching-off method thereof | |
CN102338342B (en) | Internal control type LED (light-emitting diode) nixie tube system and control method thereof | |
CN100485632C (en) | USB device testing module, USB device and testing method thereof | |
CN207638953U (en) | A kind of lamp dimmer based on DMX512 agreements and Art-Net agreements | |
CN106201964A (en) | The on-line automatic addressing of RDM driver and RDM bus short circuit positioner and method | |
CN110708324A (en) | Method and system for realizing point-to-point communication between FPGA (field programmable Gate array) board cards | |
CN101336028A (en) | Bidirectional daisy-chain cascades light network control method and system | |
CN1776994A (en) | New-type switching method for tele mechanical host-standby communication | |
KR100870733B1 (en) | Remote controller and control method of lighting apparatus | |
CN201178508Y (en) | Lamp control system | |
CN102331762B (en) | Control method for master station write-in of address codes by RS-485 buses | |
CN1466315A (en) | Method for realizing long distance controlled loopback of communication equipment | |
CN101769106A (en) | Control system of underground safety door system and method thereof | |
CN205249496U (en) | Wireless communication terminal | |
CN104023440B (en) | Public illumination MANET remote controllers and method | |
CN101950485B (en) | Traffic signal lamp digital networking equipment | |
CN219305078U (en) | Light source control system, light source controller and main controller | |
CN215581825U (en) | Wireless cascade communication device, lamp and lighting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180821 |