WO2014012194A1 - Lighting control system with no address- setting requirement - Google Patents

Lighting control system with no address- setting requirement Download PDF

Info

Publication number
WO2014012194A1
WO2014012194A1 PCT/CN2012/001229 CN2012001229W WO2014012194A1 WO 2014012194 A1 WO2014012194 A1 WO 2014012194A1 CN 2012001229 W CN2012001229 W CN 2012001229W WO 2014012194 A1 WO2014012194 A1 WO 2014012194A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface circuit
dmx
control
channel
control system
Prior art date
Application number
PCT/CN2012/001229
Other languages
French (fr)
Chinese (zh)
Inventor
黄如金
Original Assignee
Huang Rujin
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 Huang Rujin filed Critical Huang Rujin
Publication of WO2014012194A1 publication Critical patent/WO2014012194A1/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

Definitions

  • the present invention generally relates to a lighting control system, and more particularly to a lighting control system using the DMX-512.
  • Halo technology The lighting control system is one of the most important equipments in the modern song stage. It is used to change the different brightness of different colors and different projection points to create different atmospheres and scenes for the stage performance and increase the performance.
  • a DMX-512 lighting control system includes a DMX controller, a cable, and several fixtures.
  • the cable is used to connect the DMX controller and the luminaire, and is used to transmit the control signal of the DMX controller.
  • the control commands of the DMX controller adjust the color, switch, and brightness of each fixture.
  • each luminaire has a specific address to identify the correspondence between the control commands and the luminaires being controlled. For example, a digital lighting control system with video input disclosed in Chinese Patent No.
  • CN1571611 and a remotely set DMX address light and control system thereof disclosed in CN101031173.
  • Each luminaire needs to be assigned a different address, which brings inconvenience to the engineering installation.
  • the setting of the luminaire address and the memory hardware increase the cost of the luminaire.
  • the invention provides a lighting control system without an address setting, comprising a DMX controller, a cable, and a plurality of lamps, the cable connecting the DMX controller and the lamp in series.
  • the control signal end of the luminaire is provided with an automatic acquisition DMX channel data module connected to the cable.
  • the automatically acquiring the DMX communication data module includes an MCU control unit, and a first interface circuit and a second interface circuit respectively connected to the MCU control unit, and the first interface circuit and the second interface circuit are respectively connected to the cable.
  • the first interface circuit and the second interface circuit are identified and respectively set as the input end or the output end.
  • the MCU control unit receives the control signal transmitted by the DMX controller from the input end, and executes one of the control commands to adjust the corresponding luminaire of the channel.
  • the MCU control unit automatically regenerates the DMX channel data module of the luminaires that are regenerated by the Hans and transmitted to the next channel.
  • the total interrupt is turned off, the first interface circuit is set as an input end, and the second interface circuit is set to wake up as an output end, and the total is disconnected.
  • the input input terminal is set to be hidden; otherwise, the total interrupt is turned off, the second interface circuit is set as the input end, and the first interface circuit is set as the output end, and the total is disconnected, the first
  • the input and output settings are completed.
  • the MCU control unit executes one of the control commands to adjust the corresponding luminaire of the channel
  • the DMX receiving preparation flag is set, and then the control instruction of the channel is stored in the receiving register, and the control of the channel is performed after the DMX reception is completed.
  • the command adjusts the luminaire corresponding to this channel.
  • the MCU control unit regenerates the control command
  • the DMX start flag is used to distinguish the control command of the channel and other group control commands that need to be regenerated, and if so, it is regenerated as another group control command and is supplemented from the output; if no DMX starts The flag re-determines whether the control instruction of this channel, executes the control instruction of this channel, or regenerates and outputs it as another group control instruction.
  • the method of determining whether the control command of the channel is the comparison of the identification code of the control command with the statistical number of the counter, if the control command is a statistical number, the control command that should be executed is stricter than the control command of the channel.
  • the lighting control system increments the counter by 1 for each control command of the first-level luminaire.
  • the statistic number of the counter is N. If the identification code of the control command is N+1, it is better than the channel.
  • the control instruction is 9-bit DMX data.
  • the first interface circuit and the second interface circuit are 485 serial ports.
  • the lighting control system of the invention is connected in series for each stage, and the automatic acquisition of the DMX channel data piece of each level of the lamp includes two interface circuits (the first interface circuit and the second interface circuit), wherein one interface circuit is the input end of the control instruction Another interface circuit is the output of the control command.
  • each level of luminaire regenerates the control command, and the stable voltage obtained by the control command during transmission is not affected by the length of the transmission cable.
  • the control signal input end and the output end of each level of the lamp of the lighting control system of the invention are automatically set by the MCU control unit, which is very convenient to use, and the connector of the cable can be randomly inserted by using a unified connector.
  • Each level of the luminaire of the lighting control system of the present invention captures the control commands ordered in the forefront as the control commands of the wanted, and regenerates the other group control commands. Therefore, it is not necessary to set the address for each level of lamps, which reduces the manufacturing cost of the lamps and provides great convenience for engineering installation.
  • FIG. 1 is a schematic diagram of a circuit for automatically acquiring a DMX channel data module according to the present invention
  • FIG. 2 is a flowchart of an operation for automatically acquiring a DMX communication data module according to the present invention
  • Group 3 is provided for an input end and an output end of the present invention.
  • FIG. 4 is a flow chart of the control command receiving process and rebirth of the present invention. Wherein, Y represents yes (yes) and N represents no (no).
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The technical solutions of the present invention will be further described below with reference to the accompanying drawings and preferred embodiments, and are not to be construed as limiting the scope of the present invention.
  • the address-based lighting control system includes a DMX controller, a cable, and a number of luminaires that connect the DMX controller and the luminaire in series.
  • the control signal end of the luminaire is provided with an automatic acquisition DM channel data module connected to the cable.
  • the automatic acquisition DMX channel data block as shown in FIG. 1, includes an MCU control unit, and a first interface circuit and a second interface circuit respectively connected to the MCU control unit, and the first interface circuit and the second interface circuit respectively Said cable connection.
  • the first interface circuit and the second interface circuit are both 485 serial ports.
  • a and B are the two data lines in the cable, and GND is the ground wire in the cable.
  • the MCU control unit is additionally connected to the luminaires of the present.
  • the first interface circuit and the second interface circuit are identified and respectively set as an input end or an output end.
  • the MCU control unit receives the control signal transmitted by the DMX controller from the input end, and executes one of the control commands to adjust the corresponding luminaire of the channel.
  • the MCU control unit automatically regenerates the DMX channel data block of the luminaire of the next channel by regenerating the other group control commands of the control signal through the output.
  • the working flow chart of automatically acquiring the DMX communication data module is as shown in FIG. 2: after the DMX channel data module is automatically obtained, the MCU control unit is initialized, and the transmission direction of the DMX interface is configured (the first interface circuit and the second interface circuit are respectively set.
  • step S203 an appropriate time delay is made.
  • step S307 it is judged whether the control command is the channel control command, and if yes, the process goes to step S309, otherwise, the process goes to step S312.
  • step S309 it is determined whether the DMX reception preparation flag has been clamped, and if yes, the process proceeds to step S311, and if not, the process proceeds to step S316 to end the flow.
  • step S310 the received control command is sent to the next level to realize the regeneration of the control command, and then proceeds to step S316 to end the flow.
  • step S311 the control command is stored in the reception register, and then proceeds to step S313.
  • step S312 the received control command is transmitted to the next stage, and then proceeds to step S315.
  • step S313 it is determined whether the channel control command is received or not, and if so, the process proceeds to step S314, and if not, the process proceeds to S315.
  • step S314 the luminaire DMX receives the completion flag hiding, clears the DMX reception preparation flag, and proceeds to step S315.
  • step S315 receives the count (ScomRcvCnt ++ ), and then proceeds to step S316 to end the flow. The flow ends with step S316.

Landscapes

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

Abstract

A lighting control system is disclosed, in particular a lighting control system using DMX-512, comprising a DMX controller, a cable and a plurality of lamps; the cable is used to connect the DMX controller and the lamps in series. Control signal terminals of the lamps are provided with automatic DMX channel data acquisition modules connected to the cable. The automatic DMX channel data acquisition module comprises an MCU control unit, and a first interface circuit and a second interface circuit which are separately connected with the MCU control unit; said first interface circuit and second interface circuits are separately connected with the cable. The lighting control system is not required to set addresses for the lamps of each level, and control commands are regenerated by the lamps of each level and are not restrained by the length of the transmission cable.

Description

一种无霱设隱地址的灯光控制*** 技术领域 本发明涉及一种灯光控制***,尤其涉及一种应用 DMX-512的灯光控制***。 背暈技术 灯光控制***为现代歌舞台不可缺少的重要设备之一,用于变化各色灯光的不同明 亮度以及不同的投射点为舞台表演制造不同的气氛与情景,增加表现效果。  BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention generally relates to a lighting control system, and more particularly to a lighting control system using the DMX-512. Halo technology The lighting control system is one of the most important equipments in the modern song stage. It is used to change the different brightness of different colors and different projection points to create different atmospheres and scenes for the stage performance and increase the performance.
DMX-512自 1986年制定以来,成为灯光照明业界最常采用的标准接口。一般而言 , 一套 DMX-512灯光控制***包括一 DMX控制器、一缆线、 以及若干灯具。 其中,缆线 用于连接 DMX控制器和灯具,且用于传递 DMX控制器的控制信号。 DMX控制器的控 制指令调整各灯具的颜色、开关、 亮度。现有技术应用 DMX-512的灯光控制***中,每 个灯具具有一特定地址,以识别控制指令与所控制的灯具之间的对应关系。 例如, CN1571611 号中国专利所公开的一种具有视讯輸入的数字灯光控制*** , 以及 CN101031173号所公开的一种远程设定 DMX地址的灯光及其控制***。 每个灯具需要设匿不同的地址,给工程安装带来不便,灯具地址的设置和记忆硬件 增加了灯具的成本。当 DMX-512总线上灯具过多,或炬离过远时,需要设置中继放大器 将控制信号放大。 发明内容 针对现有技术中存在的问题,本发明的目的在于提供一种无需为灯具设置 DMX地 址的灯光控制***。 为了实现上述目的,本发明提供如下技术方案: 本发明一种无需设置地址的灯光控制***,包括一 DMX控制器、 一缆线、 以及若 干灯具,缆线将 DMX控制器和灯具串接。 所述灯具的控制信号端设有与缆线连接的自 动获取 DMX通道数据模块。 所述自动获取 DMX通遒数据模块,包括 MCU控制单元、 以及分别与 MCU控制单元连接的第一接口电路和第二接口电路 ,第一接口电路和第二 接口电路分别与所述缆线连接。 优选地,所述 MCU控制单元初始化后,识别并分别将第一接口电路和第二接口电 路设匿为铕入端或输出端。 MCU控制单元从输入端接收 DMX控制器传输的控制信号, 执行其中一组控制指令调节本通道对应的灯具。 MCU控制单元将控制信号的其他组控制 指令通过翰出端重生并传输至下一通道的灯具的自动获取 DMX通道数据模块。 优选地,所述 MCU控制单元初始化后,总中断关,第一接口电路设釅为输入端,第二 接口电路设醒为输出端,总中断开。 如果第一接口电路接收到有效数据,则完成输入糠 出端设匿;否则,总中断关,第二接口电路设置为输入端,第一接口电路设霾为输出端, 总中断开,第二接口电路接收到有效数据,则完成输入输出端设置。 通过逻辑的排他方 法设匿输入端和输出端,必然能够准桷的设■成功。 优选地, MCU控制单元执行其中一组控制指令调节本通道对应的灯具时,将 DMX 接收准备标志置位,然后将本通道的控制指令存储在接收寄存器中,DMX接收完成后执 行本通道的控制指令调节本通道对应的灯具。 优选地, MCU控制单元重生控制指令时,首先以 DMX开始标志区分本通道的控制 指令和需要重生的其他组控制指令,若是则作为其他组控制指令重生并从输出端辅出; 若无 DMX开始标志则重新判别是否本通道的控制指令,执行本通道的控制指令 ,或者 作为其他组控制指令重生并输出。 优选地,判别是否本通道的控制指令的方法是将该控制指令的识别码与计数器的统 计数目作比较,若该控制指令为统计数目应当执行的控制指令则厲于本通道的控制指令。 灯光控制***每执行一级灯具的控制指令就通过计数器加 1 '当执行完第 N级灯具时计 数器的统计数目为 N,若该控制指令的识别码为 N+1 ,则厲于本通道的控制指令。 优选地,所述控制指令为 9位的 DMX数据。 优选地,所述第一接口电路和第二接口电路为 485串口电路。 本发明灯光控制***每级的灯具串接,每级灯具的自动获取 DMX通道数据棋块包 括两个接口电路(第一接口电路和第二接口电路),其中一个接口电路为控制指令的输入 端,另外一个接口电路为控制指令的输出端。 因此,每级灯具都对控制指令进行重生, 控制指令在传输过程中获得的稳定的电压并不会受传输缆线长度的影响。 本发明灯光控制***的每级灯具的控制信号输入端和输出端由 MCU控制单元自动 设霾,使用十分方便,缆线的接头可以使用统一的连接器随意插接。 本发明灯光控制***的每级灯具捕捉排序在前列的控制指令作为本通遒的控制指 令,并将其他组控制指令重生输出。 因此无需为每级灯具设霾地址,降低了灯具的制造 成本,为工程安装带来极大的方便。 阱图说明 图 1为本发明的自动获取 DMX通道数据模块的电路示意图; 图 2为本发明的自动获取 DMX通遒数据模块的工作流程图; 團 3为本发明的输入端、 输出端设置的工作流程圉; 图 4为本发明的控制指令接收处理、 重生的工作流程图。 其中, Y表示 yes (是) N表示 no (否) b 具体实施方式 下面结合附图及优选实施例对本发明技术方案进行进一步说明,不视为对本发明保 护范围的限制: 本发明一种无需设匿地址的灯光控制***,包括一 DMX控制器、 一缆线、 以及若 干灯具,缆线将 DMX控制器和灯具串接。 所述灯具的控制信号端设有与缆线连接的自 动获取 DM 通道数据模块。 所述自动获取 DMX通道数据棋块如圉 1所示,包括 MCU控制单元、 以及分别与 MCU控制单元连接的第一接口电路和第二接口电路,第一接口电路和第二接口电路分别 与所述缆线连接。 所述第一接口电路和第二接口电路均为 485串口电路。 其中 A、 B为 缆线中的两根数据线, GND为缆线中的接地线。 MCU控制单元还另外与本通通的灯具 连接。 所述 CU控制单元初始化后,识别并分别将第一接口电路和第二接口电路设置为 输入端或输出端。 MCU控制单元从输入端接收 DMX控制器传输的控制信号,执行其中 一组控制指令调节本通道对应的灯具。 MCU控制单元将控制信号的其他组控制指令通过 输出端重生并传输至下一通道的灯具的自动获取 DMX通道数据棋块。自动获取 DMX通 遒数据模块的工作流程图如图 2所示:自动获取 DMX通道数据模块上电后, MCU控制 单元初始化,配置 DMX接口传输方向(将第一接口电路和第二接口电路分别设置为输 入端和输出端),然后执行控制指令调节本通道的灯具,根据接口中断和中断返回的信号 将其他组控制指令在输出端重生。 其中, £置 DMX接口传输方向和执行控制指令调节 本通道的灯具不成功吋,程序返回并进入死循环。 配匿 DMX接口传输方向时使用逻辑拂他的方法。 输入端、 输出端设匿的工作流程 图如图 3所示。 该流程开始于步骤 S201。 然后,在步骤 S202,总中断关( EA=0 ),第一 接口电路( DmxBusl )设匿为输入端,第二接口电路( DmxBus2 )设匿为输出端,总中 断开 ( EA=1 jb在步骤 S203 ,作适当的时阆延迟。在步灘 S205 ,检測第一接口 ¾路是否 接收到有效数据(包括控制指令),若是则完成输入输出端设置进入步骤 S208结束流程; 若否则进入步骤 S204 ,总中断关( EA=0 ),第一接口电路 ( DmxBusl )设霾为输出端, 第二接口电路 ( DmxBus2 )设囊为输入端,总中断开( EA=1 ),在步骤 S206作适当的时 间延迟。在步骤 S207 ,若第二接口电路接收到有效数据,则完成输入输出鳙设匿,进入 步骤 S208结束流程;若否则返回步骤 S202。 在每级灯具中,控制指令接收处理、 重生的工作流程圉如图 4所示。 流程开始于步 骤 S301。 然后,在步骤 S302,判断是否接收中断信号 (RI=1),若是则进入步骤 S304,若否则进 入步骤 S303。 在步骤 S303 ,判断是否发送中断信号( TI=1 ),若是在进入步骤 S305,若否则进入 步骤 S315。 在步骤 S304,清除 RI值后进入步骤 S306。 在步骤 S305,清除 TI值后迸入步骤 S315. 在步骤 S306,判断 DMX开始标志,若是则进入步骤 S308,若否则进入步骤 S307。 在步骤 S307 ,判断控制指令是否本通道控制指令,若是则进入步骤 S309 ,若否则进 入步骤 S312。 在步骤 S308,清除输入端接收计数( ScomRcvCnt = 0 ) ,并将 DMX接收准备标志置 位( DmxRcvReady = True ) ,然后进入步骤 S310。 在步骤 S309 ,判断 DMX接收准备标志是否已鱖位,若是则进入步骤 S311 ,若否则 进入步骤 S316结束流程。 在步骤 S310 ,将接收的控制指令向下一级发送,实现控制指令的重生,然后进入步 骤 S316结束流程。 在步骤 S311 ,将控制指令存储在接收寄存器中,然后进入步骤 S313。 在步骤 S312,将接收的控制指令向下一级发送,然后进入步骤 S315。 在步骤 S313,判断本通道控制指令是否接收完成 ,若是则进入步骤 S314 ,若否则进 入 S315。 在步骤 S314 ,本灯具 DMX接收完成标志匿位,清除 DMX接收准备标志,然后进 入步骤 S315。 在步骤 S315 ,输入端接收计数( ScomRcvCnt ++ ) ,然后进入步骤 S316结束流程。 流程结束与步骤 S316。 Since its inception in 1986, DMX-512 has become the most commonly used standard interface in the lighting industry. In general, a DMX-512 lighting control system includes a DMX controller, a cable, and several fixtures. Among them, the cable is used to connect the DMX controller and the luminaire, and is used to transmit the control signal of the DMX controller. The control commands of the DMX controller adjust the color, switch, and brightness of each fixture. In the prior art application of the DMX-512 lighting control system, each luminaire has a specific address to identify the correspondence between the control commands and the luminaires being controlled. For example, a digital lighting control system with video input disclosed in Chinese Patent No. CN1571611, and a remotely set DMX address light and control system thereof disclosed in CN101031173. Each luminaire needs to be assigned a different address, which brings inconvenience to the engineering installation. The setting of the luminaire address and the memory hardware increase the cost of the luminaire. When there are too many luminaires on the DMX-512 bus, or when the torch is too far away, you need to set up a relay amplifier to amplify the control signal. SUMMARY OF THE INVENTION In view of the problems in the prior art, it is an object of the present invention to provide a lighting control system that does not require a DMX address for the luminaire. In order to achieve the above object, the present invention provides the following technical solutions: The invention provides a lighting control system without an address setting, comprising a DMX controller, a cable, and a plurality of lamps, the cable connecting the DMX controller and the lamp in series. The control signal end of the luminaire is provided with an automatic acquisition DMX channel data module connected to the cable. The automatically acquiring the DMX communication data module includes an MCU control unit, and a first interface circuit and a second interface circuit respectively connected to the MCU control unit, and the first interface circuit and the second interface circuit are respectively connected to the cable. Preferably, after the MCU control unit is initialized, the first interface circuit and the second interface circuit are identified and respectively set as the input end or the output end. The MCU control unit receives the control signal transmitted by the DMX controller from the input end, and executes one of the control commands to adjust the corresponding luminaire of the channel. The MCU control unit automatically regenerates the DMX channel data module of the luminaires that are regenerated by the Hans and transmitted to the next channel. Preferably, after the MCU control unit is initialized, the total interrupt is turned off, the first interface circuit is set as an input end, and the second interface circuit is set to wake up as an output end, and the total is disconnected. If the first interface circuit receives the valid data, the input input terminal is set to be hidden; otherwise, the total interrupt is turned off, the second interface circuit is set as the input end, and the first interface circuit is set as the output end, and the total is disconnected, the first When the two interface circuits receive valid data, the input and output settings are completed. By concealing the input and output through a logical exclusive method, it is inevitable that the setting can be successful. Preferably, when the MCU control unit executes one of the control commands to adjust the corresponding luminaire of the channel, the DMX receiving preparation flag is set, and then the control instruction of the channel is stored in the receiving register, and the control of the channel is performed after the DMX reception is completed. The command adjusts the luminaire corresponding to this channel. Preferably, when the MCU control unit regenerates the control command, firstly, the DMX start flag is used to distinguish the control command of the channel and other group control commands that need to be regenerated, and if so, it is regenerated as another group control command and is supplemented from the output; if no DMX starts The flag re-determines whether the control instruction of this channel, executes the control instruction of this channel, or regenerates and outputs it as another group control instruction. Preferably, the method of determining whether the control command of the channel is the comparison of the identification code of the control command with the statistical number of the counter, if the control command is a statistical number, the control command that should be executed is stricter than the control command of the channel. The lighting control system increments the counter by 1 for each control command of the first-level luminaire. When the N-th luminaire is executed, the statistic number of the counter is N. If the identification code of the control command is N+1, it is better than the channel. Control instruction. Preferably, the control instruction is 9-bit DMX data. Preferably, the first interface circuit and the second interface circuit are 485 serial ports. The lighting control system of the invention is connected in series for each stage, and the automatic acquisition of the DMX channel data piece of each level of the lamp includes two interface circuits (the first interface circuit and the second interface circuit), wherein one interface circuit is the input end of the control instruction Another interface circuit is the output of the control command. Therefore, each level of luminaire regenerates the control command, and the stable voltage obtained by the control command during transmission is not affected by the length of the transmission cable. The control signal input end and the output end of each level of the lamp of the lighting control system of the invention are automatically set by the MCU control unit, which is very convenient to use, and the connector of the cable can be randomly inserted by using a unified connector. Each level of the luminaire of the lighting control system of the present invention captures the control commands ordered in the forefront as the control commands of the wanted, and regenerates the other group control commands. Therefore, it is not necessary to set the address for each level of lamps, which reduces the manufacturing cost of the lamps and provides great convenience for engineering installation. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a circuit for automatically acquiring a DMX channel data module according to the present invention; FIG. 2 is a flowchart of an operation for automatically acquiring a DMX communication data module according to the present invention; Group 3 is provided for an input end and an output end of the present invention. Workflow圉; FIG. 4 is a flow chart of the control command receiving process and rebirth of the present invention. Wherein, Y represents yes (yes) and N represents no (no). DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The technical solutions of the present invention will be further described below with reference to the accompanying drawings and preferred embodiments, and are not to be construed as limiting the scope of the present invention. The address-based lighting control system includes a DMX controller, a cable, and a number of luminaires that connect the DMX controller and the luminaire in series. The control signal end of the luminaire is provided with an automatic acquisition DM channel data module connected to the cable. The automatic acquisition DMX channel data block, as shown in FIG. 1, includes an MCU control unit, and a first interface circuit and a second interface circuit respectively connected to the MCU control unit, and the first interface circuit and the second interface circuit respectively Said cable connection. The first interface circuit and the second interface circuit are both 485 serial ports. A and B are the two data lines in the cable, and GND is the ground wire in the cable. The MCU control unit is additionally connected to the luminaires of the present. After the CU control unit is initialized, the first interface circuit and the second interface circuit are identified and respectively set as an input end or an output end. The MCU control unit receives the control signal transmitted by the DMX controller from the input end, and executes one of the control commands to adjust the corresponding luminaire of the channel. The MCU control unit automatically regenerates the DMX channel data block of the luminaire of the next channel by regenerating the other group control commands of the control signal through the output. The working flow chart of automatically acquiring the DMX communication data module is as shown in FIG. 2: after the DMX channel data module is automatically obtained, the MCU control unit is initialized, and the transmission direction of the DMX interface is configured (the first interface circuit and the second interface circuit are respectively set. For the input and output), then execute the control command to adjust the luminaire of this channel, and regenerate the other group control commands at the output according to the interface interrupt and the signal returned by the interrupt. Among them, the setting of the DMX interface transmission direction and the execution of the control command to adjust the lighting of this channel is unsuccessful, the program returns and enters an infinite loop. Use the logic method to hide the DMX interface transmission direction. The working flow chart of the input end and the output end is shown in Figure 3. The flow begins in step S201. Then, in step S202, the total interrupt is turned off (EA=0), the first interface circuit (DmxBus1) is set as the input terminal, and the second interface circuit (DmxBus2) is set as the output terminal, and the total is disconnected (EA=1 jb) In step S203, an appropriate time delay is made. In step S205, it is detected whether the first interface 3b4 receives valid data (including a control command), and if so, the input/output terminal is set to proceed to step S208 to end the flow; S204, the total interrupt is off (EA=0), the first interface circuit (DmxBusl) is set as the output end, the second interface circuit (DmxBus2) is set as the input end, and the total interface is disconnected (EA=1), in step S206 In step S207, if the second interface circuit receives the valid data, the input and output are completed, and the process proceeds to step S208 to end the process; if not, the process returns to step S202. In each level of the lamp, the control command is received and processed. The reworked workflow is as shown in Fig. 4. The flow starts in step S301. Then, in step S302, it is judged whether or not the interrupt signal is received (RI = 1), and if so, the process proceeds to step S304, and if otherwise, the process proceeds to step S303. Determining whether to send an interrupt signal (TI=1), if yes, proceeding to step S305, otherwise proceeding to step S315. In step S304, clearing the RI value proceeds to step S306. In step S305, the TI value is cleared and then step S315 is performed. In step S306, the DMX start flag is determined, and if yes, the process goes to step S308, otherwise, the process goes to step S307. In step S307, it is judged whether the control command is the channel control command, and if yes, the process goes to step S309, otherwise, the process goes to step S312. In step S308, the input reception count (ScomRcvCnt = 0) is cleared, and the DMX reception preparation flag is set (DmxRcvReady = True), and then proceeds to step S310. In step S309, it is determined whether the DMX reception preparation flag has been clamped, and if yes, the process proceeds to step S311, and if not, the process proceeds to step S316 to end the flow. In step S310, the received control command is sent to the next level to realize the regeneration of the control command, and then proceeds to step S316 to end the flow. In step S311, the control command is stored in the reception register, and then proceeds to step S313. In step S312, the received control command is transmitted to the next stage, and then proceeds to step S315. In step S313, it is determined whether the channel control command is received or not, and if so, the process proceeds to step S314, and if not, the process proceeds to S315. In step S314, the luminaire DMX receives the completion flag hiding, clears the DMX reception preparation flag, and proceeds to step S315. At step S315, the input receives the count (ScomRcvCnt ++ ), and then proceeds to step S316 to end the flow. The flow ends with step S316.

Claims

权利耍求 claim for rights
1、一种无需设匿地址的灯光控制***,包括一 DMX控制器、一缆线、以及若干灯具, 缆线将 DMX控制器和灯具串接,其特征在于:所述灯具的控制信号端设有与缆线连接 的自动获取 DMX通道数据模块; 所述自动获取 DMX通道数据横块,包括 MCU控制单元、 以及分别与 MCU控制单 元连接的第一接口电路和第二接口电路,第一接口电路和第二接口电路分别与所述缆线 连接。 1. A lighting control system that does not require a hidden address, including a DMX controller, a cable, and several lamps. The cable connects the DMX controller and the lamps in series, and is characterized in that: the control signal end of the lamps is provided with There is an automatic acquisition DMX channel data module connected to the cable; the automatic acquisition DMX channel data horizontal block includes an MCU control unit, and a first interface circuit and a second interface circuit respectively connected to the MCU control unit. The first interface circuit and the second interface circuit are respectively connected to the cable.
2、如权利要求 1所述的灯光控制***,其特征在于:所述 MCU控制单元初始化后, 识别并分别将第一接口电路和第二接口电路设匿为输入端或输出端; 2. The lighting control system according to claim 1, characterized in that: after initialization, the MCU control unit identifies and sets the first interface circuit and the second interface circuit as input terminals or output terminals respectively;
MCU控制单元从输入端接收 DMX控制》传输的控制信号,执行其中一组控制指令 调节本通道对应的灯具; The MCU control unit receives the control signal transmitted by DMX Control from the input end and executes a set of control instructions to adjust the lamps corresponding to this channel;
MCU控制单元将控制信号的其他组控制指令通过输出端重生并传输至下一通道的 灯具的自动获取 DMX通道数据模块。 The MCU control unit regenerates other sets of control instructions of the control signal through the output terminal and transmits it to the automatic acquisition DMX channel data module of the lamp of the next channel.
3、 如权利要求 2所述的灯光控制***,其特征在于:所述 MCU控制单元初始化后, 总中断关,第一接口电路设置为输入端,第二接口电路设匿为输出端,总中断开; 如果第一接口电路接收到有效数据,则完成输入輪出端设匿;否则,总中断关,第二 接口电路设置为输入端 ,第一接口电路设蠹为输出端,总中断开,第二接口电路接收到 有效数据,则完成输入输出端设 B。 3. The lighting control system according to claim 2, characterized in that: after the MCU control unit is initialized, the main interrupt is turned off, the first interface circuit is set as the input end, the second interface circuit is set as the output end, and the main interrupt is turned off. Disconnect; If the first interface circuit receives valid data, the input and output terminals are set; otherwise, the main interrupt is turned off, the second interface circuit is set as the input terminal, the first interface circuit is set as the output terminal, and the main interrupt is When the second interface circuit receives valid data, the input and output terminals are set to B.
4、 如权利要求 2所述的灯光控制***,其特征在于: MCU控制单元执行其中一组 控制指令调节本通遒对应的灯具时,将 DMX接收准备标志匿位,然后将本通道的控制 指令存储在接收寄存器中,DMX接收完成后执行本通道的控制指令调节本通道对应的灯 具。 4. The lighting control system according to claim 2, characterized in that: when the MCU control unit executes a set of control instructions to adjust the lamps corresponding to this channel, it hides the DMX reception preparation flag, and then controls the channel. The instructions are stored in the receiving register. After the DMX reception is completed, the control instructions of this channel are executed to adjust the lamps corresponding to this channel.
5、 如权利要求 2所述的灯光控制***,其特征在于: MCU控制单元貢生控制指令 时,首先以 DMX开始标志区分本通道控制指令和需要重生的其他组控制指令,若是则 作为其他组控制指令重生并从输出端输出;若无 DMX开始标志则重新判别是否本通道 的控制指令,执行本通道的控制指令,或者作为其他组控制指令霣生并输出。 5. The lighting control system according to claim 2, characterized in that: when the MCU control unit generates a control instruction, it first uses the DMX start flag to distinguish the control instructions of this channel from other group control instructions that need to be regenerated. If so, it is used as another group control. The command is regenerated and output from the output terminal; if there is no DMX start flag, it is re-determined whether it is the control command of this channel, the control command of this channel is executed, or it is generated and output as another group of control commands.
6、 如权利要求 5所述的灯光控制***,其特征在于:判别是否本通道的控制指令的 方法是将该控制指令的识别码与计数器的统计数目作比较,若该控制指令为统计数目应 当执行的控制指令则厲于本通道的控制指令。 6. The lighting control system as claimed in claim 5, characterized in that: the method for determining whether the control instruction is a control instruction of this channel is to compare the identification code of the control instruction with the statistical number of the counter. If the control instruction is a statistical number, it should be The executed control instructions are stricter than the control instructions of this channel.
7、 如权利要求 2所述的灯光控制***,其特征在于:所述控制指令为 9位的 DMX 数据。 7. The lighting control system of claim 2, wherein the control instruction is 9-bit DMX data.
8、 如权利要求 1所述的灯光控制***,其特征在于:所述第一接口电路和第二接口 电路为 485串口电路。 8. The lighting control system of claim 1, wherein the first interface circuit and the second interface circuit are 485 serial port circuits.
PCT/CN2012/001229 2012-07-15 2012-09-03 Lighting control system with no address- setting requirement WO2014012194A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210242886.1A CN103547018A (en) 2012-07-15 2012-07-15 Lamplight control system needless of address setting
CN201210242886.1 2012-07-15

Publications (1)

Publication Number Publication Date
WO2014012194A1 true WO2014012194A1 (en) 2014-01-23

Family

ID=49948147

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/001229 WO2014012194A1 (en) 2012-07-15 2012-09-03 Lighting control system with no address- setting requirement

Country Status (2)

Country Link
CN (1) CN103547018A (en)
WO (1) WO2014012194A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109769325B (en) * 2019-03-28 2022-02-18 深圳爱克莱特科技股份有限公司 LED color-mixed light system, LED color-mixed light remote control device and control method thereof
WO2020258356A1 (en) * 2019-06-25 2020-12-30 广州达森灯光股份有限公司 Handheld multi-functional lamp controller, and storage medium
CN112351540A (en) * 2019-08-06 2021-02-09 矽诚科技股份有限公司 Burning sequencing point-controlled light-emitting diode lamp and operation method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453807A (en) * 2007-12-07 2009-06-10 锦鑫光电股份有限公司 Lamp light driving device and lighting system thereof
CN102573184A (en) * 2010-12-17 2012-07-11 明阳半导体股份有限公司 Lighting fixture control chip, device, system as well as addressing method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3835467B2 (en) * 2004-07-27 2006-10-18 松下電工株式会社 Terminal for remote monitoring and control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453807A (en) * 2007-12-07 2009-06-10 锦鑫光电股份有限公司 Lamp light driving device and lighting system thereof
CN102573184A (en) * 2010-12-17 2012-07-11 明阳半导体股份有限公司 Lighting fixture control chip, device, system as well as addressing method thereof

Also Published As

Publication number Publication date
CN103547018A (en) 2014-01-29

Similar Documents

Publication Publication Date Title
US10331610B2 (en) UART with automated protocols
CN103491676A (en) Bluetooth remote-control type LED colored lamp device and control method
WO2014012194A1 (en) Lighting control system with no address- setting requirement
CN204031506U (en) A kind of signal converter for light fixture control appliance
CN203206524U (en) External-control RGB wall washer system
US20160374183A1 (en) Wired & wireless control system and data bridge method thereof
JP2008513935A (en) Luminaire network control system and control method
CN102573184B (en) Lighting fixture control chip, device, system as well as addressing method thereof
CN114423128A (en) Lamp group control method, system and related equipment
CN110868784A (en) Stage lighting data bidirectional synchronous communication method and system, storage medium and device
KR20110061069A (en) Led lighting instruments to support dmx512 communication protocol
CN106658913A (en) Method and circuit for automatically setting address code between lamps and realizing coexistence with RDM
KR100870733B1 (en) Remote controller and control method of lighting apparatus
CN104038495A (en) Repeater based on DMX512 protocol extension and interference restraining method
JP6373909B2 (en) Signal conversion device and lighting device including signal conversion device
CN202857040U (en) Lighting control system without setting up address
WO2015051582A1 (en) Audio power amplification circuit and mode control circuit thereof
JP2016181452A (en) Illumination control system, illumination device, and illumination control method
CN203934082U (en) With the lamp string of Intelligent Measurement
CN106790753A (en) The multiple automatic recognition systems and coding method from control plate of lamp interior
CN203872205U (en) Repeater based on DMX512 protocol extension
CN109152137B (en) Anti-interference decoding device based on LED control system and LED control system
CN103906312A (en) RGB toning control device and method based on Zigbee
CN112074063B (en) Method and device for configuring lamp information
KR101062874B1 (en) Automatic address allocation method for light control module

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: 12881476

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.07.2015)

122 Ep: pct application non-entry in european phase

Ref document number: 12881476

Country of ref document: EP

Kind code of ref document: A1