WO2020220762A1 - 一种快速设置灯具 dmx 地址的方法 - Google Patents

一种快速设置灯具 dmx 地址的方法 Download PDF

Info

Publication number
WO2020220762A1
WO2020220762A1 PCT/CN2020/072096 CN2020072096W WO2020220762A1 WO 2020220762 A1 WO2020220762 A1 WO 2020220762A1 CN 2020072096 W CN2020072096 W CN 2020072096W WO 2020220762 A1 WO2020220762 A1 WO 2020220762A1
Authority
WO
WIPO (PCT)
Prior art keywords
lamp
signal line
dmx address
dmx
address
Prior art date
Application number
PCT/CN2020/072096
Other languages
English (en)
French (fr)
Inventor
蒋伟楷
Original Assignee
广州市浩洋电子股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州市浩洋电子股份有限公司 filed Critical 广州市浩洋电子股份有限公司
Priority to EP20798000.4A priority Critical patent/EP3965535B1/en
Publication of WO2020220762A1 publication Critical patent/WO2020220762A1/zh
Priority to US17/219,152 priority patent/US11711881B2/en

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/18Controlling the light source by remote control via data-bus transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]

Definitions

  • the present invention relates to the field of lighting technology, and more specifically, to a method for quickly setting the DMX address of a lamp.
  • the patent application number CN201710805203.1 proposes a method and device for configuring the address of the lamp based on the lamp control system.
  • the controller automatically sets a number for each lamp in the system, and finally passes the user-defined scope.
  • the number sets the starting address for the fixture.
  • the lamp address setting method has the following disadvantages:
  • the lamp Every time the lamp is powered on, it will assign a DMX address to the lamps in the loop. If the user wants the lamps in the loop to maintain the same DMX address, it will not be possible;
  • the DMX address must be allocated from the first lamp to the back, which lacks flexibility
  • a controllable switch needs to be installed inside the lamp, which increases the manufacturing cost and maintenance cost
  • the present invention aims to overcome at least one of the above-mentioned drawbacks of the prior art, and provides a method for quickly setting the DMX address of a lamp.
  • the DMX address can be allocated from any lamp and the setting of the DMX address of the lamp can be judged.
  • a method for quickly setting the DMX address of a lamp It is used to set the DMX address of N lamps.
  • the N lamps are connected in series via the first signal line.
  • N 2, 3, ..., the first lamp passes the first
  • the controller sends the DMX address to the i-th lamp through the first signal line;
  • the i-th fixture sets its DMX address to the received DMX address, calculates the DMX address of the i+1th fixture based on the received DMX address, and sends the i+1th fixture’s DMX address through the first signal line Address to the i+1th lamp;
  • the first to i-th lamps send counting signals and/or through the first signal line respectively Each UID code and/or each successfully set DMX address to the controller.
  • the controller can send the DMX start address to any lamp via the first signal line, so that the DMX address can be allocated from any lamp to the back.
  • the number of lamps or the UID code of the lamps is known, it can be judged whether the DMX addresses of all lamps have been set successfully according to the counting signal, UID code and DMX address received by the controller, and the UID of the lamps whose DMX address has been successfully set Code and/or DMX address.
  • controller and the N lamps are connected in series or in parallel through a second signal line, and the setting of the DMX address of the lamp is determined according to the UID code and/or DMX address received by the controller through the first signal line Situation, specifically including the following steps:
  • N lamps and lanterns respectively send counting signals and/or their UID codes to the controller through the second signal line;
  • the number of lamps or the UID code of the lamps is unknown, the number of lamps or the UID code of the lamps can be obtained through the second signal line.
  • the second signal line may also have a communication abnormality. Therefore, it is necessary to compare N'and N" to comprehensively determine the setting of the DMX address of the lamp, and determine whether the first signal line and the second signal line have a communication abnormality.
  • the judging the setting of the DMX address of the lamp according to the comparison result specifically includes:
  • the method further includes the following steps:
  • the method further includes the following steps:
  • the method further includes the following steps:
  • the controller After determining the UID code of the lamp whose DMX address is not successfully set, the controller sends a control command through the second signal line to the lamp whose DMX address has not been successfully set according to the UID code of the lamp whose DMX address has not been successfully set.
  • the j-th lamp After the j-th lamp receives the control command, it sends the query command to the j+1th lamp through the second signal line;
  • the j+1 lamp After the j+1 lamp receives the query command, it sends a response command to the j lamp through the second signal line;
  • the j-th luminaire determines the relative connection position of the j-th luminaire among all the luminaires that have not successfully set the DMX address.
  • the sequence of the lamps that have not successfully set the DMX address can be determined, so as to know the specific location of the communication abnormality on the first signal line, so that the operator can eliminate the communication abnormality in time.
  • the method further includes the following steps:
  • the controller calculates the DMX address of the xth lamp according to the DMX address received through the first signal line, and sends the DMX address of the xth lamp to the xth lamp through the second signal line;
  • the x-th to i-th lamps send their respective UID codes and UID codes through the first signal line. /Or the successfully set DMX address to the xth fixture, the xth fixture will forward the received UID code and/or DMX address to the controller through the second signal line.
  • the method further includes the following steps:
  • the ith lamp After the ith lamp sets its DMX address to the DMX start address it receives, it sends a feedback signal to the controller through the first signal line.
  • the first signal line may also have a communication abnormality between any initial set of lamps and the controller, so after the initial set of lamps has successfully set the DMX address, a feedback signal must be sent to the controller. If the controller cannot receive the feedback signal sent by the lamp that was initially set up, it can learn that there is an abnormal communication between the lamp and the controller, so that the operator can eliminate the abnormality in time.
  • the lamps are respectively connected to the controller through RDM signal lines, and further include the following steps:
  • the controller sends DMX addresses to the lamps through the RDM signal line;
  • the lamp sets its DMX address to the DMX address received through the RDM signal line.
  • the N lamps can be connected to the controller through the RDM signal line.
  • connection sequence of the lamps can be learned according to the correspondence between the DMX address and the UID code received by the controller through the first signal line, and according to the learned For the lighting connection sequence, the controller can directly send the DMX address to the lighting through the RDM signal line, and the lighting completes the setting of the lighting DMX address under the RDM address setting instruction.
  • the RDM signal line is a second signal line.
  • the present invention can quickly set DMX addresses for large quantities of lamps, without the need for staff to set them one by one, improving work efficiency, and can assign DMX addresses backward from any lamp in the loop, which has a wider application range;
  • the present invention has high fault tolerance, even if a certain node of the first signal line dedicated to quickly setting the DMX address has a communication abnormality, the second signal line can assist in completing the DMX address setting of each remaining lamp;
  • the present invention can help the operator to quickly locate the location where the abnormal communication occurs.
  • Figure 1 is a schematic diagram of the connection between a controller and a lamp in an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of abnormal communication of the first signal line in the embodiment of the present invention.
  • Figure 3 is another schematic diagram of the connection between the controller and the lamp in the embodiment of the present invention.
  • FIG. 4 is a schematic diagram of abnormal communication of the second signal line in the embodiment of the present invention.
  • FIG. 5 is another schematic diagram of abnormal communication of the first signal line in the embodiment of the present invention.
  • Figure 6 is another schematic diagram of the connection between the controller and the lamp in the embodiment of the present invention.
  • the controller sends the DMX address to the i-th lamp through the first signal line;
  • the i-th fixture sets its DMX address to the received DMX address, calculates the DMX address of the i+1th fixture based on the received DMX address, and sends the i+1th fixture’s DMX address through the first signal line Address to the i+1th lamp;
  • the first to i-th lamps send counting signals and/or through the first signal line respectively Each UID code and/or each successfully set DMX address to the controller.
  • the first signal line connected between the i-th lamp and the i+1-th lamp is marked as A(i-1, i).
  • A(i-1, i) and A(i,i+1) is not connected to each other, and the data transmission between A(i-1,i) and A(i,i+1) is forwarded through the lamp.
  • the i-th luminaire calculates the DMX address of the i+1th luminaire based on the received DMX address, specifically: the i-th luminaire adds the received DMX address to the number of channels it occupies, Get the DMX address of the i+1th fixture.
  • the controller sends DMX address 10 to the first lamp through A(0,1);
  • the DMX address of the first lamp is set to 10 under the address setting instruction, and its DMX address 10 is added to the number of channels it occupies 4 to get a new DMX address 14, which passes A (1, 2) Send DMX address 14 to the second lamp;
  • the DMX address of the second lamp is set to 14 under the address setting instruction, and a feedback signal is sent to the first lamp via A (1, 2), indicating that it has received the DMX address 14 sent by the first lamp ;
  • the second lamp adds its DMX address 14 to the number of channels it occupies 4 to get a new DMX address 18, and sends the DMX address 18 to the third lamp through A (2, 3);
  • the 5th lamp cannot receive the feedback signal from the next lamp within the set time (for example, 50 milliseconds) after the DMX address 30 is sent. Yes, the fifth lamp will send the counting signal and/or its UID code and/or its DMX address to the fourth lamp through A(4,5), and the fourth lamp will then pass A(3,4) to The counting signal and/or UID code and/or DMX address of the 5th fixture are forwarded forward until they are sent to the controller;
  • the 4th, 3rd, 2nd and 1st lamps will also sequentially send the counting signal and/or its UID code and/or its DMX address to the controller through the first signal line;
  • the number of lamps or the UID code of the lamps can be obtained according to the counting signal and/or the number of UID codes and/or DMX addresses received by the controller.
  • the UID code received by the controller you can know which lamps have successfully set the DMX address, and you can also know which lamps have successfully set which DMX address and the number 1 to 5 according to the correspondence between the UID code and the DMX address received by the controller.
  • the sequence of the 5 UID codes corresponding to the lamps is known as the connection sequence of the lamps.
  • the second fixture will not receive the feedback from the third fixture within the set time (for example, 50 milliseconds) after sending the DMX address 14 At this time, the first and second lamps will send the counting signal and/or their UID code and/or their DMX address to the controller in turn. It can be known that there are only 2 lamps-the first and second lamps The DMX address has been successfully set, and the UID code and DMX address of the lamps that have successfully set the DMX address are learned.
  • the controller can send the DMX start address to any lamp via the first signal line, so that the DMX address can be allocated from any lamp to the back.
  • the counting signal and/or UID code and/or DMX address received by the controller can be used to determine whether the DMX addresses of all lamps have been set successfully, and know that the DMX address has been successfully set UID code and/or DMX address of the fixture.
  • the controller and the N lamps are also connected in series or in parallel through the second signal line, and the DMX of the lamp is determined according to the UID code and/or DMX address received by the controller through the first signal line
  • the setting of the address includes the following steps:
  • N lamps and lanterns respectively send counting signals and/or their UID codes to the controller through the second signal line;
  • lamps numbered 1 to 5 are connected in series via the first signal line, and lamps numbered 1 are connected to the controller via the first signal line, and are also connected in parallel with the controller via the second signal line;
  • the controller can send RDM query instructions to the five lamps through the second signal line, so that the five lamps send counting signals and/or their UID codes to the controller through the second signal line, so as to know the number of lamps N';
  • the controller can know the number of lamps that successfully set the DMX address N" through the counting signal and/or UID code and/or DMX address received by the first signal line, and judge the setting of the DMX address of the lamp by comparing N'and N" .
  • the number of lamps or the UID code of the lamps is unknown, the number of lamps or the UID code of the lamps can be obtained through the second signal line.
  • the second signal line may also have a communication abnormality. Therefore, it is necessary to compare N'and N" to comprehensively determine the setting of the DMX address of the lamp, and determine whether the first signal line and the second signal line have a communication abnormality.
  • the method further includes the following steps:
  • N'>N it indicates that the second signal line has communication abnormality between several lamps and the controller, so that the number of lamps N" obtained through the statistics of the second signal line is higher than that obtained through the statistics of the first signal line The number of lamps N'is less.
  • the second signal line connected between the controller and the third lamp has a communication abnormality. Only the first, second, fourth, and fifth lamps can send the UID code to the control through the second signal line.
  • N should be 4, and there is no abnormal communication in the first signal line, N'should be 5, at this time N'> N”, compare the lamp UID code obtained by the controller through the two sets of signal lines, you can determine The UID code corresponding to the third light fixture on the second signal line that has abnormal communication with the controller.
  • the method further includes the following steps:
  • a (2, 3) has a communication abnormality, then the 3rd, 4th, and 5th lamps cannot successfully set the DMX address, only the 1st and 2nd lamps send the UID code to the controller, N' It should be 2, and there is no communication abnormality in the second signal line, N" should be 5, at this time N' ⁇ N", compare the lamp UID code obtained by the controller through the two sets of signal lines, you can confirm that the DMX address is not successfully set UID codes of the 3rd, 4th, and 5th lamps.
  • the method further includes the following steps:
  • the controller After determining the UID code of the lamp whose DMX address is not successfully set, the controller sends a control command through the second signal line to the lamp whose DMX address has not been successfully set according to the UID code of the lamp whose DMX address has not been successfully set.
  • the j-th lamp After the j-th lamp receives the control command, it sends the query command to the j+1th lamp through the second signal line;
  • the j+1 lamp After the j+1 lamp receives the query command, it sends a response command to the j lamp through the second signal line;
  • the j-th luminaire determines the relative connection position of the j-th luminaire among all the luminaires that have not successfully set the DMX address.
  • the relative connection position of the j-th luminaire among all the luminaires that have not successfully set the DMX address is determined, specifically: if the j-th luminaire only receives the response instruction, If the query command is not received, the relative connection position of the j-th luminaire among all luminaires that have not successfully set the DMX address is at the forefront; if the j-th luminaire receives both the response command and the query command, the j-th luminaire The relative connection position of the fixture in all the fixtures that have not successfully set the DMX address is in the middle; if the j-th fixture only receives the query command but not the response instruction, the j-th fixture is among all the fixtures that have not successfully set the DMX address The relative connection position is at the rear end.
  • the report information may include the UID code of the lamp.
  • a (2, 3) has a communication abnormality, and the 3rd, 4th, and 5th lamps cannot successfully set the DMX address. Only the 1st and 2nd lamps send the UID code to the controller, as described above . After comparing the UID codes of the lamps and lanterns obtained by the controller through the two sets of signal lines, after confirming the UID codes of the 3rd, 4th, and 5th lamps whose DMX address was not successfully set, I do not know which UID code corresponds to It is the number of lamps. At this time, let the controller send control commands to these 3 lamps via the second signal line according to the UID codes of these 3 lamps.
  • these 3 lamps After these 3 lamps receive the control commands, they respectively pass the second signal line Send the query instruction to the next fixture, and the fixture that receives the query instruction will send a response instruction to the previous fixture, that is, the third fixture sends the query instruction to the fourth fixture, and the fourth fixture receives the query instruction Then send the response command to the third lamp, the fourth lamp sends the query command to the fifth lamp, the fifth lamp receives the query command and sends the response command to the fourth lamp, and the fifth lamp also sends the query backward Command, but because there is no 6th lamp, the 5th lamp will not receive the response command. As a result, the third lamp only received the response command sent by the fourth lamp, and did not receive the query command sent to it by the previous lamp.
  • the third lamp is one of the three unsuccessful DMX address lamps.
  • the middle row is at the forefront; the fourth lamp receives both the query command sent by the third lamp and the response command sent by the fifth lamp, so it is judged that the fourth lamp has not successfully set the DMX address in the three
  • the lamps are ranked in the middle; the fifth lamp only received the query command sent by the fourth lamp, but did not receive the response command sent by the latter lamp, so it is judged that the fifth lamp is not successfully set in the 3
  • the lamps with the DMX address are ranked last.
  • the third luminaire will send report information to the controller through the second signal line, and report to the controller that it is the front luminaire.
  • the sequence of the lamps that have not successfully set the DMX address can be determined, so as to know the specific location of the communication abnormality on the first signal line, so that the operator can eliminate the communication abnormality in time.
  • the method further includes the following steps:
  • the controller calculates the DMX address of the xth lamp according to the DMX address received through the first signal line, and sends the DMX address of the xth lamp to the xth lamp through the second signal line;
  • the x-th to i-th lamps send their respective UID codes and UID codes through the first signal line. /Or the successfully set DMX address to the xth fixture, the xth fixture will forward the received UID code and/or DMX address to the controller through the second signal line.
  • the search for the lamps whose relative connection position is at the forefront of all lamps whose DMX address is not successfully set can be specifically as follows: if the j-th lamp only receives the response command and does not receive the query command, the j-th lamp passes the second The signal line sends report information to the controller. Through the report information received by the controller, it is possible to know which lamp is at the forefront of the relative connection position among all lamps that have not successfully set the DMX address.
  • the controller sends DMX address 18 to the third lamp through the second signal line;
  • the DMX address of the 4th lamp is set to 22 under the address setting instruction, and a feedback signal is sent to the third lamp via A (3, 4), indicating that it has received the DMX address 22 sent by the third lamp ;
  • the 5th fixture also completes the DMX address setting according to the above steps. Finally, the DMX addresses of the 3rd, 4th, and 5th fixtures that have not successfully set the DMX address before have been set to 18, 22, and 26 respectively;
  • the 5th lamp cannot receive the feedback signal from the next lamp within the set time (for example, 50 milliseconds) after the DMX address 30 is sent. Yes, the fifth lamp will send the counting signal and/or its UID code and/or its DMX address to the fourth lamp through A(4,5), and the fourth lamp will then pass A(3,4) to The counting signal and/or UID code and/or DMX address of the fifth lamp are forwarded to the third lamp, and similarly, the counting signal and/or UID code and/or DMX address of the fourth lamp will also be sent to the third lamp. 3 lamps;
  • the third lamp Since A (2, 3) is abnormal in communication, the third lamp will use the second signal line to connect the counting signal and/or UID code and/or DMX address of the third, fourth, and fifth lamps Forward to the controller;
  • the method further includes the following steps:
  • the ith lamp After the ith lamp sets its DMX address to the DMX start address it receives, it sends a feedback signal to the controller through the first signal line.
  • the first signal line may also have a communication abnormality between any initial set of lamps and the controller, so after the initial set of lamps has successfully set the DMX address, a feedback signal must be sent to the controller. If the controller cannot receive the feedback signal sent by the lamp that was initially set up, it can learn that there is an abnormal communication between the lamp and the controller, so that the operator can eliminate the abnormality in time.
  • the N lamps can be connected to the controller through the RDM signal line.
  • connection sequence of the lamps can be learned according to the correspondence between the DMX address and the UID code received by the controller through the first signal line, and according to the learned For the lighting connection sequence, the controller can directly send the DMX address to the lighting through the RDM signal line, and the lighting completes the setting of the lighting DMX address under the RDM address setting instruction.
  • lamps numbered 1 to 5 are connected in series via the first signal line, and lamps numbered 1 are connected to the controller via the first signal line, and are also connected in parallel with the controller via the RDM signal line.
  • lamps numbered 1 are connected to the controller via the first signal line, and are also connected in parallel with the controller via the RDM signal line.
  • you need to set the DMX address of the fixture number 1 to 20, the DMX address of the fixture number 2 to 1, and the DMX address of fixtures 3, 4, and 5 to 30, 34, 38, and 5 fixtures are known
  • the controller sets the DMX address of the first lamp to 20 through the RDM signal line, and the DMX address of the second lamp to 1.
  • the controller can also set the DMX address of the third fixture to 30 through the RDM signal line or the second signal line, and the third fixture adds its DMX address 30 to 4 to get a new DMX address 34, and Send the DMX address 34 to the 4th fixture through the first signal line.
  • the 4th fixture After the 4th fixture receives the DMX address 34, set its DMX address to 34, and add 4 to the DMX address 34 to get a new DMX address 38 , And send the DMX address 38 to the fifth fixture, and the fifth fixture will set its DMX address to 38 after receiving the DMX address 38.
  • the RDM signal line is the second signal line, that is, the RDM signal line and the second signal line may be the same group of signal lines.
  • the communication between the controller and the lamp and the communication between the lamp and the lamp adopt 485 communication.
  • the first signal line and the second signal line include two 485 communication buses.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

本发明涉及一种快速设置灯具DMX地址的方法,控制器通过第一信号线发送DMX地址到第i台灯具;第i台灯具将其DMX地址设置为其接收到的DMX地址,根据其接收到的DMX地址计算第i+1台灯具的DMX地址,并通过第一信号线发送第i+1台灯具的DMX地址到第i+1台灯具;第i+1台灯具将其DMX地址设置为其接收到的DMX地址,并通过第一信号线发送反馈信号到第i台灯具;若第i台灯具在发送DMX地址后的设定时间内没有接收到第i+1台灯具发送的反馈信号,则第1个至第i台灯具分别通过第一信号线发送计数信号和/或各自的UID码和/或各自成功设置的DMX地址到控制器,从而判断灯具的DMX地址的设置情况,并实现从任一台灯具开始向后分配DMX地址,使得灯具DMX地址设置更加高效便捷

Description

一种快速设置灯具DMX地址的方法 技术领域
本发明涉及照明技术领域,更具体地,涉及一种快速设置灯具DMX地址的方法。
背景技术
当需要大批量地修改灯具DMX地址时,现有的灯具地址设置方法需要在灯具的控制面板或通过RDM功能逐个进行设置,费时费力,效率低下。
申请号为CN201710805203.1的专利中提出了一种基于灯具控制系统的灯具地址配置方法与装置,通过控制器自动地为系统中的每个灯具设置一个编号,并且最终通过用户自定义的范围性编号给灯具设置起始地址。该灯具地址设置方法具有以下缺点:
1、用一条数据线单向传输来分配DMX地址的,数据传输的效率和可靠性较低;
2、灯具每次通电后都会给回路中的灯具分配一次DMX地址,假如用户希望回路中的灯具保持相同的DMX地址,则无法实现;
3、必须从第一台灯具开始向后分配DMX地址的,缺乏灵活性;
4、灯具内部需要另外安装可控开关,增加制造成本和维护成本;
5、一旦某个节点通信出现异常(例如信号线不通、灯具损坏等),则这个节点后面的正常灯具都无法分配地址。
技术问题
本发明旨在克服上述现有技术的至少一种缺陷,提供一种快速设置灯具DMX地址的方法,可以从任一台灯具开始向后分配DMX地址,并且可以判断灯具DMX地址的设置情况。
技术解决方案
本发明采取的技术方案是:
一种快速设置灯具DMX地址的方法,用于设置N台灯具的DMX地址,所述N台灯具通过第一信号线依次串联连接,N = 2, 3, ……,第1台灯具通过第一信号线连接有控制器,令i = 1, 2, ……, N-1,所述方法包括以下步骤:
分配步骤:
控制器通过第一信号线发送DMX地址到第i台灯具;
设置步骤:
第i台灯具将其DMX地址设置为其接收到的DMX地址,根据其接收到的DMX地址计算第i+1台灯具的DMX地址,并通过第一信号线发送第i+1台灯具的DMX地址到第i+1台灯具;
第i+1台灯具将其DMX地址设置为其接收到的DMX地址,并通过第一信号线发送反馈信号到第i台灯具;
判断步骤:
若第i台灯具在发送DMX地址后的设定时间内没有接收到第i+1台灯具发送的反馈信号,则第1个至第i台灯具分别通过第一信号线发送计数信号和/或各自的UID码和/或各自成功设置的DMX地址到控制器。
控制器可以将DMX起始地址通过第一信号线发送给任一台灯具,从而实现从任一台灯具开始向后分配DMX地址。当灯具的数量或者灯具的UID码是已知时,可以根据控制器接收到的计数信号、UID码、DMX地址,判断是否所有灯具的DMX地址均设置成功,获知成功设置DMX地址的灯具的UID码和/或DMX地址。
进一步地,所述控制器和N台灯具还通过第二信号线依次串联或并联连接,所述根据控制器通过第一信号线接收到的UID码和/或DMX地址判断灯具的DMX地址的设置情况,具体包括以下步骤:
N台灯具分别通过第二信号线发送计数信号和/或各自的UID码到控制器;
根据控制器通过第二信号线接收到的计数信号和/或UID码,获取灯具数量N’;
根据控制器通过第一信号线接收到的计数信号和/或UID码和/或DMX地址,获取成功设置DMX地址的灯具数量N”;
比较N’和N”,根据比较结果判断灯具的DMX地址的设置情况。
当灯具的数量或者灯具的UID码是未知时,可以通过第二信号线获取灯具的数量或者灯具的UID码。但是第二信号线也可能存在通信异常的情况,因此,需要比较N’和N”综合判断灯具的DMX地址的设置情况,判断第一信号线和第二信号线是否存在通信异常。
进一步地,所述根据比较结果判断灯具的DMX地址的设置情况,具体包括:
若N’= N”,则判断为N台灯具的DMX地址全部成功设置;
若N’> N”,则判断为存在灯具不能通过第二信号线与控制器通信;
若N’< N”,则判断为N台灯具的DMX地址未全部成功设置。
进一步地,所述方法还包括以下步骤:
当N’> N”时,比较控制器通过第二信号线接收到的UID码和控制器通过第一信号线接收到的UID码,确定不能通过第二信号线与控制器通信的灯具的UID码。
当N’> N”时,表明第二信号线在若干台灯具与控制器之间存在通信异常,使得通过第二信号线所统计获知的灯具数量N”比通过第一信号线所统计获知的灯具数量N’要少。此时通过比较控制器通过两组信号线接收到的UID码,可以确定第二信号线出现通信异常的位置对应的灯具UID码,以便操作人员及时对通信异常进行排除。
进一步地,所述方法还包括以下步骤:
当N’< N”时,比较控制器通过第二信号线接收到的UID码和控制器通过第一信号线接收到的UID码,确定未成功设置DMX地址的灯具的UID码。
当N’< N”时,表明第一信号线在某两台灯具之间存在通信异常,使得通过第一信号线所统计获知的灯具数量N’比通过第二信号线所统计获知的灯具数量N”要少。此时通过比较控制器通过两组信号线接收到的UID码,可以确定未成功设置DMX地址的灯具的UID码。
进一步地,所述方法还包括以下步骤:
当确定未成功设置DMX地址的灯具的UID码后,控制器根据未成功设置DMX地址的灯具的UID码,通过第二信号线发送控制指令到未成功设置DMX地址的灯具,某个未成功设置DMX地址的灯具记为第j台灯具,j = 2, 3, ……, N;
第j台灯具接收到控制指令后,通过第二信号线发送查询指令到第j+1台灯具;
第j+1台灯具接收到查询指令后,通过第二信号线发送应答指令到第j台灯具;
根据第j台灯具是否接收到查询指令和应答指令,确定第j台灯具在所有未成功设置DMX地址的灯具中的相对连接位置。
通过上述方法可以确定未成功设置DMX地址的灯具的排列顺序,从而获知第一信号线出现通信异常的具体位置,以便操作人员及时对通信异常进行排除。
进一步地,所述方法还包括以下步骤:
查找所有未成功设置DMX地址的灯具中相对连接位置在最前端的灯具,所查找到的灯具记为第x台灯具,x = 2, 3, ……, N;
控制器根据通过第一信号线接收到的DMX地址计算第x台灯具的DMX地址,通过第二信号线发送第x台灯具的DMX地址到第x台灯具;
令i = x, x+1, ……, N-1,执行所述设置步骤;
若第i台灯具在发送DMX地址后的设定时间内没有接收到第i+1台灯具发送的反馈信号,则第x个至第i台灯具分别通过第一信号线发送各自的UID码和/或成功设置的DMX地址到第x台灯具,第x台灯具通过第二信号线将接收到的UID码和/或DMX地址转发到控制器。
当查找到所有未成功设置DMX地址的灯具中排在最前端的灯具后,可以结合第一信号线和第二信号线,继续对未成功设置DMX地址的灯具进行DMX地址的设置。
进一步地,所述方法还包括以下步骤:
第i台灯具将其DMX地址设置为其接收到的DMX起始地址后,通过第一信号线发送反馈信号到控制器。
第一信号线也有可能在任一台起始设置的灯具与控制器之间存在通信异常,因此在该台起始设置的灯具成功设置DMX地址后也要发送反馈信号到控制器。如果控制器无法接收该台起始设置的灯具发送的反馈信号,则可以获知该台灯具与控制器之间存在通信异常,以便操作人员及时排除异常。
进一步地,所述灯具还通过RDM信号线分别与控制器连接,还包括以下步骤:
根据控制器通过第一信号线接收到的UID码和DMX地址之间的对应关系,获知连接顺序;
根据所述连接顺序,控制器通过RDM信号线分别向灯具发送DMX地址;
灯具将其DMX地址设置为通过RDM信号线接收到的DMX地址。
当灯具的DMX地址需要设置成特定的值,造成N个灯具的DMX地址需要不连续地设置时,可以通过RDM信号线将N个灯具分别与控制器连接。
如上所述,当执行完上述分配步骤、设置步骤、判断步骤后,根据控制器通过第一信号线接收到的DMX地址和UID码之间的对应关系可以获知灯具的连接顺序,根据所获知的灯具连接顺序,控制器可以通过RDM信号线直接发送DMX地址到灯具,灯具在RDM的地址设置指令下完成灯具DMX地址的设置。
进一步地,所述RDM信号线为第二信号线。
有益效果
与现有技术相比,本发明的有益效果为:
(1)本发明可以对大批量的灯具快速设置DMX地址,不需要工作人员逐个设置,提高工作效率,而且可以从回路中的任意一台灯具开始向后分配DMX地址,适用范围更广;
(2)本发明容错性高,即使专用于快速设置DMX地址的第一信号线的某个节点出现通信异常,也可以通过第二信号线辅助完成剩下的每台灯具的DMX地址设置;
(3)本发明可以帮助操作人员快速定位出现通信异常的位置。
附图说明
图1为本发明实施例中控制器和灯具的连接示意图。
图2为本发明实施例中第一信号线发生通信异常示意图。
图3为本发明实施例中控制器和灯具的另一连接示意图。
图4为本发明实施例中第二信号线发生通信异常示意图。
图5为本发明实施例中第一信号线发生通信异常的另一示意图。
图6为本发明实施例中控制器和灯具的另一连接示意图。
本发明的最佳实施方式
本实施例提供一种快速设置灯具DMX地址的方法,用于设置N台灯具的DMX地址,所述N台灯具通过第一信号线依次串联连接,N = 2, 3, ……,i = 1, 2, ……, N-1,第1台灯具通过第一信号线连接有控制器,令i = 1, 2, ……, N-1,所述方法包括以下步骤:
分配步骤:
控制器通过第一信号线发送DMX地址到第i台灯具;
设置步骤:
第i台灯具将其DMX地址设置为其接收到的DMX地址,根据其接收到的DMX地址计算第i+1台灯具的DMX地址,并通过第一信号线发送第i+1台灯具的DMX地址到第i+1台灯具;
第i+1台灯具将其DMX地址设置为其接收到的DMX地址,并通过第一信号线发送反馈信号到第i台灯具;
判断步骤:
若第i台灯具在发送DMX地址后的设定时间内没有接收到第i+1台灯具发送的反馈信号,则第1个至第i台灯具分别通过第一信号线发送计数信号和/或各自的UID码和/或各自成功设置的DMX地址到控制器。
为方便描述,连接在第i台灯具与第i+1台灯具之间的第一信号线记为A(i-1,i),在具体实施过程中,A(i-1,i)和A(i,i+1)是互不相通的,A(i-1,i)和A(i,i+1)之间的数据传输是通过灯具进行转发的。
在具体实施过程中,第i台灯具根据其接收到的DMX地址计算第i+1台灯具的DMX地址,具体为:第i台灯具将其接收到的DMX地址加上其占有的通道数,得到第i+1台灯具的DMX地址。
如图1所示,以N=5为例,5台灯具通过第一信号线依次串联连接,编号为1到5,控制器通过第一信号线与第1台灯具连接。假设5台灯具均占有4个通道,初始DMX地址均为1。采用本实施例所提供的方法对5台灯具的DMX地址进行设置,DMX地址从10开始,则执行以下步骤:
(1)控制器通过A(0,1)发送DMX地址10到第1台灯具;
(2)第1台灯具在地址设置指令下将其DMX地址设置成10,并将其DMX地址10加上其所占的通道数4得到一个新的DMX地址14,通过A(1,2)将DMX地址14发送到第2台灯具;
(3)第2台灯具在地址设置指令下将其DMX地址设置成14,并通过A(1,2)发送反馈信号到第1台灯具,表明已接收到第1台灯具发送的DMX地址14;
(4)第2台灯具将其DMX地址14加上其所占的通道数4得到一个新的DMX地址18,通过A(2,3)将DMX地址18发送到第3台灯具;
(5)第3、4、5台灯具同样按照上述步骤完成DMX地址的设置,最终第1至5台灯具的DMX地址分别设置成10、14、18、22、26;
(6)由于只有5台灯具,没有第6台灯具,因此第5台灯具将DMX地址30发送出去后在设定时间内(例如50毫秒)是无法接收到下一台灯具发回来的反馈信号的,第5台灯具就会通过A(4,5)将计数信号和/或其UID码和/或其DMX地址发送到第4台灯具,第4台灯具再通过A(3,4)将第5台灯具的计数信号和/或UID码和/或DMX地址向前转发,直到发送到控制器;
(7)第4、3、2、1台灯具也会通过第一信号线依次先后将计数信号和/或其UID码和/或其DMX地址发送到控制器;
(8)当灯具的数量或者灯具的UID码是已知时,根据控制器接收到的计数信号和/或UID码和/或DMX地址的个数可以获知成功设置DMX地址的灯具数量,还可以根据控制器接收到的UID码获知哪些灯具已成功设置DMX地址,还可以根据控制器接收到的UID码和DMX地址之间的对应关系获知哪些灯具已成功设置哪个DMX地址以及编号1到5的灯具对应的5个UID码顺序,也即获知了灯具的连接顺序。
如图2所示,如果A(2,3)发生了通信异常,第2台灯具将DMX地址14发送出去后在设定时间内(例如50毫秒)无法接收到第3台灯具发回来的反馈信号,此时第1、2台灯具会依次先后将计数信号和/或其UID码和/或其DMX地址发送到控制器,由此可获知只有2台灯具——第1、2台灯具的DMX地址已成功设置,并且获知已成功设置DMX地址的灯具的UID码以及DMX地址。
控制器可以将DMX起始地址通过第一信号线发送给任一台灯具,从而实现从任一台灯具开始向后分配DMX地址。当灯具的数量或者灯具的UID码是已知时,可以根据控制器接收到的计数信号和/或UID码和/或DMX地址,判断是否所有灯具的DMX地址均设置成功,获知成功设置DMX地址的灯具的UID码和/或DMX地址。
在本实施例中,所述控制器和N台灯具还通过第二信号线依次串联或并联连接,所述根据控制器通过第一信号线接收到的UID码和/或DMX地址判断灯具的DMX地址的设置情况,具体包括以下步骤:
N台灯具分别通过第二信号线发送计数信号和/或各自的UID码到控制器;
根据控制器通过第二信号线接收到的计数信号和/或UID码,获取灯具数量N’;
根据控制器通过第一信号线接收到的UID码和/或DMX地址,获取成功设置DMX地址的灯具数量N”;
比较N’和N”,根据比较结果判断灯具的DMX地址的设置情况。
如图3所示,编号1到5的灯具通过第一信号线依次串联连接、编号1的灯具通过第一信号线与控制器连接的同时,还通过第二信号线与控制器依次并联连接;控制器可以通过第二信号线分别向5台灯具发送RDM查询灯具的指令,使得5台灯具通过第二信号线发送计数信号和/或各自的UID码到控制器,从而获知灯具数量N’;控制器通过第一信号线接收到的计数信号和/或UID码和/或DMX地址可以获知成功设置DMX地址的灯具数量N”,通过比较N’和N”可以判断灯具的DMX地址的设置情况。
在灯具的数量或者灯具的UID码是未知时,可以通过第二信号线获取灯具的数量或者灯具的UID码。但是第二信号线也可能存在通信异常的情况,因此,需要比较N’和N”综合判断灯具的DMX地址的设置情况,判断第一信号线和第二信号线是否存在通信异常。
其判断方式具体为:
(1)若N’= N”,则判断为N台灯具的DMX地址全部成功设置;
(2)若N’> N”,则判断为存在灯具不能通过第二信号线与控制器通信;
(3)若N’< N”,则判断为N台灯具的DMX地址未全部成功设置。
在本实施例中,所述方法还包括以下步骤:
当N’> N”时,比较控制器通过第二信号线接收到的UID码和控制器通过第一信号线接收到的UID码,确定不能通过第二信号线与控制器通信的灯具的UID码。
当N’> N”时,表明第二信号线在若干台灯具与控制器之间存在通信异常,使得通过第二信号线所统计获知的灯具数量N”比通过第一信号线所统计获知的灯具数量N’要少。如图4所示,连接在控制器与第3台灯具之间的第二信号线出现了通信异常,只有第1、2、4、5台灯具可以通过第二信号线将UID码发送到控制器,N”应为4,而第一信号线不存在通信异常,N’应为5,此时N’> N”,对比控制器通过两组信号线所获得的灯具UID码,可以确定在第二信号线上与控制器出现通信异常的第3台灯具对应的UID码。
在本实施例中,所述方法还包括以下步骤:
当N’< N”时,比较控制器通过第二信号线接收到的UID码和控制器通过第一信号线接收到的UID码,确定未成功设置DMX地址的灯具的UID码。
当N’< N”时,表明第一信号线在某两台灯具之间存在通信异常,使得通过第一信号线所统计获知的灯具数量N’比通过第二信号线所统计获知的灯具数量N”要少。第一信号线在某两台灯具之间存在通信异常,则通信异常位置之后的灯具都不能成功设置DMX地址。如图5所示,A(2,3)发生了通信异常,则第3、4、5台灯具都不能成功设置DMX地址,只有第1、2台灯具将UID码发送到控制器,N’应为2,而第二信号线不存在通信异常,N”应为5,此时N’< N”,对比控制器通过两组信号线所获得的灯具UID码,可以确定未成功设置DMX地址的第3、4、5台灯具的UID码。
在本实施例中,所述方法还包括以下步骤:
当确定未成功设置DMX地址的灯具的UID码后,控制器根据未成功设置DMX地址的灯具的UID码,通过第二信号线发送控制指令到未成功设置DMX地址的灯具,某个未成功设置DMX地址的灯具记为第j台灯具,j = 2, 3, ……, N;
第j台灯具接收到控制指令后,通过第二信号线发送查询指令到第j+1台灯具;
第j+1台灯具接收到查询指令后,通过第二信号线发送应答指令到第j台灯具;
根据第j台灯具是否接收到查询指令和应答指令,确定第j台灯具在所有未成功设置DMX地址的灯具中的相对连接位置。
所述根据第j台灯具是否接收到查询指令和应答指令,确定第j台灯具在所有未成功设置DMX地址的灯具中的相对连接位置,具体为:若第j台灯具只接收到应答指令,没有接收到查询指令,则第j台灯具在所有未成功设置DMX地址的灯具中的相对连接位置在最前端;若第j台灯具既接收到应答指令,又接收到查询指令,则第j台灯具在所有未成功设置DMX地址的灯具中的相对连接位置在中间;若第j台灯具只接收到查询指令,没有接收到应答指令,则第j台灯具在所有未成功设置DMX地址的灯具中的相对连接位置在最后端。
具体实施过程中,报告信息可以包括灯具的UID码,通过控制器接收到的报告信息,可以获知在所有未成功设置DMX地址的灯具中的相对连接位置在最前端的灯具对应的UID码。
如图5所示,A(2,3)发生了通信异常,第3、4、5台灯具都不能成功设置DMX地址,只有第1、2台灯具将UID码发送到控制器,如上所述,通过对比控制器通过两组信号线所获得的灯具UID码,确定了未成功设置DMX地址的第3、4、5台灯具这3台灯具的UID码后,并不知道哪个UID码对应的是第几台灯具,此时让控制器根据这3台灯具的UID码通过第二信号线分别发送控制指令到这3台灯具,这3台灯具接收到控制指令后,分别通过第二信号线发送查询指令到其后一台灯具,而接收到查询指令的灯具会发送应答指令到前一台灯具,也即第3台灯具发送查询指令到第4台灯具,第4台灯具接收到查询指令后发送应答指令到第3台灯具,第4台灯具发送查询指令到第5台灯具,第5台灯具接收到查询指令后发送应答指令到第4台灯具,第5台灯具也向后发送查询指令,但由于没有第6台灯具,所以第5台灯具不会接收到应答指令。由此,第3台灯具只接收到第4台灯具发送的应答指令,没有接收到其前一台灯具发送给它的查询指令,因此判断第3台灯具是在3个未成功设置DMX地址灯具中排在最前端的;第4台灯具既接收到第3台灯具发送的查询指令,又接收到第5台灯具发送的应答指令,因此判断第4台灯具是在3个未成功设置DMX地址灯具中排在中间的;第5台灯具只接收到第4台灯具发送的查询指令,没有接收到后一台灯具发送给它的应答指令,因此判断第5台灯具是在3个未成功设置DMX地址的灯具中排在最后端的。第3台灯具会通过第二信号线发送报告信息到控制器,向控制器报告自己是排在最前端的灯具。
通过上述方法可以确定未成功设置DMX地址的灯具的排列顺序,从而获知第一信号线出现通信异常的具体位置,以便操作人员及时对通信异常进行排除。
在本实施例中,所述方法还包括以下步骤:
查找所有未成功设置DMX地址的灯具中相对连接位置在最前端的灯具,所查找到的灯具记为第x台灯具,x = 2, 3, ……, N;
控制器根据通过第一信号线接收到的DMX地址计算第x台灯具的DMX地址,通过第二信号线发送第x台灯具的DMX地址到第x台灯具;
令i = x, x+1, ……, N-1,执行所述设置步骤;
若第i台灯具在发送DMX地址后的设定时间内没有接收到第i+1台灯具发送的反馈信号,则第x个至第i台灯具分别通过第一信号线发送各自的UID码和/或成功设置的DMX地址到第x台灯具,第x台灯具通过第二信号线将接收到的UID码和/或DMX地址转发到控制器。
所述查找所有未成功设置DMX地址的灯具中相对连接位置在最前端的灯具,可以具体为:若第j台灯具只接收到应答指令,没有接收到查询指令,则第j台灯具通过第二信号线发送报告信息到控制器。通过控制器接收到的报告信息,可以获知具体是哪台灯具在所有未成功设置DMX地址的灯具中相对连接位置在最前端。
] 当查找到所有未成功设置DMX地址的灯具中排在最前端的灯具后,可以结合第一信号线和第二信号线,继续对未成功设置DMX地址的灯具进行DMX地址的设置。
 如图5所示,当查找到所有未成功设置DMX的灯具中排在最前端的灯具为第3台灯具时,由于之前控制器通过第一信号线接收到了第1、2台灯具的DMX地址,根据第2台灯具的DMX地址14,加上第2台灯具所占的通道数4,即可得到第3台灯具的DMX地址18,此时执行以下步骤:
(1)控制器通过第二信号线发送DMX地址18到第3台灯具;
(2)第3台灯具在地址设置指令下将其DMX地址设置成18,并将其DMX地址18加上其所占通道数4得到一个新的DMX地址22,通过A(3,4)将DMX地址22发送到第4台灯具;
(3)第4台灯具在地址设置指令下将其DMX地址设置成22,并通过A(3,4)发送反馈信号到第3台灯具,表明已接收到第3台灯具发送的DMX地址22;
(4)第5台灯具也按上述步骤完成DMX地址的设置,最终之前未成功设置DMX地址的第3、4、5台灯具DMX地址已分别设置成18、22、26;
(5)由于只有5台灯具,没有第6台灯具,因此第5台灯具将DMX地址30发送出去后在设定时间内(例如50毫秒)是无法接收到下一台灯具发回来的反馈信号的,第5台灯具就会通过A(4,5)将计数信号和/或其UID码和/或其DMX地址发送到第4台灯具,第4台灯具再通过A(3,4)将第5台灯具的计数信号和/或UID码和/或DMX地址向前转发到第3台灯具,同理第4台灯具的计数信号和/或UID码和/或DMX地址也会发送到第3台灯具;
(6)由于A(2,3)是发生通信异常的,所以第3台灯具则会通过第二信号线将第3、4、5台灯具的计数信号和/或UID码和/或DMX地址转发到控制器;
(7)根据控制器接收到的计数信号和/或UID码和/或DMX地址,可以获知之前未成功设置DMX地址的灯具此时是否已成功设置。
在本实施例中,所述方法还包括以下步骤:
第i台灯具将其DMX地址设置为其接收到的DMX起始地址后,通过第一信号线发送反馈信号到控制器。
第一信号线也有可能在任一台起始设置的灯具与控制器之间存在通信异常,因此在该台起始设置的灯具成功设置DMX地址后也要发送反馈信号到控制器。如果控制器无法接收该台起始设置的灯具发送的反馈信号,则可以获知该台灯具与控制器之间存在通信异常,以便操作人员及时排除异常。
当灯具的DMX地址需要设置成特定的值,造成N个灯具的DMX地址需要不连续地设置时,可以通过RDM信号线将N个灯具分别与控制器连接。
如上所述,当执行完上述分配步骤、设置步骤、判断步骤后,根据控制器通过第一信号线接收到的DMX地址和UID码之间的对应关系可以获知灯具的连接顺序,根据所获知的灯具连接顺序,控制器可以通过RDM信号线直接发送DMX地址到灯具,灯具在RDM的地址设置指令下完成灯具DMX地址的设置。
如图6所示,编号1到5的灯具通过第一信号线依次串联连接、编号1的灯具通过第一信号线与控制器连接的同时,还通过RDM信号线与控制器依次并联连接。例如需要将编号为1的灯具DMX地址设置成20,编号为2的灯具DMX地址设置成1,编号为3、4、5的灯具DMX地址设置成30、34、38,在已知5台灯具的连接顺序后,就可以获知编号为1的灯具在第1台灯具处,编号为2的灯具在第2台灯具处,编号为3的灯具在第3台灯具处,编号为4的灯具在第4台灯具处,编号为5的灯具在第5台灯具处。
对于编号为1、2的灯具,控制器通过RDM信号线将第1台灯具的DMX地址设置成20,、将第2台灯具的DMX地址设置成1。
而对于编号为3、4、5的灯具,由于它们的DMX地址是连续的,所以既可以让控制器通过RDM信号线分别将第3、4、5台灯具的DMX地址设置为30、34、38,也可以控制器通过RDM信号线或者第二信号线将第3台灯具的DMX地址设置为30,第3台灯具将其DMX地址30加上4后得出一个新的DMX地址34,并将DMX地址34通过第一信号线发送到第4台灯具,第4台灯具接收到DMX地址34后将其DMX地址设置为34,将DMX地址34加上4后得出一个新的DMX地址38,并将DMX地址38发送到第5台灯具,第5台灯具接收到DMX地址38后将其DMX地址设置为38。
在具体实施过程中,所述RDM信号线为第二信号线,也即RDM信号线和第二信号线可以为同一组信号线。
在具体实施过程中,控制器与灯具之间的通信、灯具与灯具之间的通信采用485通信,所述第一信号线、第二信号线包含两条485通信总线。

Claims (10)

  1. 一种快速设置灯具DMX地址的方法,用于设置N台灯具的DMX地址,所述N台灯具通过第一信号线依次串联连接,N = 2, 3, ……,第1台灯具通过第一信号线连接有控制器,其特征在于,令i = 1, 2, ……, N-1,所述方法包括以下步骤:
    分配步骤:
    控制器通过第一信号线发送DMX地址到第i台灯具;
    设置步骤:
    第i台灯具将其DMX地址设置为其接收到的DMX地址,根据其接收到的DMX地址计算第i+1台灯具的DMX地址,并通过第一信号线发送第i+1台灯具的DMX地址到第i+1台灯具;
    第i+1台灯具将其DMX地址设置为其接收到的DMX地址,并通过第一信号线发送反馈信号到第i台灯具;
    判断步骤:
    若第i台灯具在发送DMX地址后的设定时间内没有接收到第i+1台灯具发送的反馈信号,则第1个至第i台灯具分别通过第一信号线发送计数信号和/或各自的UID码和/或各自成功设置的DMX地址到控制器。
  2. 根据权利要求1所述的一种快速设置灯具DMX地址的方法,其特征在于,所述控制器和N台灯具还通过第二信号线依次串联或并联连接,所述根据控制器通过第一信号线接收到的UID码和/或DMX地址判断灯具的DMX地址的设置情况,具体包括以下步骤:
    N台灯具分别通过第二信号线发送计数信号和/或各自的UID码到控制器;
    根据控制器通过第二信号线接收到的计数信号和/或UID码,获取灯具数量N’;
    根据控制器通过第一信号线接收到的计数信号和/或UID码和/或DMX地址,获取成功设置DMX地址的灯具数量N”;
    比较N’和N”,根据比较结果判断灯具的DMX地址的设置情况。
  3. 根据权利要求2所述的一种快速设置灯具DMX地址的方法,其特征在于,所述根据比较结果判断灯具的DMX地址的设置情况,具体包括:
    若N’= N”,则判断为N台灯具的DMX地址全部成功设置;
    若N’> N”,则判断为存在灯具不能通过第二信号线与控制器通信;
    若N’< N”,则判断为N台灯具的DMX地址未全部成功设置。
  4. 根据权利要求2或3所述的一种快速设置灯具DMX地址的方法,其特征在于,还包括以下步骤:
    当N’> N”时,比较控制器通过第二信号线接收到的UID码和控制器通过第一信号线接收到的UID码,确定不能通过第二信号线与控制器通信的灯具的UID码。
  5. 根据权利要求2或3所述的一种快速设置灯具DMX地址的方法,其特征在于,还包括以下步骤:
    当N’< N”时,比较控制器通过第二信号线接收到的UID码和控制器通过第一信号线接收到的UID码,确定未成功设置DMX地址的灯具的UID码。
  6. 根据权利要求5所述的一种快速设置灯具DMX地址的方法,其特征在于,还包括以下步骤:
    当确定未成功设置DMX地址的灯具的UID码后,控制器根据未成功设置DMX地址的灯具的UID码,通过第二信号线发送控制指令到未成功设置DMX地址的灯具,某个未成功设置DMX地址的灯具记为第j台灯具,j = 2, 3, ……, N;
    第j台灯具接收到控制指令后,通过第二信号线发送查询指令到第j+1台灯具;
    第j+1台灯具接收到查询指令后,通过第二信号线发送应答指令到第j台灯具;
    根据第j台灯具是否接收到查询指令和应答指令,确定第j台灯具在所有未成功设置DMX地址的灯具中的相对连接位置。
  7. 根据权利要求6所述的一种快速设置灯具DMX地址的方法,其特征在于,还包括以下步骤:
    查找到所有未成功设置DMX地址的灯具中相对连接位置在最前端的灯具,所查找到的灯具记为第x台灯具,x = 2, 3, ……, N;
    控制器根据通过第一信号线接收到的DMX地址计算第x台灯具的DMX地址,通过第二信号线发送第x台灯具的DMX地址到第x台灯具;
    令i = x, x+1, ……, N-1,执行所述设置步骤;
    若第i台灯具在发送DMX地址后的设定时间内没有接收到第i+1台灯具发送的反馈信号,则第x个至第i台灯具分别通过第一信号线发送各自的UID码和/或成功设置的DMX地址到第x台灯具,第x台灯具通过第二信号线将接收到的UID码和/或DMX地址转发到控制器。
  8. 根据权利要求1所述的一种快速设置灯具DMX地址的方法,其特征在于,还包括以下步骤:
    第i台灯具将其DMX地址设置为其接收到的DMX起始地址后,通过第一信号线发送反馈信号到控制器。
  9. 根据权利要求1至3、6至8任一项所述的一种快速设置灯具DMX地址的方法,其特征在于,所述灯具还通过RDM信号线分别与控制器连接,还包括以下步骤:
    根据控制器通过第一信号线接收到的UID码和DMX地址之间的对应关系,获知连接顺序;
    根据所述连接顺序,控制器通过RDM信号线分别向灯具发送DMX地址;
    灯具将其DMX地址设置为通过RDM信号线接收到的DMX地址。
  10. 根据权利要求9所述的一种快速设置灯具DMX地址的方法,其特征在于,所述RDM信号线为第二信号线。
PCT/CN2020/072096 2019-04-29 2020-01-14 一种快速设置灯具 dmx 地址的方法 WO2020220762A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20798000.4A EP3965535B1 (en) 2019-04-29 2020-01-14 Method for quickly setting dmx addresses of lamps
US17/219,152 US11711881B2 (en) 2019-04-29 2021-03-31 Method of quickly setting DMX address of light fixture

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910355562.0 2019-04-29
CN201910355562.0A CN110072322B (zh) 2019-04-29 2019-04-29 一种快速设置灯具dmx地址的方法

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/219,152 Continuation US11711881B2 (en) 2019-04-29 2021-03-31 Method of quickly setting DMX address of light fixture

Publications (1)

Publication Number Publication Date
WO2020220762A1 true WO2020220762A1 (zh) 2020-11-05

Family

ID=67369447

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/072096 WO2020220762A1 (zh) 2019-04-29 2020-01-14 一种快速设置灯具 dmx 地址的方法

Country Status (5)

Country Link
US (1) US11711881B2 (zh)
EP (1) EP3965535B1 (zh)
CN (1) CN110072322B (zh)
HU (1) HUE064998T2 (zh)
WO (1) WO2020220762A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222404A (zh) * 2021-12-21 2022-03-22 佛山市银河兰晶科技股份有限公司 一种灯具dmx地址设置系统及方法

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072322B (zh) 2019-04-29 2020-11-13 广州市浩洋电子股份有限公司 一种快速设置灯具dmx地址的方法
CN111654962B (zh) * 2020-08-06 2020-11-17 杭州罗莱迪思科技股份有限公司 一种远程智能设备的自动配置方法
CN115297089B (zh) * 2022-08-01 2024-02-27 宁波赛耐比光电科技有限公司 一种全自动地址分配系统及方法
CN117217254B (zh) * 2023-11-08 2024-04-23 深圳市千岩科技有限公司 数量确定方法、装置、系统、照明结构及存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031173A (zh) * 2006-02-27 2007-09-05 胡淑梅 一种远程设定dmx地址的灯光及其控制系统
CN101699923A (zh) * 2009-11-11 2010-04-28 广州中大中鸣科技有限公司 一种基于dmx512协议的灯光控制系统及方法
CN104853503A (zh) * 2015-05-28 2015-08-19 广州市珠江灯光科技有限公司 灯具工作状态数据的收集系统和灯具控制系统
JP5789727B1 (ja) * 2014-04-09 2015-10-07 スターデココリア カンパニー リミテッド ハイブリッド制御方式を利用したled舞台照明システムの照度制御装置
CN105282904A (zh) * 2014-06-25 2016-01-27 欧普照明股份有限公司 一种基于dmx512协议的控制系统及其控制方法
CN108429664A (zh) * 2018-03-16 2018-08-21 莱昊(上海)光电科技有限公司 地址设定信息处理方法、灯具及灯具地址设定方法
CN207884933U (zh) * 2017-12-29 2018-09-18 广州市雅江光电设备有限公司 条形灯动态dmx地址码分配系统
CN110072322A (zh) * 2019-04-29 2019-07-30 广州市浩洋电子股份有限公司 一种快速设置灯具dmx地址的方法

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7202613B2 (en) * 2001-05-30 2007-04-10 Color Kinetics Incorporated Controlled lighting methods and apparatus
CN101404839A (zh) * 2008-05-16 2009-04-08 上海大峡谷光电科技有限公司 增加辅助配置通道的增强型dmx512灯光控制系统
US9040896B2 (en) * 2011-07-01 2015-05-26 James Albert Walker Optoelectronic-device wafer probe and method therefor
CN202118637U (zh) * 2011-07-05 2012-01-18 姚乐 一种新型led灯
CN105376916B (zh) * 2015-12-17 2018-05-11 广州市雅江光电设备有限公司 一种基于dmx512控台配置灯具设备rdm功能的方法
CN107529263B (zh) 2017-09-07 2019-04-05 广州市雅江光电设备有限公司 一种基于灯具控制系统的灯具地址配置方法与装置
CN109041352B (zh) * 2018-09-12 2020-08-18 广州市雅江光电设备有限公司 一种基于dmx协议配置灯具控制方法及系统

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101031173A (zh) * 2006-02-27 2007-09-05 胡淑梅 一种远程设定dmx地址的灯光及其控制系统
CN101699923A (zh) * 2009-11-11 2010-04-28 广州中大中鸣科技有限公司 一种基于dmx512协议的灯光控制系统及方法
JP5789727B1 (ja) * 2014-04-09 2015-10-07 スターデココリア カンパニー リミテッド ハイブリッド制御方式を利用したled舞台照明システムの照度制御装置
CN105282904A (zh) * 2014-06-25 2016-01-27 欧普照明股份有限公司 一种基于dmx512协议的控制系统及其控制方法
CN104853503A (zh) * 2015-05-28 2015-08-19 广州市珠江灯光科技有限公司 灯具工作状态数据的收集系统和灯具控制系统
CN207884933U (zh) * 2017-12-29 2018-09-18 广州市雅江光电设备有限公司 条形灯动态dmx地址码分配系统
CN108429664A (zh) * 2018-03-16 2018-08-21 莱昊(上海)光电科技有限公司 地址设定信息处理方法、灯具及灯具地址设定方法
CN110072322A (zh) * 2019-04-29 2019-07-30 广州市浩洋电子股份有限公司 一种快速设置灯具dmx地址的方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222404A (zh) * 2021-12-21 2022-03-22 佛山市银河兰晶科技股份有限公司 一种灯具dmx地址设置系统及方法

Also Published As

Publication number Publication date
EP3965535A4 (en) 2022-08-10
HUE064998T2 (hu) 2024-04-28
CN110072322A (zh) 2019-07-30
EP3965535A1 (en) 2022-03-09
CN110072322B (zh) 2020-11-13
EP3965535C0 (en) 2023-11-08
US20210219405A1 (en) 2021-07-15
EP3965535B1 (en) 2023-11-08
US11711881B2 (en) 2023-07-25

Similar Documents

Publication Publication Date Title
WO2020220762A1 (zh) 一种快速设置灯具 dmx 地址的方法
US7259528B2 (en) Data converter for a lighting system, and method for operating a lighting system
CN101112126B (zh) 分布式智能镇流器系统和扩展的照明控制协议
US8319452B1 (en) Dimming protocol detection for a light fixture
CN105101530B (zh) 以同步于ac电源频率为基础的调控系统与调控方法
WO2019184564A1 (zh) 多联式控制系统的地址竞争方法
CN104938034B (zh) 控制照明系统的方法和照明系统
US8326441B2 (en) Control system for a plurality of consumers arranged in a distributed manner, in particular for lamp operating devices, and methods for putting into operation
RU2006113926A (ru) Система управления для нескольких расположенных распределенно приборов управления лампами, а также способ для инициализации подобной системы управления
US20230354497A1 (en) Improved load control on wired and wireless communication links
CN204031506U (zh) 一种用于灯具控制设备的信号转换器
CN113273141B (zh) 可由控制设备配置的照明控制系统
JP2008513935A (ja) 照明器具網制御システムおよび制御方法
US9507355B2 (en) Addressing method for a lighting means
JPH11328588A (ja) 発光システム
KR101447259B1 (ko) 프로그래밍스위치의 바인딩시스템 및 방법
CN115297089B (zh) 一种全自动地址分配系统及方法
CN118101619A (zh) 景观led分控器级联方法、装置和系统
WO2024096346A1 (ko) 가시광 통신을 이용한 조명등의 어드레스 설정시스템
KR20130063847A (ko) 디엠엑스 기반 조명 제어 장치 및 이를 이용한 방법
JP2013125634A (ja) 調光器及び調光システム
JP7325009B2 (ja) 照明システム及び制御装置
CN102510599A (zh) 切换系统及设备系统
KR20070077630A (ko) 공기조화시스템 및 그 동작 방법
WO2014136244A1 (ja) 制御システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20798000

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020798000

Country of ref document: EP

Effective date: 20211129