CN112074063A - Method and device for configuring lamp information - Google Patents
Method and device for configuring lamp information Download PDFInfo
- Publication number
- CN112074063A CN112074063A CN202010961123.7A CN202010961123A CN112074063A CN 112074063 A CN112074063 A CN 112074063A CN 202010961123 A CN202010961123 A CN 202010961123A CN 112074063 A CN112074063 A CN 112074063A
- Authority
- CN
- China
- Prior art keywords
- slave
- host
- lamp
- data information
- configuration data
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/165—Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention relates to a method and a device for configuring lamp information. The method comprises the following steps: generating and sending a pre-configuration instruction to the slave machine through the first master machine so that the slave machine is disconnected from other slave machines according to the pre-configuration instruction; the first host sends the configuration data information of the first host to the slave and converts the configuration data information into the slave, so that the slave is converted into the wheel-driven host after receiving the configuration data information; the wheel-action host is configured according to the received configuration data information, the next slave which is not configured is communicated, the configuration data information of the slave is sent to the slave which is not configured and is converted into the slave, so that the slave is converted into a new wheel-action host from the slave after receiving the configuration data information and returns to the wheel-action host to be configured according to the received configuration data information until the lamps are configured, the lamps are automatically configured one by one, configuration efficiency is improved, and the number of times of high-altitude operation is reduced greatly.
Description
Technical Field
The invention relates to the technical field of lamp control, in particular to a method and a device for configuring lamp information.
Background
The lamps are classified according to the use environment as follows: stage lighting, outdoor lighting, theater lighting, and the like. Even though the use environment is the same, the used scenes and methods are different, and even different customers have different requirements on display language, working modes, noise level and the like.
In order to meet various application requirements of different customers, at present, more than one mode setting is generally built in the lamp for the customer to select, and the contents of the mode setting include: although the channel mode, the display language, the DMX address code, the dimming curve, the noise level, the motor rotating speed and the like can be set one by one through the control panel of the lamp or through the RDM (remote device management) function, for a stage or a field with few stages and hundreds of more table lamps, obviously, the method is very time-consuming and labor-consuming, and the configuration efficiency is extremely low; moreover, for the lamps fixed at high altitude, technicians need to climb a ladder to perform panel operation before each lamp, and the arrangement of each lamp causes danger of high-altitude operation.
Disclosure of Invention
The invention provides a method and a device for configuring lamp information, which aim to solve the problems of low lamp configuration efficiency and high-altitude operation danger in the prior art.
The embodiment of the invention provides a method for configuring lamp information, which comprises the following steps:
establishing communication connection between lamps, and electrifying the lamps;
taking one of the lamps as a primary host, taking the rest lamps as secondary machines, and configuring the primary host;
generating and sending a pre-configuration instruction to the slave machine through the head master machine so that the slave machine is disconnected from other slave machines according to the pre-configuration instruction, wherein the head master machine is communicated with one slave machine;
the first host sends the configuration data information of the first host to the slave and converts the configuration data information into the slave, so that the slave is converted into the wheel-driven host after receiving the configuration data information;
the wheel-driven host computer carries out configuration according to the received configuration data information and is communicated with the slave computer which is not configured next;
and the wheel-moving host sends the configuration data information of the wheel-moving host to the slave which is not configured and converts the configuration data information into the slave, so that the slave is converted into a new wheel-moving host after receiving the configuration data information, and returns to the wheel-moving host to perform configuration according to the received configuration data information until the lamps are configured.
In one embodiment, the method for configuring luminaire information further includes:
after the lamp is converted from the master machine to the slave machine, a FLAG for indicating successful configuration is saved; and saving the configuration data information.
In one embodiment, the method for configuring luminaire information further includes:
after the lamp is changed from the master machine to the slave machine, waiting to receive the configuration data information sent by other lamps, and timing the waiting time;
judging whether the timing time length exceeds a preset time length or not;
if yes, clearing the FLAG mark and entering a normal standby state;
and if not, continuing to wait for receiving the configuration data information sent by other lamps.
In one embodiment, the first luminaire on the physical line is used as the primary host.
In one embodiment, the head host is configured through a control panel of the head host.
In one embodiment, the method for configuring luminaire information further includes:
before the first host is configured, the first host is awakened through a key, and a screen of the first host is set to be normally bright.
In one embodiment, the method for configuring luminaire information further includes:
before the slave disconnects with other slaves according to the pre-configuration instruction, the slave sets a screen to be normally bright according to the pre-configuration instruction.
Based on the same inventive concept, the embodiment of the invention also provides a device for configuring lamp information, which comprises a controllable switch, a main control circuit and a communication module, wherein the controllable switch, the main control circuit and the communication module are arranged in the lamp; the lamp can be set as a primary host, a wheel-driven host or a secondary host through the main control circuit;
when the lamp is used as a primary master machine, the master control circuit generates a pre-configuration instruction, sends the pre-configuration instruction to the lamp used as a slave machine through the communication module, controls the controllable switch to be connected with the next lamp, sends the self-configuration data information to the slave machine, and converts the self-configuration data information into the slave machine;
when the lamp is used as a slave machine, the master control circuit controls the switch to be disconnected according to the pre-configuration instruction, so that the connection with other slave machines is disconnected; the slave machine is converted into a wheel-moving host machine after the configuration data information is received;
when the lamp serves as the wheel-action master machine, the master control circuit configures according to the received configuration data information, and generates and sends a controllable switch communication instruction to the controllable switch, so that the wheel-action master machine and the next slave machine which is not configured are communicated through the controllable switch.
In one embodiment, after the lamp is converted from the master computer to the slave computer, the master control circuit is further configured to store a FLAG indicating that the configuration is successful, and store the configuration data information.
In one embodiment, the device for configuring lamp information further includes a control panel electrically connected to the main control circuit, and configured to wake up the head host by pressing a key before configuring the head host, and set a screen of the head host to be normally bright
In summary, the embodiment of the invention provides a method and a device for configuring lamp information. Wherein the method comprises: the method comprises the following steps: establishing communication connection between the lamps, and electrifying the lamps; taking one of the lamps as a primary host, taking the rest lamps as secondary machines, and configuring the primary host; generating and sending a pre-configuration instruction to the slave machine through the head master machine so that the slave machine is disconnected from other slave machines according to the pre-configuration instruction, wherein the head master machine is communicated with one slave machine; the first host sends the configuration data information of the first host to the slave and converts the configuration data information into the slave, so that the slave is converted into the wheel-driven host after receiving the configuration data information; the wheel-driven host computer carries out configuration according to the received configuration data information and is communicated with the slave computer which is not configured next; and the wheel-moving host sends the configuration data information of the wheel-moving host to the slave which is not configured and converts the configuration data information into the slave, so that the slave is converted into a new wheel-moving host after receiving the configuration data information, and returns to the wheel-moving host to perform configuration according to the received configuration data information until the lamps are configured. According to the invention, the rotation host is configured according to the received configuration data information and is communicated with the next slave which is not configured, so that lamps are automatically configured one by one, thereby improving the configuration efficiency, greatly reducing the times of high-altitude operation and further reducing the danger of the high-altitude operation.
Drawings
Fig. 1 is a schematic structural diagram of a device for configuring information of a lamp according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another apparatus for configuring information of a lamp according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another apparatus for configuring information of a lamp according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a method for configuring lamp information according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating another method for configuring lamp information according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather should be construed as broadly as the present invention is capable of modification in various respects, all without departing from the spirit and scope of the present invention.
Referring to fig. 1, an embodiment of the present invention provides a device for configuring information of a lamp, including a controllable switch 100, a main control circuit 200, and a communication module 300, which are disposed in the lamp; the lamp can be set as a primary host, a wheel-driven host or a secondary host through the main control circuit.
When the lamp is used as a primary master, the master control circuit generates a pre-configuration instruction, sends the pre-configuration instruction to the lamp used as a slave through the communication module 300, controls the controllable switch 100 to connect with the next lamp, sends the configuration data information of the master control circuit to the slave, and converts the configuration data information into the slave.
When the lamp is used as a slave machine, the master control circuit controls the switch to be disconnected according to the pre-configuration instruction, so that the connection with other slave machines is disconnected; and converting the slave machine into a wheel-moving host machine after receiving the configuration data information.
When the lamp is used as the master in the rotation, the master control circuit configures according to the received configuration data information, and generates and sends a controllable switch 100 communication instruction to the controllable switch 100, so that the master in the rotation is communicated with the slave in the next non-configured state through the controllable switch 100.
In this embodiment, the master configures according to the received configuration data information and communicates with the next slave that is not configured, so as to implement automatic configuration of the lamps one by one, thereby improving the configuration efficiency, greatly reducing the number of times of high-altitude operations, and further reducing the risk of high-altitude operations.
Specifically, the lamp generally uses a DMX512 protocol for communication control, and uses a three-core card and agricultural communication cable; and an Art-Net protocol is needed for controlling the video module with high speed requirement in the lamp, and a TCP/IP network communication shielding cable is used. In the implementation, the communication cable is not additionally added or changed during the configuration of the field lamp, and the field DMX512 three-core Canon communication cable or the TCP/IP network communication shielding cable of the Art-Net protocol can be used for establishing communication connection.
In this embodiment, the main control circuit 200 is stored in a program. When the lamp is in a primary host state, the programs are executed to realize the operations of key control, screen awakening, configuration information sending and receiving, pre-configuration instruction sending, local configuration information packing and sending and the like. When the lamp is in a state of being a slave machine or a wheel-driven host machine, the program can be executed to realize the work of receiving a pre-configuration instruction to disconnect a next-level communication line, receiving configuration information to process data, setting and clearing FLAG bits, calculating, packing and sending data and the like. The lamp information configuration method has two purposes, and finally realizes the function that lamps are automatically configured one by one according to the actual line sequence.
It is understood that the main control circuit 200 may include an intelligent chip such as an MCU (micro controller Unit), a CPU (Central Processing Unit), a DSP (Digital Signal Processing), or an FPGA (Programmable logic device). In this embodiment, the main control circuit 200 is provided with an MCU, and the MCU executes the above programs to realize the function of configuring the information of the lamps one by one automatically according to the actual circuit sequence. The controllable switch 100 can be a triode, a switch tube or a relay; in this embodiment, a relay is selected as the controllable switch 100, and the connection and disconnection of the communication line between the lamp and the lamp is controlled by the relay; specifically, the relay may be controlled by a microprocessor in the lamp to output high and low level signals to control the controllable switch 100 to be opened and closed.
In one embodiment, after the lamp is converted from the master computer to the slave computer, the master control circuit is further configured to store a FLAG indicating that the configuration is successful, and store the configuration data information. In this embodiment, the lamps that have completed configuration are identified by the FLAG, which may facilitate distinguishing the lamps that have completed configuration from the lamps that have not been configured.
After the master host sends a pre-configuration instruction, the master control circuits 200 of all the slaves generate a command for disconnecting the controllable switches 100 according to the received pre-configuration instruction, so that the own controllable switches 100 are disconnected according to the command for disconnecting the controllable switches 100, and a communication line with a next-level lamp is disconnected, only one slave is connected with the master host on the connected communication line, the master host sends own configuration data information to the slave, and stores an FLAG mark, and the master host converts the own state into the slave; after receiving the configuration data information, the first slave connected with the communication line performs configuration according to the configuration data information of the structure, and the state is converted from the slave to the master, namely the slave is a rotation master, and a FLAG mark is stored in software; then the wheel-action host controls the self relay to be conducted, a communication line with the next slave is conducted through the conducted relay, and the self configuration data information after data processing is sent to the next slave; and the rest is repeated until all the lamps receive the configuration data in sequence. After the last desk lamp on the communication line sends the configuration information of the last desk lamp, all lamps on the line have the FLAG marks, so that no equipment is used as a host, all equipment can overtime in receiving, the situation that all the lamps on the whole communication line are completely configured is shown, all the lamps can be converted into a normal working state, and the screen also restores to a normal state.
In one embodiment, the apparatus for configuring light fixture information further includes a control panel (not shown), where the control panel is electrically connected to the main control circuit, and is configured to wake up the head host by pressing a key before configuring the head host, and set a screen of the head host to be normally bright. It is understood that the control panel includes one or more of a button, a mouse, and various pattern recognition elements, and in this embodiment, the button is disposed in the control panel. Establishing communication connection among the lamps, namely using DMX512 card agricultural signal cables or TCP/IP network cables for connection, and after powering on the lamps, searching a first physically connected lamp, and after the lamps are awakened by a key, setting a screen to be normally bright; then, a pre-configuration instruction is sent to the bus by operating the control panel, so that the slave lamp enters a pre-configuration preparation state, and the screen is set to be normally on; the microprocessor in the first lamp judges the lamp as a primary host, then sends a command of disconnecting the controllable switches 100 to the bus, so that the controllable switches 100 of all the lamps except the primary host on the communication line simultaneously act to disconnect the communication line with the next stage, and finally, the control panel of the lamp of the primary host is operated, and the configuration information of the lamp is set according to the requirement to confirm and store, so that the primary host is set.
In addition, after receiving the pre-configuration instruction, the microprocessor in the lamp judges that the lamp is a slave or a wheel-action host, disconnects the controllable switches 100 of all the slaves or wheel-action hosts, and controls the lamp to enter a pre-configuration preparation state, and the screen is long and bright; then, setting the preset duration to be 1 minute preferably, timing by using a timer, and when the timing duration exceeds 1 minute and the lamps which do not receive any configuration data information consider that all lamp configurations are completed, switching on the communication line which is disconnected in the front, turning on the host lamps to restore the normal standby state, and flashing the screen at a slow speed. The screen of the wheel-action host lamp after the self-checking fails flashes quickly, the controllable switch 100 is closed again after the time delay of 15 seconds, the lamp returns to the normal standby state, and the screen flashes slowly; and (3) successfully configuring and storing lamp setting information by self-checking, processing and operating the configuration data information of the lamp, packaging, closing the controllable switch 100, sending the configuration data information of the lamp to the next lamp through the closed controllable switch 100, recovering the lamp to be in a normal standby state after the sending is finished, and slowly flashing the screen.
And (3) configuring the lamp according to the devices and the steps, and enabling a common technician to operate and visually know the lamp configuration condition through the screen state. Meanwhile, due to the fact that the operation process is simple and convenient, all lamp configuration work can be completed only by three steps of sending a pre-configuration instruction by a key, configuring configuration data information of a first host lamp by the key and sending by the key, and therefore a customer can conveniently carry out self-configuration. In addition, because the first main machine lamp is usually closest to the ground or even arranged on the ground, even if the first main machine lamp is arranged at high altitude, the high altitude operation configured by one lamp is only needed to be completed, and therefore the times of the high altitude operation can be greatly reduced.
In addition to using the first table lamp on the physical line as the head unit, the head unit may be determined in other manners, for example, any table lamp in the physical line is selected as the head unit to configure all subsequent lamps, as shown in fig. 2, sometimes all lamps do not need to be reconfigured on site, or only the setting of part of the lamps needs to be configured, at this time, the physical head unit can be found from the part of the lamps needing to be configured to perform key configuration, because the configuration process cannot be performed forward, the front-end communication line does not need to be manually disconnected.
In the configuration scheme of taking the first table lamp or any table lamp selected from the physical lines as the first host, the light console sends control data to the bus at any time, so the input signal line used as the configuration host needs to be manually disconnected, and the control data on the bus is prevented from interfering with the input signal line.
As the number of lamps is usually very large except for the indoor news studio, for example, stage performance, outdoor lighting, etc., and hundreds of lamps are used, the most common connection method of lamps is to use DPU (Distributed Processing Unit) for tapping, as shown in fig. 3. Namely, the console signal is processed and distributed into a plurality of paths of signals by the decentralized processing unit, and the signals are synchronously output after the driving capability is enhanced. Each path of signal output can support the driving capability of dozens of lamps, the number of the lamps driven by the DPU signal output is multiplied after the DPU signal output is utilized to enhance and distribute functions, and the driving distance is longer and more stable.
It should be noted that, in the configuration connection manner of the light fixtures shown in fig. 3, since the DPU also synchronously sends data to each output port while receiving the console signal, it is also necessary to physically disconnect the signal lines from all the output ports of the DPU to the light fixtures; the lamps directly connected with the output ports of the DPUs are regarded as a first host, key operation can be independently carried out, and setting information configuration of all subsequent lamps on the same line is further completed in batches.
In addition, according to the scheme for configuring the lamp information provided by the embodiment of the invention, a technician can judge whether the lamp configuration is successful or not by observing the flicker state of the screen, and the position of the lamp which fails to be configured appears, so as to reconfigure the lamp; the configuration process is simple and easy to understand, and the heavy work that a technician needs to set the keys of the lamps one by one or independently configure the RDM in the past is avoided
Based on the apparatus for configuring lamp information provided in any of the embodiments, an embodiment of the present invention further provides a method for configuring lamp information, please refer to fig. 4 and 5, and an embodiment of the present invention provides a method for configuring lamp information, including:
step S410, establishing communication connection among the lamps, and electrifying the lamps;
step S420, taking one of the lamps as a primary host, taking the rest lamps as secondary machines, and configuring the primary host;
step S430, generating and sending a pre-configuration instruction to the slave machine through the head master machine so that the slave machine is disconnected from other slave machines according to the pre-configuration instruction, wherein the head master machine is communicated with one slave machine;
step S440, the primary master sends its own configuration data information to the slave and converts it into a slave, so that the slave converts it into a wheel-action master after receiving the configuration data information;
step S450, the rotation host performs configuration according to the received configuration data information and communicates with the next slave which is not configured;
step S460, the wheel-action master sends the configuration data information of itself to the slave that is not configured and converts the configuration data information into the slave, so that the slave converts the slave into a new wheel-action master after receiving the configuration data information, and returns to step S450 until the lamps are all configured.
In this embodiment, the master configures according to the received configuration data information and communicates with the next slave that is not configured, so as to implement automatic configuration of the lamps one by one, thereby improving the configuration efficiency, greatly reducing the number of times of high-altitude operations, and further reducing the risk of high-altitude operations.
Specifically, the lamp generally uses a DMX512 protocol for communication control, and uses a three-core card and agricultural communication cable; and an Art-Net protocol is needed for controlling the video module with high speed requirement in the lamp, and a TCP/IP network communication shielding cable is used. In the implementation, a communication cable is not additionally added or changed during the configuration of the field lamp, and the field DMX512 three-core Canon communication cable or the TCP/IP network communication shielding cable of the Art-Net protocol can be used.
In this embodiment, the main control circuit 200 is stored in a program. When the lamp is in a primary host state, the programs are executed to realize the operations of key control, screen awakening, configuration information sending and receiving, pre-configuration instruction sending, local configuration information packing and sending and the like. When the lamp is in a state of being a slave machine or a wheel-driven host machine, the program can be executed to realize the work of receiving a pre-configuration instruction to disconnect a next-level communication line, receiving configuration information to process data, setting and clearing FLAG bits, calculating, packing and sending data and the like. The lamp information configuration method has two purposes, and finally realizes the function that lamps are automatically configured one by one according to the actual line sequence.
In one embodiment, the method for configuring luminaire information further includes:
after the lamp is converted from the master machine to the slave machine, a FLAG mark for indicating successful configuration is saved; and saving the configuration data information.
It can be understood that after the master host sends the preconfigured instruction, the master control circuits 200 of all the slaves generate a command to turn off the controllable switch 100 according to the received preconfigured instruction, so that the own controllable switch 100 is turned off according to the command to turn off the controllable switch 100, thereby disconnecting the communication line with the next-stage lamp, at this time, only one slave is connected to the master host on the connected communication line, at this time, the master host sends the own configuration data information to the slave, and stores an FLAG, and the master host converts the own state into the slave; after receiving the configuration data information, the first slave connected with the communication line performs configuration according to the configuration data information of the structure, and the state is converted from the slave to the master, namely the slave is a rotation master, and a FLAG mark is stored in software; then the wheel-action host controls the self relay to be conducted, a communication line with the next slave is conducted through the conducted relay, and the self configuration data information after data processing is sent to the next slave; and the rest is repeated until all the lamps receive the configuration data in sequence. When the last desk lamp on the communication line sends the configuration information of the last desk lamp, all lamps on the line have the FLAG marks, and therefore, no equipment is used as a host, and the fact that all lamps on the whole communication line are completely configured is indicated.
In one embodiment, the method for configuring luminaire information further includes:
after the lamp is changed from the master machine to the slave machine, waiting to receive the configuration data information sent by other lamps, and timing the waiting time;
judging whether the timing time length exceeds a preset time length or not;
if yes, clearing the FLAG mark and entering a normal standby state;
and if not, continuing to wait for receiving the configuration data information sent by other lamps.
It can be understood that after the last desk lamp on the communication line sends the configuration information of the last desk lamp, all lamps on the line have FLAG marks, and therefore no device is used as a host, and all devices will have reception overtime, which means that all lamps on the whole communication line are completely configured, and at this time, except for the FLAG marks, all lamps will be converted into normal working states, and the screen also returns to normal states. It should be noted that the successfully configured luminaire, i.e. the luminaire having the FLAG, is no longer configured according to the received configuration information data.
In addition, after the microprocessor in the lamp without key operation receives the pre-configuration instruction, the microprocessor judges that the lamp is a slave machine or a wheel-action host machine, disconnects the controllable switches 100 of all the slave machines or the wheel-action host machines, controls the lamp to enter a pre-configuration preparation state, and has a long and bright screen; then, setting the preset duration to be 1 minute preferably, timing by using a timer, and when the timing duration exceeds 1 minute and the lamps which do not receive any configuration data information consider that all lamp configurations are completed, switching on the communication line which is disconnected in the front, turning on the host lamps to restore the normal standby state, and flashing the screen at a slow speed. In addition, the screen of the wheel-start host lamp after the self-checking fails flashes quickly, the controllable switch 100 is closed again after 15 seconds of delay, the lamp returns to the normal standby state, and the screen flashes slowly; and (3) successfully configuring and storing lamp setting information by self-checking, processing and operating the configuration data information of the lamp, packaging, closing the controllable switch 100, sending the configuration data information of the lamp to the next lamp through the closed controllable switch 100, recovering the lamp to be in a normal standby state after the sending is finished, and slowly flashing the screen.
In one embodiment, the first luminaire on the physical line is used as the primary host. In addition, besides using the first table lamp on the physical line as the head unit, the head unit can be determined in other manners, for example, any table lamp in the physical line is selected as the head unit to configure all subsequent lamps; or when the number of the lamps is very large, the DPUs are used for tapping the lamps, and the specific connection mode is not described herein again.
In one embodiment, the head host is configured through a control panel of the head host; and before the first host is configured, waking up the first host through a key, and setting a screen of the first host to be normally bright.
In this embodiment, communication connection is established between the lamps, that is, a DMX512 card signal cable or a TCP/IP network cable is used for connection, after the lamps are powered on, a first physically connected lamp is found, and after the lamps are awakened by a key, a screen is set to be normally on; then, a pre-configuration instruction is sent to the bus by operating the control panel, so that the slave lamp enters a pre-configuration preparation state, and the screen is set to be normally on; the microprocessor in the first lamp judges the lamp as a primary host, then sends a command of disconnecting the controllable switches 100 to the bus, so that the controllable switches 100 of all the lamps except the primary host on the communication line simultaneously act to disconnect the communication line with the next stage, and finally, the control panel of the lamp of the primary host is operated, and the configuration information of the lamp is set according to the requirement to confirm and store, so that the primary host is set.
In one embodiment, the method for configuring luminaire information further includes:
before the slave disconnects with other slaves according to the pre-configuration instruction, the slave sets a screen to be normally bright according to the pre-configuration instruction.
In order to more clearly describe the solution of the present invention, the following describes the method according to the flow of the lamp configuration setting information program shown in fig. 5.
In this embodiment, the configuration information receiving and sending control program of the microprocessor in the lamp, which is used as the first master and the slave or the wheel-action master, is a program for performing key control, receiving the packed configuration information, performing data, packet self-checking, clearing the flag, and data operation, packing and sending, and is used for orderly configuring the lamp setting information according to the actual physical sequence of the lamp one by one. When the lamp is in a normal standby state, the screen slowly flickers, and a button is waited for awakening or a bus instruction.
When the key operation occurs, the screen is awakened to be normally bright, and the lamp is regarded as a host; the host executes the following process:
1) a pre-configuration instruction is sent to the bus through a key in the control panel, so that the slave computer disconnects the controllable switch 100 of the slave computer after acquiring the pre-configuration instruction from the bus, namely, a communication line with a next-stage lamp is disconnected.
2) And configuring the head host lamp by operating keys in the control panel.
3) And packaging the configuration data information of the head host lamp and sending the configuration data information to the next slave lamp in communication connection with the head host lamp.
4) The first host lamp stores the FLAG mark and the configuration data, and converts the own state of the first host lamp into a slave lamp.
5) Waiting to receive configuration data information of a communication line, and timing waiting time; and judging whether the timing time length exceeds a preset time length.
6) If the time is out, the FLAG mark is cleared, the lamp returns to a normal standby state, and the screen flickers at a low speed. Otherwise, continuing to wait for receiving the configuration data information on the communication line.
When the lamp does not have key operation and receives a pre-configuration instruction, the lamp is regarded as a driven or wheel-driven host, the self-controllable switch 100 is switched off, and the screen is turned off; waiting to receive the configuration information, preferably for a minute;
1) when no configuration data packet is received within 1 minute, the front end is considered to have configuration failure, the lamp returns to a normal standby state, and the screen slowly flickers; if the configuration data packet is successfully received within 1 minute, the configuration data of the computer is calculated according to the received configuration data packet, and the next step is executed.
3) And (3) closing the controllable switch 100, connecting a communication line with the next stage of lamp, converting the lamp into a rotation host, and sending the configuration data information of the lamp of the rotation host to the next lamp.
4) The method is characterized in that the host is rotated to store the FLAG mark and the configuration data, and the state of the host is converted into the slave.
5) Waiting to receive configuration data information of a communication line, and timing waiting time; judging whether the timing time length exceeds a preset time length or not;
6) if the time is out, the FLAG mark is cleared, the lamp returns to a normal standby state, and the screen flickers at a low speed. Otherwise, continuing to wait for receiving the configuration data information on the communication line.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method of configuring luminaire information, comprising:
establishing communication connection between the lamps, and electrifying the lamps;
taking one of the lamps as a primary host, taking the rest lamps as secondary machines, and configuring the primary host;
generating and sending a pre-configuration instruction to the slave machine through the head master machine so that the slave machine is disconnected from other slave machines according to the pre-configuration instruction, wherein the head master machine is communicated with one slave machine;
the first host sends the configuration data information of the first host to the slave and converts the configuration data information into the slave, so that the slave is converted into the wheel-driven host after receiving the configuration data information;
the wheel-driven host computer carries out configuration according to the received configuration data information and is communicated with the slave computer which is not configured next;
and the wheel-moving host sends the configuration data information of the wheel-moving host to the slave which is not configured and converts the configuration data information into the slave, so that the slave is converted into a new wheel-moving host after receiving the configuration data information, and returns to the wheel-moving host to perform configuration according to the received configuration data information until the lamps are configured.
2. The method of configuring luminaire information of claim 1, further comprising:
after the lamp is converted from the master machine to the slave machine, a FLAG mark for indicating successful configuration is saved; and saving the configuration data information.
3. The method of configuring luminaire information of claim 2, further comprising:
after the lamp is changed from the master machine to the slave machine, waiting to receive the configuration data information sent by other lamps, and timing the waiting time;
judging whether the timing time length exceeds a preset time length or not;
if yes, clearing the FLAG mark and entering a normal standby state;
and if not, continuing to wait for receiving the configuration data information sent by other lamps.
4. The method of configuring luminaire information of claim 1, wherein a first one of the luminaires on a physical line is taken as the primary master.
5. The method of configuring luminaire information of claim 1, wherein the head unit is configured through a control panel of the head unit.
6. The method of configuring luminaire information of claim 1, further comprising: before the first host is configured, the first host is awakened through a key, and a screen of the first host is set to be normally bright.
7. The method of configuring luminaire information of claim 1, further comprising:
before the slave disconnects with other slaves according to the pre-configuration instruction, the slave sets a screen to be normally bright according to the pre-configuration instruction.
8. A device for configuring lamp information is characterized by comprising a controllable switch, a main control circuit and a communication module, wherein the controllable switch, the main control circuit and the communication module are arranged in a lamp; the lamp can be set as a primary host, a wheel-driven host or a secondary host through the main control circuit;
when the lamp is used as a primary master machine, the master control circuit generates a pre-configuration instruction, sends the pre-configuration instruction to the lamp used as a slave machine through the communication module, controls the controllable switch to be connected with the next lamp, sends the self-configuration data information to the slave machine, and converts the self-configuration data information into the slave machine;
when the lamp is used as a slave machine, the master control circuit controls the switch to be disconnected according to the pre-configuration instruction, so that the connection with other slave machines is disconnected; the slave machine is converted into a wheel-moving host machine after the configuration data information is received;
when the lamp serves as the wheel-action master machine, the master control circuit configures according to the received configuration data information, and generates and sends a controllable switch communication instruction to the controllable switch, so that the wheel-action master machine and the next slave machine which is not configured are communicated through the controllable switch.
9. The apparatus for configuring information on a lamp as claimed in claim 8, wherein after the lamp is converted from a master to a slave, the master control circuit is further configured to store a FLAG indicating that the configuration is successful, and store the configuration data information.
10. The device for configuring lighting fixture information of claim 8, further comprising a control panel electrically connected to the main control circuit, and configured to wake up the head unit by pressing a button and set a screen of the head unit to be normally bright before configuring the head unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010961123.7A CN112074063B (en) | 2020-09-14 | 2020-09-14 | Method and device for configuring lamp information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010961123.7A CN112074063B (en) | 2020-09-14 | 2020-09-14 | Method and device for configuring lamp information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112074063A true CN112074063A (en) | 2020-12-11 |
CN112074063B CN112074063B (en) | 2023-03-24 |
Family
ID=73695555
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010961123.7A Active CN112074063B (en) | 2020-09-14 | 2020-09-14 | Method and device for configuring lamp information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112074063B (en) |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635637A (en) * | 2008-07-21 | 2010-01-27 | 江森自控楼宇设备科技(无锡)有限公司 | Method and system for distributing intelligent addresses based on serial bus |
CN101699923A (en) * | 2009-11-11 | 2010-04-28 | 广州中大中鸣科技有限公司 | Lighting control system based on DMX512 protocol and method thereof |
CN102012885A (en) * | 2010-09-15 | 2011-04-13 | 开源集成电路(苏州)有限公司 | System and method for realizing communication by adopting dynamic I2C bus |
CN102740563A (en) * | 2012-06-25 | 2012-10-17 | 浙江和惠照明科技有限公司 | DALI intelligent system and control method thereof |
CN102821508A (en) * | 2011-06-09 | 2012-12-12 | 海洋王照明科技股份有限公司 | LED synchronous signal lamp and control system thereof |
JP2013238984A (en) * | 2012-05-14 | 2013-11-28 | Kyosan Electric Mfg Co Ltd | Controller and signal lighting instrument |
CN203745876U (en) * | 2014-01-28 | 2014-07-30 | 宁波杜亚机电技术有限公司 | Intelligent household control device |
CN104243577A (en) * | 2014-09-12 | 2014-12-24 | 北京能克科技有限公司 | Electronic device having automatic networking function and automatic networking method |
CN105282001A (en) * | 2015-12-10 | 2016-01-27 | 深圳市源拓光电技术有限公司 | Network opening method for industrial Ethernet switch |
CN103454996B (en) * | 2013-08-23 | 2016-01-27 | 广州视睿电子科技有限公司 | Master-slave system and control method thereof |
CN105338477A (en) * | 2015-11-19 | 2016-02-17 | 珠海市杰理科技有限公司 | Multiport communication method, device and system based on radio-frequency transmission |
CN105427579A (en) * | 2016-01-01 | 2016-03-23 | 广州达森灯光股份有限公司 | Method for achieving lamp integral control through IR remote controller |
CN106301478A (en) * | 2015-06-26 | 2017-01-04 | 博通集成电路(上海)有限公司 | Data transmission method and broadcast transmitting apparatus thereof |
CN108616610A (en) * | 2018-05-21 | 2018-10-02 | 深圳前海有电物联科技有限公司 | Address distribution method, host, slave and bus system |
CN111405736A (en) * | 2020-03-09 | 2020-07-10 | 广州市珠江灯光科技有限公司 | Centralized management method and device for lamps |
-
2020
- 2020-09-14 CN CN202010961123.7A patent/CN112074063B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635637A (en) * | 2008-07-21 | 2010-01-27 | 江森自控楼宇设备科技(无锡)有限公司 | Method and system for distributing intelligent addresses based on serial bus |
CN101699923A (en) * | 2009-11-11 | 2010-04-28 | 广州中大中鸣科技有限公司 | Lighting control system based on DMX512 protocol and method thereof |
CN102012885A (en) * | 2010-09-15 | 2011-04-13 | 开源集成电路(苏州)有限公司 | System and method for realizing communication by adopting dynamic I2C bus |
CN102821508A (en) * | 2011-06-09 | 2012-12-12 | 海洋王照明科技股份有限公司 | LED synchronous signal lamp and control system thereof |
JP2013238984A (en) * | 2012-05-14 | 2013-11-28 | Kyosan Electric Mfg Co Ltd | Controller and signal lighting instrument |
CN102740563A (en) * | 2012-06-25 | 2012-10-17 | 浙江和惠照明科技有限公司 | DALI intelligent system and control method thereof |
CN103454996B (en) * | 2013-08-23 | 2016-01-27 | 广州视睿电子科技有限公司 | Master-slave system and control method thereof |
CN203745876U (en) * | 2014-01-28 | 2014-07-30 | 宁波杜亚机电技术有限公司 | Intelligent household control device |
CN104243577A (en) * | 2014-09-12 | 2014-12-24 | 北京能克科技有限公司 | Electronic device having automatic networking function and automatic networking method |
CN106301478A (en) * | 2015-06-26 | 2017-01-04 | 博通集成电路(上海)有限公司 | Data transmission method and broadcast transmitting apparatus thereof |
CN105338477A (en) * | 2015-11-19 | 2016-02-17 | 珠海市杰理科技有限公司 | Multiport communication method, device and system based on radio-frequency transmission |
CN105282001A (en) * | 2015-12-10 | 2016-01-27 | 深圳市源拓光电技术有限公司 | Network opening method for industrial Ethernet switch |
CN105427579A (en) * | 2016-01-01 | 2016-03-23 | 广州达森灯光股份有限公司 | Method for achieving lamp integral control through IR remote controller |
CN108616610A (en) * | 2018-05-21 | 2018-10-02 | 深圳前海有电物联科技有限公司 | Address distribution method, host, slave and bus system |
CN111405736A (en) * | 2020-03-09 | 2020-07-10 | 广州市珠江灯光科技有限公司 | Centralized management method and device for lamps |
Also Published As
Publication number | Publication date |
---|---|
CN112074063B (en) | 2023-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2503855B1 (en) | Lighting system and method for controlling the same | |
EP2612542B1 (en) | Management of power-over-ethernet installation | |
EP2503853B1 (en) | Lighting system and method for controlling the same | |
EP2489245A1 (en) | A system for configuring a lighting control device or the like in a network of lighting control devices | |
CN107015507B (en) | Comprehensive expansion system of central controller | |
CN112696648B (en) | Switch control panel and pairing method of switch control panel and lamp | |
US20110280251A1 (en) | Apparatus having a fixture with an integrated gateway and methods thereof | |
CN112074063B (en) | Method and device for configuring lamp information | |
JP2008513935A (en) | Luminaire network control system and control method | |
US9871616B2 (en) | Error detection and recovery in a DMX512 network | |
CN101505567A (en) | Control method and control system using DMX512 protocol | |
EP2656694B1 (en) | Address initialization of lighting device units | |
WO2014012194A1 (en) | Lighting control system with no address- setting requirement | |
CN205249543U (en) | WiFi intelligence lamp | |
CN112463684A (en) | Multi-system OCP switching system and OCP device hot plug method | |
CN114501750B (en) | Configuration method of multi-lamp control system | |
CN113632423A (en) | Unit for controlling data communication | |
CN110545600A (en) | setting system of color temperature adjustable light source device | |
TW201701564A (en) | Automatic home control system and method wherein a damaged apparatus is immediately replaced by a new first controlled apparatus without the necessity of resetting addresses, so that the labor cost of the follow-up maintenance is saved | |
CN117768322A (en) | Network configuration switching device, board card and switch | |
CN219305078U (en) | Light source control system, light source controller and main controller | |
US11901763B2 (en) | Driver for emergency lighting means | |
CN110366299A (en) | A kind of lighting system and lighting system is closed with central control network and its control method | |
US20100094478A1 (en) | Power supply and methods thereof | |
JP2022164424A (en) | Communication device, communication control system, lighting system, and lighting control 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |