CN111405736B - Centralized management method and device for lamps - Google Patents

Centralized management method and device for lamps Download PDF

Info

Publication number
CN111405736B
CN111405736B CN202010158000.XA CN202010158000A CN111405736B CN 111405736 B CN111405736 B CN 111405736B CN 202010158000 A CN202010158000 A CN 202010158000A CN 111405736 B CN111405736 B CN 111405736B
Authority
CN
China
Prior art keywords
lamp
instruction
lamps
controller
state information
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.)
Active
Application number
CN202010158000.XA
Other languages
Chinese (zh)
Other versions
CN111405736A (en
Inventor
梁志远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PR Lighting Ltd
Original Assignee
PR Lighting Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PR Lighting Ltd filed Critical PR Lighting Ltd
Priority to CN202010158000.XA priority Critical patent/CN111405736B/en
Publication of CN111405736A publication Critical patent/CN111405736A/en
Application granted granted Critical
Publication of CN111405736B publication Critical patent/CN111405736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a lamp centralized management method and a device, wherein the lamp centralized management method comprises the following steps that a controller sends a control instruction to a lamp; the lamp receives the control instruction and executes work according to the type of the control instruction; the lamp judges and transmits state information back to the controller according to the type of the control instruction; the controller receives the state information returned by the lamp and sends the state information of the lamp to the display module; the display module receives and displays the state information of the lamp. The lamp centralized management method can realize rapid batch management of lamps and effectively improve the working efficiency.

Description

Centralized management method and device for lamps
Technical Field
The invention belongs to the technical field of lamp control, and particularly relates to a lamp centralized management method and device.
Background
Most lamps in the open air are randomly selected and installed, lamps of some projects are very high in installation, and after the lamps are installed, parameters of the lamps are changed, fault detection is carried out, and the state of the lamps is not convenient to acquire.
The RDM device can set parameters of the lamp to read the state of the lamp, but the RDM device list is to correspond the lamp and the actually installed lamp one by one in sequence, and the address of the lamp needs to be manually set one by one, which consumes a lot of time and has very low working efficiency.
Disclosure of Invention
The invention aims to provide a lamp centralized management method and a lamp centralized management device.
The technical scheme is as follows:
the lamp centralized management method comprises the following steps:
the controller sends a control instruction to the lamp;
the lamp receives the control instruction and executes work according to the type of the control instruction;
the lamp judges and transmits state information back to the controller according to the type of the control instruction;
the controller receives the state information returned by the lamp and sends the state information of the lamp to the display module;
the display module receives and displays the state information of the lamp.
Through the method, the controller sends the control instruction to the lamp, so that the lamp executes the work corresponding to the control instruction according to the control instruction, the lamp can return the state to the controller according to the type of the control instruction, and the controller can send the state information of the lamp to the display module for displaying, thereby realizing the centralized management of the lamps in batches and effectively improving the working efficiency.
In one of the embodiments, the first and second electrodes are,
the controller sends control instructions to the lamps, wherein at least two lamps are arranged, and the control instructions comprise a first preparation instruction and a parameter setting instruction;
when the sent control instruction is a first preparation instruction, the lamp receives the first preparation instruction and executes preparation work related to parameter setting;
when the sent control instruction is a set parameter setting instruction;
if the first lamp receiving the parameter setting instruction is the first lamp, responding to the parameter setting instruction, and serially transmitting the parameter setting instruction data to the subsequent lamps;
if the non-first lamp receiving the parameter setting instruction is not the first lamp, ignoring the parameter setting instruction;
controlling the first lamp which has received the parameter setting instruction to be in a full-bright state and the other lamps to be in a half-bright state according to the parameter setting instruction, and storing the acquired parameters;
the controller reads related lamp state information from the lamp and sends the lamp state information to the display module;
and the display module receives and displays the lamp state information sent by the controller.
The controller sends a parameter setting instruction to the lamps, so that the parameters of the lamps can be set rapidly in batches, and the relevant parameter information of the lamps on line can be read, so as to provide reference for modifying the parameters of the lamps; meanwhile, after the parameter setting instruction is sent, the first table lamp enters a full-bright state, and other lamps enter a half-bright state, so that the method can be used for line troubleshooting, and the maintenance efficiency can be effectively improved.
In one of the embodiments, the first and second electrodes are,
the first preparation instruction comprises a cache clearing instruction, a positioning instruction and a resetting instruction;
when the sent first preparation instruction is a cache clearing instruction, all lamps receiving the cache clearing instruction execute cache clearing work;
when the sent first preparation instruction is a positioning instruction, all lamps receiving the positioning instruction execute positioning searching work and mark respective searching results;
and when the sent first preparation instruction is a reset instruction, all the lamps receiving the reset instruction execute reset work.
The controller sequentially sends a cache clearing instruction, a lamp positioning instruction and a serial number resetting instruction to the lamp, and resets a sending counter, the lamp sequentially executes the cache clearing after receiving the cache clearing instruction, the lamp positioning instruction and the serial number resetting instruction sent by the controller, and the lamp positioning, the mark searching and the serial number resetting work are carried out.
In one of the embodiments, the first and second electrodes are,
when a first lamp receives a parameter setting instruction, updating the serial number of the first lamp, calculating the address of the first lamp according to the parameters set by a user, storing the address, and setting the first lamp to be in a full-bright state and other lamps to be in a half-bright state;
and updating the address value according to the content of the parameter, processing the serial number, sending the serial number to the next lamp through the first communication line, sending a command to the next lamp through the first communication line after the next lamp receives the parameter setting command from the first communication line, and setting the lamp subsequently receiving the parameter setting command to be in a semi-bright state.
The receiving address of the lamp is set by modifying the serial number of the lamp, after the address is set, the first table lamp enters a full-bright state, and other lamps enter a half-bright state, so that the lamp can be used for line fault troubleshooting, and the working efficiency is effectively improved.
In one of the embodiments, the first and second electrodes are,
after the first lamp sends the parameter setting instruction, the first lamp returns the state information of the first lamp through a second communication line;
the controller waits for the first table lamp to transmit the state information back, and if the state information transmitted back is not received after the specified time, the controller repeatedly transmits a parameter setting instruction to the first table lamp for multiple times;
if the controller does not receive the returned state information continuously for multiple times, ending the parameter setting instruction;
if the controller receives the returned state information, entering a lamp setting result information collection state, and setting the initial serial number of the query as the serial number set by the user;
sending a serial number lamp inquiry command to the lamp, and returning self state information of the lamp matched with the serial number;
if the controller receives the state information sent by the lamp, the state information of the lamp is transmitted to the display module, and the lamp is operated again after the serial number is processed;
if the controller does not receive the state information of the lamp after the receiving time is exceeded, repeatedly sending a serial number lamp query instruction to the lamp for many times;
and if the receiving fails for multiple times, checking a parameter setting result through the display module, and finishing the parameter setting.
The controller finishes the parameter setting task after testing for many times and does not receive the lamp reply, and the lamp reply failure is confirmed through testing for many times, so that the accuracy of lamp state information query is improved.
In one of the embodiments, the first and second electrodes are,
the controller sends control instructions to the lamps, wherein the lamps are at least two, and the control instructions comprise a second preparation instruction, a state query instruction and a transfer response control right instruction;
when the sent control instruction is a second preparation instruction, the lamp receives the second preparation instruction and executes preparation work related to state query;
when the first desk lamp receives the second preparation instruction, the first desk lamp acquires a response control right;
when the sent control command is a state query command, the lamp responding to the control right returns the state information of the lamp to the controller;
the controller receives the returned state information and sends the state information to the display module;
the display module receives and displays the lamp state information sent by the controller;
when the sent control command is a transfer response control right command, the lamp acquiring the response control right transmits the response control right to the next lamp;
the controller reads all the on-line lamps by repeatedly sending a state query instruction and a transfer response control right instruction.
The controller sends the state query instruction and the transfer response control right instruction, so that the states of all the on-line lamps can be read quickly, the states of all the lamps can be known clearly, the lamps do not need to be tested one by one, all the on-line lamps can be managed and operated conveniently, and the working efficiency is improved.
In one of the embodiments, the first and second electrodes are,
the second preparation instruction comprises a cache clearing instruction and a positioning instruction;
when the sent second preparation instruction is a cache clearing instruction, all lamps receiving the cache clearing instruction execute cache clearing work;
and when the sent second preparation instruction is a positioning instruction of the lamp, all the lamps receiving the positioning instruction execute positioning search work, wherein the first lamp obtains the control response right, other lamps lose the control response right, and the search results of the lamps are marked.
The controller sequentially sends a cache clearing instruction and a positioning instruction to the lamp, and resets a sending counter; after the lamps receive the command, the lamps perform cache clearing and lamp positioning searching work, after the positioning searching is finished, the first lamp acquires the response control right, and the other lamps lose the response control right so as to ensure that the lamps acquiring the response control right execute the work command, and the other lamps ignore the work command.
In one of the embodiments, the first and second parts of the device,
when the controller sends a state query instruction, if the state information returned by the lamp is received, the state information is sent to the display module, a transfer response control right instruction is sent to the lamp, and after the lamp responds, the response control right is sent to the next lamp through the first communication line;
if the controller does not receive the state information returned by the lamp after the receiving time is exceeded, the controller repeatedly sends a state inquiry command for many times;
and if the controller fails to receive the returned state information for multiple times, checking the state query result through the display module, and finishing the state query.
The controller finishes the state query task after testing for many times and does not receive the lamp reply, and the lamp reply failure is confirmed through testing for many times, so that the accuracy of lamp state information query is improved.
A centralized management device for lamps comprises a controller and a plurality of lamps;
the lamp comprises an input end, an output end, a first communication module and a second communication module;
the input end and the output end are respectively used as ports for connecting the lamps and are used for realizing the connection between the lamps;
the first communication module is used for establishing a first communication circuit and realizing connection and signal transmission among a plurality of lamps;
the second communication module is used for establishing a second communication line to realize the connection and signal transmission between the lamps and the controller;
the controller comprises a third communication module, a display module and a control module;
the third communication module is used for establishing a third communication circuit, wherein the third communication module corresponds to the second communication module and realizes the connection and signal transmission between the controller and the plurality of lamps;
the display module is used for receiving and displaying the state information of the lamp;
the control module is used as a control core for lamp centralized management, and is used for controlling the lamps to execute work by sending control instructions to the lamps so as to realize centralized control of the lamps; the state information of the lamp can be acquired and received according to the type of the control instruction, and the state information is sent to the display module.
In one embodiment, the controller is connected in parallel to the second communication lines of the lamps through the third communication line, the lamps are connected in series through the first communication line, and the output end of the lamp is connected to the input end of the next lamp. Sending batch parameter setting instructions to a plurality of lamps through a controller so as to quickly set parameters of the lamps in batches; or sending a batch state query instruction to rapidly read the states of the lamps in batches, so that the states of the lamps can be known conveniently, faults can be rapidly detected, and the efficiency of construction and maintenance of the lamps in engineering is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles and effects of the invention.
Unless otherwise specified or defined, the same reference numerals in different figures refer to the same or similar features, and different reference numerals may be used for the same or similar features.
Fig. 1 is a schematic view of communication signal connection of a lamp centralized management device according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of batch lamp parameter setting of the lamp centralized management method in the embodiment of the present invention.
Fig. 3 is a schematic flow chart of batch lamp parameter setting of a first lamp in the lamp centralized management method according to the embodiment of the present invention.
Fig. 4 is a schematic flowchart of batch lamp parameter setting of lamps after the first desk lamp of the lamp centralized management method in the embodiment of the present invention.
Fig. 5 is a schematic flow chart of batch status query of the lamps in the lamp centralized management method according to the embodiment of the present invention.
Fig. 6 is a schematic flow chart illustrating a handover response control right in a lamp status query of the lamp centralized management method according to an embodiment of the present invention.
Fig. 7 is a schematic view of an "automatic parameter setting" window of the centralized lamp management device in the embodiment of the present invention.
Fig. 8 is a schematic view of a window for "viewing luminaire information" in the luminaire centralized management apparatus in the embodiment of the present invention.
Fig. 9 is a schematic view of a "lamp attribute" window in the lamp centralized management apparatus according to the embodiment of the present invention.
Fig. 10 is a schematic view of a "channel attribute" window of the centralized lamp management device in the embodiment of the present invention.
Fig. 11 is a schematic view of a "test" window in the lamp centralized management apparatus according to the embodiment of the present invention.
Fig. 12 is a schematic view of a "DMX 512 channel editing" window in the lamp centralized management apparatus according to the embodiment of the present invention.
Fig. 13 is a schematic view of a window for viewing DMX512 data in the centralized lighting device management apparatus according to the embodiment of the present invention.
Description of reference numerals:
10. a light fixture; 11. a first communication module; 12. a second communication module; 13. a functional module; 20. a controller; 21. a control module; 22. a third communication module; 23. and a display module.
Detailed Description
In order that the invention may be readily understood, specific embodiments thereof will be described in more detail below with reference to the accompanying drawings.
Unless specifically stated or otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. In the case of combining the technical solutions of the present invention in a realistic scenario, all technical and scientific terms used herein may also have meanings corresponding to the purpose of achieving the technical solutions of the present invention.
As used herein, unless otherwise specified or defined, "first" and "second" … are used merely for name differentiation and do not denote any particular quantity or order.
As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items, unless specified or otherwise defined.
As used herein, unless otherwise specified or defined, the terms "comprises," "comprising," and "comprising" are used interchangeably to refer to the term "comprising," and are used interchangeably herein.
It is needless to say that technical contents or technical features which are contrary to the object of the present invention or clearly contradicted by the object of the present invention should be excluded.
As shown in fig. 1, the centralized lamp management apparatus includes a controller 20 and a plurality of lamps 10;
the lamp 10 includes an input end, an output end, a first communication module 11, a second communication module 12, and other functional modules 13 (color function, brightness adjustment function, etc.);
in this embodiment, the input end and the output end are respectively an RS485 serial input end and an RS485 serial output end, and are respectively used as ports for connection between the lamps 10, so as to realize connection between the lamps 10;
the first communication module 11 is configured to establish a first communication line, where the first communication line is a serial number communication line, and is used for implementing connection and signal transmission between the multiple lamps 10;
the second communication module 12 is a DMX512 communication module, and is configured to establish a DMX512 communication line, so as to implement connection and signal transmission between the multiple lamps 10 and the controller 20;
the controller 20 comprises a control module 21, a third communication module 22 and a display module 23;
the third communication module 22 is also a DMX512 communication module and is configured to establish a DMX512 communication line, wherein the third communication module 22 corresponds to the second communication module 12 and realizes connection and signal transmission between the controller 20 and the plurality of lamps 10;
the display module 23 is an LCD display module 23, and is configured to receive and display status information of the lamp 10; the display interface of the display module 23 is shown in fig. 7 to 13;
the control module 21 is configured to serve as a control core for centralized management of the light fixtures 10, and send a control instruction to the light fixtures 10 to control the light fixtures 10 to perform work, so as to implement centralized control of the light fixtures 10; the state information of the lamp 10 can be acquired and received according to the type of the control instruction, and the state information is sent to the display module 23 for a user to check; and judging the condition of the lamp 10 according to the state information of the lamp 10, and performing fault detection and troubleshooting on the plurality of lamps 10.
In this embodiment, the controller 20 is connected in parallel with the DMX512 communication lines of the plurality of lamps 10 through the DMX512 communication line, the serial number communication lines between the lamps 10 are connected in series, the RS485 sequence output end of the current lamp 10 is connected to the RS485 sequence input end of the next lamp 10, that is, the RS485 sequence output end of the nth lamp 10 is connected to the RS485 sequence input end of the (n +1) th lamp 10;
the lamps 10 can be logically grouped in batches by the controller 20, each group sharing one DMX512 address;
when the group value is n and the total number of the lamps 10 is t, in the "sequential address" setting mode, when n is 1, each lamp 10 is assigned with a unique address code;
when 1< n < t, the lamps 10 are divided into ((t/n) +1) groups at most;
when n > -t, all luminaires 10 will be grouped together, using the same address code;
by the method, the lamps 10 do not need to be sequentially in one-to-one correspondence with the actually installed lamps 10, and the addresses of the lamps 10 do not need to be manually set one by one, so that a large amount of working time can be saved, and the working efficiency is improved.
A centralized management method for luminaires 10, comprising,
the method for batch setting of the parameters of the lamps 10 comprises the following steps:
in this embodiment, before the controller 20 sends a control instruction to the lamp 10, if the user does not know the channel mode supported by the lamp 10, as shown in fig. 7, click the 'lamp 10 information' button in the controller 20, enter the "view lamp 10 information" window, as shown in fig. 8, click the 'search' window, where all the online lamps 10 appear in the lamp 10 list, then select the lamp 10 to be viewed, click the 'edit' button, enter the lamp 10 attribute window shown in fig. 7, then click the channel mode edit box, enter the channel mode attribute window shown in fig. 10, and in this window, display the channel mode name supported by the lamp 10 and the currently selected channel mode; if the user knows the channel mode supported by the lamp 10, the user does not need to check, and directly sets the starting serial number, the starting address, the number of groups, the channel mode (if the mode does not need to be modified, the current setting is kept, otherwise, the corresponding value is changed), the offline mode (if the mode does not need to be modified, the current setting is kept, otherwise, the corresponding value is changed), if the address needs to be sequentially set, the 'sequential address' button is selected, if the address needs to be set, the 'odd-even address' button is selected, and then the 'confirmation' button is selected in the confirmation dialog box, namely, the batch parameter setting stage is entered.
As shown in fig. 2, the controller 20 sequentially sends a first preparation instruction and a parameter setting instruction to the lamp 10;
when the controller 20 sends the first preparation instruction, the lamp 10 receives the first preparation instruction and executes preparation work related to parameter setting;
the first preparation instruction comprises a cache clearing instruction, a positioning instruction and a resetting instruction;
when the sent first preparation instruction is a cache clearing instruction, all the lamps 10 receiving the cache clearing instruction execute cache clearing work;
when the sent first preparation instruction is a positioning instruction, all the lamps 10 receiving the positioning instruction execute positioning search work, and mark respective search results;
when the sent first preparation instruction is a reset instruction, all the lamps 10 receiving the reset instruction execute reset work;
the controller 20 sequentially sends a cache clearing instruction, a lamp 10 positioning instruction and a serial number resetting instruction to the lamp 10, and resets the sending counter, after the lamp 10 receives the cache clearing instruction, the lamp 10 positioning instruction and the serial number resetting instruction sent by the controller 20, the cache clearing is sequentially executed, and the lamp 10 is positioned, marked and searched and is reset.
After the above preparation work is completed, the controller 20 sends a parameter setting instruction (serial number, DMX512 start address, channel mode, offline mode, number of packets, sequential address, odd-even address) set by the user, sends a counter plus 1, and waits for the first lamp 10 to reply after a short time delay;
as shown in fig. 3, the lamp 10 first determines whether the machine is the first lamp 10;
if the non-first lamp 10 receiving the parameter setting instruction is not the first lamp, ignoring the parameter setting instruction;
if the first lamp 10 receiving the parameter setting instruction is the first lamp 10, responding to the parameter setting instruction, and serially transmitting the parameter setting instruction data to the subsequent lamps 10;
after the first lamp 10 receives the parameter setting instruction, the serial number, the channel mode and the offline mode of the first lamp 10 are updated according to the parameter content, a new address is calculated and stored according to the address, the grouping number and the address setting mode in the parameters, and meanwhile, the first lamp 10 is set to be in a full-bright state, and other lamps 10 are set to be in a half-bright state;
and adding 1 to the serial number in the parameters, calculating a new address by using the address, the grouping number, the address setting mode and the parameters of the machine in the parameters, replacing the address in the original parameters, packaging the parameter data, sending the packaged parameter data to the next lamp 10 through an RS485 serial number communication line, and after the sending is finished, transmitting the parameters of the machine back to the controller 20.
In other lamps 10 that receive the batch parameter setting instruction from the RS485 serial communication line, the processing flow is as shown in fig. 4, and the serial number, the channel mode, and the offline mode are updated according to the content of the parameter, and a new address is calculated and stored according to the address, the grouping number, and the address setting mode in the parameter. Adding 1 to the serial number in the parameters, calculating a new address by using the address, the grouping number, the address setting mode and the parameters of the machine in the parameters, replacing the address in the original parameters, packaging the parameter data, sending the packaged parameter data to the next lamp 10 through an RS485 serial number communication line, and setting the lamp 10 which subsequently receives the parameter setting instruction to be in a semi-bright state;
after the first lamp 10 sends the parameter setting instruction, the first lamp 10 returns the state information of the first lamp to the controller 20 through the DMX512 communication line;
the controller 20 waits for the first lamp 10 to return the status information, and in this embodiment, if the returned status information is not received after a specified time, the controller repeatedly sends a parameter setting instruction to the first lamp 10 for 5 times;
if the controller 20 does not receive the returned status information for 5 consecutive times, the parameter setting instruction is ended;
if the controller 20 receives the returned status information, resetting the sending counter again, entering a setting result information collection state of the lamp 10, and setting the initial serial number of the query as the serial number set by the user;
sending a serial number lamp 10 query instruction to the lamps 10, delaying for a short time, comparing the serial number in the instruction with the self serial number by all the lamps 10, if the serial numbers are matched, sending the state information of the local machine to the controller 20, and if the serial numbers are not matched, ignoring the instruction;
if the controller 20 receives the status information sent by the lamp 10, the status information is added to the display list cache area of the display module 23, and then the serial number is added with 1 for the next round of inquiry;
if the controller 20 does not receive the state information of the lamp 10 after the receiving time is exceeded, repeating the step of sending a serial number lamp 10 query instruction to the lamp 10 for 5 times;
if the 5 times of receiving fails, finishing the query;
and after the information query of the lamps 10 is finished, loading the information of the lamps 10 in the display cache area into a lamp 10 list in a lamp 10 information checking window, and finishing the batch parameter setting process.
Note that the processing of adding 1 to the serial number is an embodiment implemented in this embodiment, and other embodiments may be implemented according to actual circumstances.
By the method for setting the parameters of the lamp 10, the parameters of the lamp 10 can be quickly set in batches, and the relevant parameter information of the lamp 10 on line can be read, so that reference is provided for modifying the parameters of the lamp 10; meanwhile, after the parameter setting instruction is sent, the first lamp 10 enters a full-bright state, and the other lamps 10 enter a half-bright state, so that the method can be used for line fault troubleshooting, and the maintenance efficiency can be effectively improved.
The method for inquiring the state of the lamp 10 in batch comprises the following steps:
the controller 20 sequentially sends a second preparation instruction, a state query instruction and a handover response control right instruction to the lamp 10;
when sending the second preparation instruction, the luminaire 10 receives the second preparation instruction and performs preparation work related to status query;
when the first lamp 10 receives the second preparation instruction, the response control right is obtained;
when a state query instruction is sent, the lamp 10 which responds to the control right returns the state information of the lamp to the controller 20;
the controller 20 receives the returned status information and sends the status information to the display module 23;
the display module 23 receives and displays the status information of the lamp 10 sent by the controller 20;
when a handover response control right instruction is sent, the luminaire 10 that acquires the response control right transmits the response control right to the next luminaire 10;
the controller 20 reads all the on-line lamps 10 by repeatedly sending the status query command and the handover response control right command.
The specific operation is as follows:
as shown in fig. 5 and fig. 6, a 'search' button is clicked in a window of "view lamp 10 information", the controller 20 sequentially sends a cache clearing instruction to the lamp 10, positions the lamp 10, and resets a sending counter; after receiving the command, the lamps 10 perform actions of clearing the cache and positioning and searching the lamps 10, and after the positioning and searching are finished, the first lamp 10 acquires the response control right, and the other lamps 10 lose the response control right.
The controller 20 sends a batch state query instruction, the sending counter is increased by 1, the time is delayed for a short time, if the reply of the lamp 10 is not received, the sending and receiving test operation is carried out for 5 times at most, if the information of the lamp 10 is not received for 5 times, the searched result is displayed in a lamp 10 list in a window of viewing the information of the lamp 10, and the batch state query task is finished;
if the controller 20 receives the reply of the lamp 10, the counter is clear 0, the received lamp 10 information is added into a cache region of a display list of the lamp 10, a handover response control right instruction is sent, the counter is added with 1, and a short time is delayed; at this time, the luminaire 10 having the controller 20 response right transmits the control response right to the next luminaire 10, cancels the own controller 20 response right, and responds to the controller 20, and the operation flow is shown in fig. 6; and if the controller 20 receives the reply of the lamp 10, it sends a counter of 0, and performs the inquiry operation of the next lamp 10
If the controller 20 does not receive the reply of the lamp 10, the sending and receiving test operation is performed for 5 times at most, if the information of the lamp 10 is not received for 5 times, the searched result is displayed in the lamp 10 list in the window of viewing the information of the lamp 10, and the batch state query task is finished.
The controller 20 sends the state query command and the handover response control right command, so that the states of all the on-line lamps 10 can be quickly read, the states of all the lamps 10 can be clearly known, the lamps 10 do not need to be tested one by one, all the on-line lamps 10 can be conveniently managed and operated, and the working efficiency is improved.
The parameter modification method of the single lamp 10 comprises the following steps:
selecting a luminaire 10 to be modified from the list of luminaires 10 in the "view luminaire 10 information" window of the controller 20;
clicking an 'edit' button to enter a lamp 10 attribute window as shown in fig. 9, displaying the name and UID number of the lamp 10 by the title of the window, modifying each parameter of the lamp 10 in the lamp 10 attribute window, then clicking a 'save' button, sending the modified parameter to the lamp 10 by the controller 20, comparing the UID of the local machine with the UID in the parameters after the lamp 10 receives an instruction, updating the parameter if the UID is matched, otherwise ignoring the instruction.
The parameters may be individually modified by operating the controller 20 for the luminaires 10 in the list of luminaires 10 of the display module 23.
The test method of the lamp 10 comprises the following steps:
color & DMX512 signal line test:
in the "test" window of the controller 20, each color button is clicked, as shown in fig. 11, if the lamp 10 supports the color, the color is lit, and through the color test, the color supported by the lamp 10 can be tested, because the controller 20 and the lamp 10 are connected in parallel by using the DMX512 signal line, if the lamp 10 does not respond to the black and full-light command, the DMX512 parallel signal line may fail, or the lamp 10 may fail.
The controller 20 is operated to switch all the lamps 10 according to the designated color, so as to test whether the color of the lamp 10 and the DMX512 line are clear.
The sequential test and the RS485 communication sequence line test of the lamp 10 are as follows:
clicking the 'test 1' button in the "test" window of the controller 20, as shown in fig. 11, the color of the first fixture 10 will flow to the rear of the fixture 10; because the lamps 10 and the RS485 communication sequence lines in front of the lamps 10 are connected in series, lamps 10 with different wiring sequences and faults of the sequence communication lines can be quickly found out through the flowing colors of the lamps 10.
By operating the controller 20, the water flowing effect of the lamps 10 can be realized to test whether the RS485 sequence lines between the lamps 10 are smooth.
DMX512 signal output test:
in the "DMX 512 channel editing" window of the controller 20, as shown in fig. 12, the values of the channels can be modified, and the modified contents are output to the DMX512 signal line in real time, where they can be used to test the functions of the lamp 10.
The controller 20 is operable to output an editable DMX512 signal to the outside for testing the lamp 10.
DMX512 signal input view:
in the "view DMX512 data" window of the controller 20, as shown in fig. 13, data on the DMX512 communication line can be viewed by operating the viewing related button, and can be used for detecting the DMX512 communication line.
The controller 20 is operable to sense data on the input lines for testing the controlled output signal.
The invention provides a centralized control method and a centralized control device for lamps 10, the centralized control method for lamps 10 can realize rapid batch or single setting of parameters of the lamps 10, can read the states of the lamps 10 in batches, can rapidly troubleshoot faults and discover fault reasons by testing or detecting the lamps 10 at a controller 20, and improves the construction and maintenance efficiency of the lamps 10 in engineering; in addition, the lamps 10 do not need to be sequentially in one-to-one correspondence with the lamps 10 which are actually installed, and the addresses of the lamps 10 do not need to be manually set one by one, so that a large amount of working time can be saved, and the working efficiency is improved.
The above embodiments are provided to illustrate, reproduce and deduce the technical solutions of the present invention, and to fully describe the technical solutions, the objects and the effects of the present invention, so as to make the public more thoroughly and comprehensively understand the disclosure of the present invention, and not to limit the protection scope of the present invention.
The above examples are not intended to be exhaustive of the invention and there may be many other embodiments not listed. Any alterations and modifications without departing from the spirit of the invention are within the scope of the invention.

Claims (9)

1. A centralized management method for lamps is characterized by comprising the following steps:
the controller sends control instructions to the lamps, wherein at least two lamps are arranged, and the control instructions comprise a first preparation instruction and a parameter setting instruction;
the lamp receives the control instruction and executes work according to the type of the control instruction;
when the sent control instruction is a first preparation instruction, the lamp receives the first preparation instruction and executes preparation work related to parameter setting;
when the sent control instruction is a set parameter setting instruction;
if the first lamp receiving the parameter setting instruction is the first lamp, responding to the parameter setting instruction, and serially transmitting the parameter setting instruction data to the subsequent lamps;
if the non-first lamp receiving the parameter setting instruction is not the first lamp, ignoring the parameter setting instruction;
controlling the first lamp which has received the parameter setting instruction to be in a full-bright state and the other lamps to be in a half-bright state according to the parameter setting instruction, and storing the acquired parameters;
the controller reads related lamp state information from the lamp and sends the lamp state information to the display module;
and the display module receives and displays the lamp state information sent by the controller.
2. The lamp centralized management method according to claim 1, further comprising the steps of:
the first preparation instruction comprises a cache clearing instruction, a positioning instruction and a resetting instruction;
when the sent first preparation instruction is a cache clearing instruction, all lamps receiving the cache clearing instruction execute cache clearing work;
when the sent first preparation instruction is a positioning instruction, all lamps receiving the positioning instruction execute positioning searching work and mark respective searching results;
and when the sent first preparation instruction is a reset instruction, all the lamps receiving the reset instruction execute reset work.
3. The lamp centralized management method according to claim 1, further comprising the steps of:
when a first lamp receives a parameter setting instruction, updating the serial number of the first lamp, calculating the address of the first lamp according to the parameters set by a user, storing the address, and setting the first lamp to be in a full-bright state and other lamps to be in a half-bright state;
and updating the address value according to the content of the parameter, processing the serial number, sending the serial number to the next lamp through the first communication line, sending a command to the next lamp through the first communication line after the next lamp receives the parameter setting command from the first communication line, and setting the lamp subsequently receiving the parameter setting command to be in a semi-bright state.
4. The lamp centralized management method according to claim 3, further comprising the steps of:
after the first lamp sends the parameter setting instruction, the first lamp returns the state information of the first lamp through a second communication line;
the controller waits for the first table lamp to transmit the state information back, and if the state information transmitted back is not received after the specified time, the controller repeatedly transmits a parameter setting instruction to the first table lamp for multiple times;
if the controller does not receive the returned state information continuously for multiple times, ending the parameter setting instruction;
if the controller receives the returned state information, entering a lamp setting result information collection state, and setting the initial serial number of the query as the serial number set by the user;
sending a serial number lamp inquiry command to the lamp, and returning self state information of the lamp matched with the serial number;
if the controller receives the state information sent by the lamp, the state information of the lamp is transmitted to the display module, and the lamp is operated again after the serial number is processed;
if the controller does not receive the state information of the lamp after the receiving time is exceeded, repeatedly sending a serial number lamp query instruction to the lamp for many times;
and if the receiving fails for multiple times, checking a parameter setting result through the display module, and finishing the parameter setting.
5. The centralized lighting fixture management method of claim 1,
the controller sends control instructions to the lamps, wherein the lamps are at least two, and the control instructions comprise a second preparation instruction, a state query instruction and a transfer response control right instruction;
when the sent control instruction is a second preparation instruction, the lamp receives the second preparation instruction and executes preparation work related to state query;
when the first desk lamp receives the second preparation instruction, the first desk lamp acquires a response control right;
when the sent control command is a state query command, the lamp responding to the control right returns the state information of the lamp to the controller;
the controller receives the returned state information and sends the state information to the display module;
the display module receives and displays the lamp state information sent by the controller;
when the sent control command is a transfer response control right command, the lamp acquiring the response control right transmits the response control right to the next lamp;
the controller reads all the on-line lamps by repeatedly sending a state query instruction and a transfer response control right instruction.
6. The lamp centralized management method according to claim 5, further comprising the steps of:
the second preparation instruction comprises a cache clearing instruction and a positioning instruction;
when the sent second preparation instruction is a cache clearing instruction, all lamps receiving the cache clearing instruction execute cache clearing work;
and when the sent second preparation instruction is a positioning instruction of the lamp, all the lamps receiving the positioning instruction execute positioning search work, wherein the first lamp obtains the control response right, other lamps lose the control response right, and the search results of the lamps are marked.
7. The lamp centralized management method according to claim 5, further comprising the steps of:
when the controller sends a state query instruction, if the state information returned by the lamp is received, the state information is sent to the display module, a transfer response control right instruction is sent to the lamp, and after the lamp responds, the response control right is sent to the next lamp through the first communication line;
if the controller does not receive the state information returned by the lamp after the receiving time is exceeded, the controller repeatedly sends a state inquiry command for many times;
and if the controller fails to receive the returned state information for multiple times, checking the state query result through the display module, and finishing the state query.
8. A lamp centralized management device adopted by the lamp centralized management method according to claim 1, comprising a controller and a plurality of lamps;
the lamp comprises an input end, an output end, a first communication module and a second communication module;
the input end and the output end are respectively used as ports for connecting the lamps and are used for realizing the connection between the lamps;
the first communication module is used for establishing a first communication circuit and realizing connection and signal transmission among a plurality of lamps;
the second communication module is used for establishing a second communication line to realize the connection and signal transmission between the lamps and the controller;
the controller comprises a third communication module, a display module and a control module;
the third communication module is used for establishing a third communication circuit, wherein the third communication module corresponds to the second communication module and realizes the connection and signal transmission between the controller and the plurality of lamps;
the display module is used for receiving and displaying the state information of the lamp;
the control module is used as a control core for lamp centralized management, and is used for controlling the lamps to execute work by sending control instructions to the lamps so as to realize centralized control of the lamps; the state information of the lamp can be acquired and received according to the type of the control instruction, and the state information is sent to the display module.
9. The lamp centralized management apparatus of claim 8, wherein the controller is connected to the second communication lines of the plurality of lamps in parallel via the third communication line, the plurality of lamps are connected in series via the first communication line, and the output terminals of the lamps are connected to the input terminals of the next lamp.
CN202010158000.XA 2020-03-09 2020-03-09 Centralized management method and device for lamps Active CN111405736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010158000.XA CN111405736B (en) 2020-03-09 2020-03-09 Centralized management method and device for lamps

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010158000.XA CN111405736B (en) 2020-03-09 2020-03-09 Centralized management method and device for lamps

Publications (2)

Publication Number Publication Date
CN111405736A CN111405736A (en) 2020-07-10
CN111405736B true CN111405736B (en) 2022-05-13

Family

ID=71430583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010158000.XA Active CN111405736B (en) 2020-03-09 2020-03-09 Centralized management method and device for lamps

Country Status (1)

Country Link
CN (1) CN111405736B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111913501A (en) * 2020-08-31 2020-11-10 上海光联照明有限公司 Lamp control system based on attitude-adjustable lamp and lamp attitude adjusting method
CN112074063B (en) * 2020-09-14 2023-03-24 广州彩熠灯光股份有限公司 Method and device for configuring lamp information
CN112135384B (en) * 2020-09-28 2023-02-24 江门市征极光兆科技有限公司 Automatic testing device and method for WIFI lamp
CN113784477B (en) * 2021-08-11 2023-11-03 深圳市智岩科技有限公司 Lighting unit control method, lighting unit control device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103476187A (en) * 2013-09-30 2013-12-25 福州大学 Tunnel LED lighting dimming device and dimming method
KR20140097760A (en) * 2013-01-30 2014-08-07 주식회사카이저솔루션 System for controlling an emergency light using the dali communication protocol and the controlling apparatus
CN107770919A (en) * 2017-12-01 2018-03-06 上海光联照明有限公司 LED lamp system and address configuration method based on DMX512 agreements
CN108289359A (en) * 2017-12-14 2018-07-17 温州职业技术学院 A kind of long distance wireless monitoring method for road lamps based on chain network
CN207720487U (en) * 2018-01-08 2018-08-10 广东丰光科技有限公司 A kind of Intelligent lamp working condition is shown and system is arranged in menu parameter

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7668074B2 (en) * 2004-03-31 2010-02-23 Lg Electronics Inc. Home network system
CN102377633B (en) * 2010-08-06 2014-10-08 北京乾唐视联网络科技有限公司 Communication connection method and system of access network device
CN104038328A (en) * 2014-05-21 2014-09-10 北京奇艺世纪科技有限公司 Multi-screen interaction message transmission method, device and system
AU2016343822B2 (en) * 2015-10-30 2019-05-02 Milwaukee Electric Tool Corporation Remote light control, configuration, and monitoring
US9961750B2 (en) * 2016-02-24 2018-05-01 Leviton Manufacturing Co., Inc. Advanced networked lighting control system including improved systems and methods for automated self-grouping of lighting fixtures
US11032166B2 (en) * 2018-07-27 2021-06-08 Disney Enterprises, Inc. Secondary robot commands in robot swarms

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140097760A (en) * 2013-01-30 2014-08-07 주식회사카이저솔루션 System for controlling an emergency light using the dali communication protocol and the controlling apparatus
CN103476187A (en) * 2013-09-30 2013-12-25 福州大学 Tunnel LED lighting dimming device and dimming method
CN107770919A (en) * 2017-12-01 2018-03-06 上海光联照明有限公司 LED lamp system and address configuration method based on DMX512 agreements
CN108289359A (en) * 2017-12-14 2018-07-17 温州职业技术学院 A kind of long distance wireless monitoring method for road lamps based on chain network
CN207720487U (en) * 2018-01-08 2018-08-10 广东丰光科技有限公司 A kind of Intelligent lamp working condition is shown and system is arranged in menu parameter

Also Published As

Publication number Publication date
CN111405736A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN111405736B (en) Centralized management method and device for lamps
CN106094804B (en) QT-based cross-platform PLC board-level tool testing system and testing method thereof
CN101949779B (en) On-line performance test system of variable-frequency air conditioning outdoor unit
CN104007340A (en) Electronic product aging test system and aging test method
CN108667661B (en) Automatic numbering system and numbering method for in-situ distributed protection management host
EP3965535B1 (en) Method for quickly setting dmx addresses of lamps
CN103995197A (en) Aging test equipment for electronic products
CN203849346U (en) Aging test apparatus
CN111885579A (en) Bluetooth device test method, device and storage medium
CN104951421A (en) Automatic numbering and type recognition method and device for serial bus communication devices
CN105282904B (en) A kind of control system and its control method based on DMX512 agreement
CN111314180A (en) Ethernet link test method, terminal and storage medium
CN111023262B (en) Modbus protocol conversion device and multi-online centralized control system
CN110737660B (en) Data processing method and device and computer readable storage medium
CN102377606A (en) Network connection device and port test method thereof
CN114594372B (en) Test tool
CN115079676B (en) Dual control board (FCT) system and testing method thereof
CN103376369B (en) The method of testing of communication load and device
CN217404767U (en) Controller testing device
CN211878440U (en) Communication switching module and equipment testing system
CN202996239U (en) LED dot matrix module defect detection device
CN111930105B (en) Intelligent testing device and system for fire-fighting linkage control module
CN113835042A (en) Aviation cable automatic detection device and detection method for open circuit and short circuit thereof
CN204154883U (en) A kind of LED light tester
CN116566951A (en) Method for batch searching and setting DMX512 addresses of lamps

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