Lighting control system and method

By utilizing the bus-type topology of the existing lighting power lines in the lighting control system, remote control and signal acquisition of lighting equipment for high-rise office buildings or large commercial squares is achieved, the problem of low control efficiency in the existing technology is solved, and the efficiency of lighting management is improved.

CN115696705BActive Publication Date: 2025-03-25ZHEJIANG SUPCON INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211402477.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-09
Publication Date
2025-03-25
Estimated Expiration
2042-11-09

AI Technical Summary

Technical Problem

In the prior art, lighting equipment control in high-rise office buildings or large commercial squares mainly relies on manual manual and cannot achieve remote control and management, resulting in low control efficiency.

Method used

A lighting control system is designed, using the existing lighting power lines to form a bus-type topology structure, and the communication connection with the host device and the slave device through the control unit. The host device receives control commands and forwards them to the slave device through the power lines. The slave device analyzes the control commands and controls the lighting device switches or collects sensor data, and finally sends the data back to the host device.

Benefits of technology

Remote switch control of lighting equipment in the entire building and signal acquisition on each floor are realized, the control efficiency of lighting equipment is improved, and additional wiring construction is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115696705B_ABST
    Figure CN115696705B_ABST
Patent Text Reader

Abstract

The present application provides a lighting control system and method, which relates to the field of automation control technology. The present application mainly uses the existing lighting power lines to form a bus-type topology lighting control system in the lighting power network of the building. The host device receives the control command message issued by the control unit, and uses the power carrier technology to forward the control command message to each connected slave device. The target slave device parses the received control command message to obtain a control instruction, and controls the lighting device connected to the target slave device to switch on and off and / or obtain the collected data collected by the sensor according to the control instruction, and uses the power carrier technology to send the collected data to the host device, so that the host device sends the collected data to the control unit, realizing remote control of the switch of the lighting equipment in the entire building and signal collection on each floor, improving the control efficiency of each lighting device, and avoiding additional wiring construction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automation control technology, and in particular to a lighting control system and method. Background Art

[0002] Generally, lighting equipment in high-rise office buildings and large commercial plazas is characterized by a wide distribution range and large number.

[0003] At present, the lighting control and management of high-rise office buildings or large and small commercial plazas are still mainly based on traditional manual control methods, which can only simply control the on or off of each lighting device.

[0004] However, the existing control method has the problem that the lighting equipment cannot be remotely controlled and managed, which leads to low control efficiency of each lighting equipment. Summary of the invention

[0005] The purpose of this application is to provide a lighting control system and method to address the deficiencies in the prior art, so as to solve the related problems existing in the prior art.

[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:

[0007] In a first aspect, an embodiment of the present application provides a lighting control system, the lighting control system comprising: a control unit, at least one host device, and slave devices deployed in each floor area, the control unit being communicatively connected with each of the host devices respectively;

[0008] Each of the host devices is communicatively connected to at least one slave device via a power line; each of the slave devices is communicatively connected to a sensor in a floor area and a lighting device in a floor area;

[0009] The host device is used to receive the control command message sent by the control unit, and forward the control command message to each of the connected slave devices through the power line;

[0010] The slave device is used to parse the received control command message to obtain a control instruction, send the control instruction to the connected lighting device and / or sensor to control the lighting device to switch on and off and / or control the sensor to collect data, and send the collected data of the sensor to the host device;

[0011] The host device is further used to send the collected data to the control unit so that the control unit analyzes and processes the collected data.

[0012] Optionally, the host device includes: a first processing module, a first modem and a first isolation transformer;

[0013] The first end of the first processing module is connected to the control unit for communication, and the second end of the first processing module is connected to the first end of the first modem; the second end of the first modem is connected to the first end of the first isolation transformer, and the second end of the first isolation transformer is connected to the phase line of the power line corresponding to the host device, so as to access the alternating current through the power line;

[0014] The first processing module is used to transmit the control command message received from the control unit to the first modem;

[0015] The first modem is used to modulate the control command message to obtain a modulated control command message, and transmit the modulated control command message to the first isolation transformer;

[0016] The first isolation transformer is used to couple the modulated control command message to the power line, and send it to each of the slave devices in the floor area through the power line.

[0017] Optionally, the host device further includes: a first power supply module;

[0018] The input end of the first power module is connected to the phase line of the power line corresponding to the host device, so as to access the alternating current through the power line, and the first power module is used to convert the accessed alternating current into low-voltage direct current, and the low-voltage direct current is outputted from the output end of the first power module;

[0019] The first power supply module is connected to a power supply end of the first processing module and a power supply end of the first modem respectively, and is used to provide power to the first processing module and the first modem.

[0020] Optionally, the slave device includes: a sensor, a second processing module, a second modem, a second isolation transformer, and a relay group;

[0021] The sensor is used to obtain the collected data of the electric control room on the floor where the slave device is located, the output end of the sensor is connected to the first end of the second processing module, and the sensor is used to send the collected data to the second processing module;

[0022] The second end of the second processing module is connected to the first end of the second modem, and the second processing module is used to transmit the collected data to the second modem;

[0023] The second modem is used to modulate the collected data to obtain modulated collected data;

[0024] The second end of the second modem is connected to the first end of the second isolation transformer, the second end of the second isolation transformer is connected to the phase line corresponding to the slave device in the power line, so as to access the alternating current through the power line, and the second isolation transformer is used to couple the modulated collected data to the power line and send it to the host device in the floor area through the power line;

[0025] The first end of the relay group is connected to the third end of the second processing module, the second end of the relay group communicates with the lighting equipment in the floor area where the slave device is located, and the third end of the relay group is connected to the phase line in the power line corresponding to the slave device. The relay group is used to control the lighting equipment in the target area to switch on and off according to the control instructions sent by the slave device.

[0026] Optionally, the first isolation transformer is further used to receive the modulated collected data returned by each of the slave devices through the power line, and transmit the modulated collected data to the first modem;

[0027] The first modem is also used to demodulate the modulated collected data to obtain the collected data, and transmit the collected data to the first processing module.

[0028] Optionally, the slave device further includes: a second power supply module;

[0029] The input end of the second power supply module is connected to the phase line corresponding to the slave device in the power line to access the alternating current through the power line, and the second power supply module is used to convert the alternating current into low-voltage direct current, and the low-voltage direct current is output from the output end of the second power supply module;

[0030] The second power supply module is respectively connected to the power supply end of the second processing module, the power supply end of the second modem, the power supply end of the sensor and the power supply end of the relay group, and is used to provide electrical energy to the second processing module, the second modem, the sensor and the relay group.

[0031] In a second aspect, an embodiment of the present application further provides a lighting control method, which is applied to the host device provided in the first aspect above, and the method includes:

[0032] Receive control command messages sent by the control unit;

[0033] Forwarding the control command message to each connected slave device through the power line, so that the target slave device parses the received control command message to obtain a control instruction, and sends the control instruction to the lighting device and / or sensor connected to the target slave device to control the lighting device to switch on and off and / or control the sensor to collect data, and sends the collected data of the sensor to the host device;

[0034] receiving, via the power line, collected data sent by the target slave device;

[0035] The collected data is sent to the control unit so that the control unit analyzes and processes the collected data.

[0036] Optionally, forwarding the control command message to each connected slave device through the power line includes:

[0037] Modulating the control command message to obtain a modulated control command message;

[0038] The modulated control command message is coupled to the power line, and the modulated control command message is forwarded to each of the connected slave devices through the power line.

[0039] Optionally, the receiving, through the power line, the collected data sent by a sensor in the target slave device includes:

[0040] receiving the modulated collected data returned by the target slave device through the power line;

[0041] The modulated collected data is demodulated to obtain the collected data.

[0042] Optionally, forwarding the control command message to each connected slave device through the power line includes:

[0043] The control command message is forwarded to each connected slave device through the power line by adopting a cyclic polling method, a jump polling method and / or a global polling method.

[0044] The beneficial effects of this application are:

[0045] An embodiment of the present application provides a lighting control system and method. The present application mainly utilizes existing lighting power lines in a lighting power network of a building to form a lighting control system with a bus topology structure. In the system, a control unit is respectively connected to each host device, and each host device is connected to at least one slave device via a power line communication connection. Each slave device is connected to a sensor in an area of ​​the floor where it is located and to a lighting device in the area of ​​the floor where it is located. The host device receives a control command message issued by the control unit, and forwards the control command message to each connected slave device by using power carrier technology. The target slave device parses the received control command message to obtain a control instruction, and controls the lighting device connected to the target slave device to switch on and off and / or obtains data collected by the sensor according to the control instruction, and sends the collected data to the host device by using power carrier technology, so that the host device sends the collected data to the control unit, thereby realizing remote control of the switching of lighting devices in the entire building and signal collection on each floor, improving the control efficiency of each lighting device, and avoiding additional wiring construction. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 A schematic diagram of the architecture of a lighting control system provided in an embodiment of the present application;

[0048] Figure 2 A schematic diagram of the topological structure of the lighting control system provided in the embodiment of the present application;

[0049] Figure 3 A schematic diagram of the structure of a host device in a lighting control system provided in an embodiment of the present application;

[0050] Figure 4 A schematic diagram of the structure of a slave device in a lighting control system provided in an embodiment of the present application;

[0051] Figure 5 A flowchart of a lighting control method provided in an embodiment of the present application;

[0052] Figure 6 A schematic diagram of the format of a control command message in a lighting control method provided in an embodiment of the present application;

[0053] Figure 7 A schematic diagram of a flow chart of another lighting control method provided in an embodiment of the present application;

[0054] Figure 8 A flowchart of another lighting control method provided in an embodiment of the present application.

[0055] Icon: 100-lighting control system; 101-control unit; 102-host device; 103-slave device; 301-first processing module; 302-first modem; 303-first isolation transformer; 304-first power supply module; 401-sensor; 402-second processing module; 403-second modem; 404-second isolation transformer; 405-relay group; 406-second power supply module. DETAILED DESCRIPTION

[0056] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.

[0057] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0058] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0059] First of all, before specifically describing the technical solution provided by the present application, a brief description is first given of the architecture of the lighting control system involved in the present application.

[0060] Figure 1 This is a schematic diagram of the architecture of the lighting control system provided in the embodiment of the present application, refer to Figure 1As shown, the lighting control system 100 includes: a control unit 101, at least one host device 102, and slave devices 103 deployed in each floor area, wherein the control unit 101 is communicatively connected to each host device respectively, for example, the control unit 101 can be communicatively connected to each host device through a computer network.

[0061] Exemplarily, for example, the control unit 101 can be a device with operating and display functions, such as a personal computer, a laptop computer, a smart phone, a tablet computer, and a portable wearable device, so that human-computer interaction can be performed between the control unit 101 and each host device 102 to control the switching of lighting equipment in the entire building and the mutual communication with the lighting controller.

[0062] Continue to refer Figure 1 Each host device 102 is communicatively connected to at least one slave device 103 via a power line, and each slave device 103 is communicatively connected to a sensor in the area of ​​the floor where it is located and a lighting device in the area of ​​the floor where it is located.

[0063] It should be understood that the lighting power supply of high-rise office buildings or large and small commercial plazas is generally three-phase electricity directly entering the building. Considering the power balance between the three phases, they are cross-distributed, each occupying one-third of the floor or area. Each phase is allocated to the adjacent floor or area, and power carrier communication can be carried out in each phase.

[0064] Therefore, the present application proposes to utilize existing lighting power lines to form a lighting control system 100 with a bus topology structure to control the switching of lighting equipment in the entire building and the mutual communication with the lighting controller.

[0065] Specific reference Figure 2As shown, for example, a certain building D has 24 floors, wherein the lighting devices on floors 1-8 are all connected to the neutral line and phase A electricity, the lighting devices on floors 9-16 are all connected to the neutral line and phase B electricity, and the lighting devices on floors 17-24 are all connected to the neutral line and phase C electricity. Therefore, the lighting control system for building D may include: 1 control unit, 3 host devices (i.e., host device 1, host device 2, and host device 3), and 24 slave devices (i.e., slave device 1, slave device 2, ..., slave device 24) deployed on floors 1-8, floors 9-16, and floors 17-24, wherein the host device 1 is connected to each slave device deployed on each floor of floors 1-8 via the neutral line in the power line and the phase A electricity communication, and the host device 2 is connected to each slave device deployed on each floor of floors 9-16 via the neutral line in the power line and the phase C electricity communication. The B-phase electrical communication is connected, and the host device 3 is connected to the slave devices deployed on each floor of the 17-24 floors via the neutral line in the power line and the C-phase electrical communication, that is, the three-phase AC power is responsible for different floor areas, respectively, and is composed of different power carrier networks; the host device 1, the host device 2 and the host device 3 are all connected to the control unit via a wired network or a wireless network; that is, each floor area is composed of a host device and multiple slave devices, and the slave devices deployed on each floor control the lighting switches on the floor and collect information such as temperature and humidity in the electrical control room.

[0066] It should be noted that this application uses a narrowband carrier with a communication rate of 2400b / s and low-speed communication. The theoretical communication distance is 300 meters, but in actual use, the distance between adjacent floors or areas is limited to within 100 meters, and the packet loss rate is quite low, which solves the serious packet loss problem of current power carrier communication.

[0067] The working principle of each host device and slave device will be described in detail as follows.

[0068] Continue to refer Figure 1 The host device 102 is used to receive the control command message sent by the control unit 101, and forward the control command message to each connected slave device through the power line. Figure 2 As shown, after receiving the control command message sent by the control unit, the host device 1 forwards the control command message to the slave devices deployed in each layer of layers 1-8, namely, slave devices 1-slave devices 8, through the neutral line and phase A in the power line.

[0069] Continue to refer Figure 1 The slave device 103 is used to parse the received control command message to obtain a control instruction, send the control instruction to the connected lighting device and / or sensor to control the lighting device to switch on and off and / or control the sensor to collect data, and send the collected data of the sensor to the host device. For example, continue to refer to Figure 2As shown, a corresponding node number can be set for each slave device, such as by using a dial code, and the number can be skipped but not repeated. For example, the node number of the slave device deployed on the 8th floor is 8. Each slave device works in the receiving state by default and can receive all control command messages on the power line. If the node number in the control command message M1 received by the slave device 8 is different from that of the slave device, it continues to receive the next control command message; if it is the same, the slave device 8 receives the control command message M1 through the neutral line and the A phase electricity in the power line, and parses the control command message M1 to obtain a control instruction, and controls the switch of the lighting device connected to the slave device 8 and / or reads the collected data collected by the sensor according to the control instruction; then, the slave device 8 switches to the sending mode, and sends the collected data to the host device 1 through the power line. After the collected data is sent out, the slave device 8 immediately switches back to the receiving mode and continues to receive the next control command message.

[0070] Continue to refer Figure 1 The host device 102 is also used to send the collected data to the control unit 101, so that the control unit analyzes and processes the collected data. Figure 2 As shown, when the host device 1 receives the collected data sent from the slave device 8 through the power line, and sends the collected data to the control unit via the network, the control unit analyzes and processes the collected data to determine the operating status of the electrical control room on the floor where the slave device 8 is located, to avoid the operating temperature and / or humidity of the electrical control room on each floor being too high, so as to ensure the safety and reliability of the operation of the lighting equipment in each floor area.

[0071] In summary, an embodiment of the present application provides a lighting control system. The present application mainly utilizes existing lighting power lines in the lighting power network of a building to form a lighting control system with a bus topology structure. The control unit is respectively connected to each host device, and each host device is connected to at least one slave device via a power line communication connection. Each slave device is connected to a sensor in the floor area and a lighting device in the floor area. The host device receives a control command message issued by the control unit, and forwards the control command message to each connected slave device using power carrier technology. The target slave device parses the received control command message to obtain a control instruction, and controls the lighting device connected to the target slave device to switch on and off and / or obtain the collected data collected by the sensor according to the control instruction, and sends the collected data to the host device using power carrier technology, so that the host device sends the collected data to the control unit, thereby realizing remote control of the switching of lighting devices in the entire building and signal collection on each floor, improving the control efficiency of each lighting device, and avoiding additional wiring construction.

[0072] Through the following examples, the above Figure 1 The structure of the host device is described in detail.

[0073] refer to Figure 3 As shown, the host device 102 includes: a first processing module 301 , a first modem 302 , and a first isolation transformer 303 .

[0074] The first processing module 301 may include a chip with data processing function such as a single chip microcomputer. The first modem 302 is used to modulate or demodulate the received signal. The first modem 302 may include a processing chip with modulation and demodulation function such as an ST7538 modulation and demodulation chip.

[0075] The first end of the first processing module 301 is connected to the control unit 101 for communication, and the second end of the first processing module 301 is connected to the first end of the first modem 302; the second end of the first modem 302 is connected to the first end of the first isolation transformer 303, and the second end of the first isolation transformer 303 is connected to the phase line corresponding to the host device 102 in the power line to access the AC power through the power line. For example, continue to refer to Figure 2 As shown, the phase line corresponding to the host device 1 is the neutral line and the A-phase electricity in the power line, that is, the second end of the first isolation transformer in the host device 1 is connected to the neutral line and the A-phase electricity in the power line.

[0076] The first processing module 301 is configured to transmit the control command message received from the control unit 101 to the first modem 302 .

[0077] The first modem 302 is used to modulate the control command message to obtain a modulated control command message, and transmit the modulated control command message to the first isolation transformer 303 .

[0078] The first isolation transformer 303 is used to couple the modulated control command message to the power line, and send it to each slave device in the floor area through the power line.

[0079] In this embodiment, for example, after the first processing module 301 in the host device 1 receives the control command message sent by the control unit 101, the first processing module 301 transmits the control command message to the first modem 302, and the first modem 302 modulates the control command message to obtain a modulated control command message. The first modem 302 transmits the modulated control command message to the first isolation transformer 303, and the first isolation transformer 303 couples the modulated control command message to the power line, and sends the modulated control command message to each slave device in the 1-8 layer area through the power line, that is, to slave device 1-slave device 8, that is, each slave device in the 1-8 layer area can receive the control command message sent by the host device 1 from the power line.

[0080] Optionally, continue to refer to Figure 3 As shown, the host device 102 further includes: a first power module 304;

[0081] The input end of the first power module 304 is connected to the phase line corresponding to the host device 102 in the power line to receive the AC power through the power line. The first power module is used to convert the received AC power into low-voltage DC power, and the low-voltage DC power is output from the output end of the first power module 304. Figure 2 As shown, the phase line corresponding to the host device 1 is the neutral line and the A-phase electricity in the power line, that is, the input end of the first power module 304 in the host device 1 is connected to the neutral line and the A-phase electricity in the power line.

[0082] The first power supply module 304 is connected to the power supply end of the first processing module 301 and the power supply end of the first modem 302 respectively, and is used to provide power to the first processing module 301 and the first modem 302 .

[0083] In this embodiment, in order to ensure the stability and reliability of the operation of each component in each host device, it is proposed that a power module can also be set in the host device, and the first power module in each host device can be directly connected to the phase line corresponding to each host device in the power line, so as to access AC power through the power line, convert the accessed AC power into low-voltage DC power, and output the low-voltage DC power from the output end of the first power module, and transmit the low-voltage DC power to the first processing module and the first modem in each host device, so as to provide power to the first processing module and the first modem, thereby ensuring the stability and reliability of the operation of the first processing module and the first modem, and avoiding the situation where the first processing module and the first modem cannot work normally due to insufficient power.

[0084] Through the following examples, the above Figure 1 The structure of the slave device is described in detail.

[0085] Optionally, refer to Figure 4 As shown, the slave device 103 includes: a sensor 401 , a second processing module 402 , a second modem 403 , a second isolation transformer 404 and a relay group 405 .

[0086] The sensor 401 is used to obtain the collected data in the electric control room of the floor where the slave device 103 is located. The output end of the sensor 401 is connected to the first end of the second processing module 402 . The sensor 401 is used to send the collected data to the second processing module 402 .

[0087] It should be noted that the sensor 401 may include a temperature sensor and a humidity sensor. The sensor 401 may be set in the electrical control room on the floor where each slave device 103 is located. The temperature and humidity information in the electrical control room on each floor may be collected through the sensor 401, and the collected data may be sent to the second processing module 402.

[0088] Continue to refer Figure 4 As shown, the second end of the second processing module 402 is connected to the first end of the second modem 403, the second processing module 403 is used to transmit the collected data to the second modem 403, and the second modem 403 is used to modulate the collected data to obtain modulated collected data; that is, the collected data collected by the sensor 401 can be modulated by the second modem 403, and the modulated collected data can be obtained.

[0089] The second end of the second modem 403 is connected to the first end of the second isolation transformer 404, and the second end of the second isolation transformer 404 is connected to the phase line in the power line corresponding to the slave device 103 to access the alternating current through the power line. The second isolation transformer 404 is used to couple the modulated collected data to the power line and send it to the host device 103 in the floor area through the power line, that is, the modulated collected data can be sent to the host device 103 in the floor area through the power line using the power carrier technology.

[0090] The first end of the relay group 405 is connected to the third end of the second processing module 402, the second end of the relay group 405 communicates with the lighting equipment in the floor area where the slave device 103 is located, and the third end of the relay group 405 is connected to the phase line in the power line corresponding to the slave device. The relay group 405 is used to control the lighting equipment in the target area to switch on and off according to the control instructions sent by the slave device 103.

[0091] In this embodiment, for example, the host device 1 sends the modulated control command message to each slave device in the 1-8 layer area through the power line. When the second modem and the second processing module in the slave device 1 demodulate and parse the received modulated control command message, a control instruction is obtained, and it is found that the node number in the control instruction is the same as that of the slave device. The control instruction includes turning on the lighting equipment in area 3 on the 1st floor and reading the collected data collected by the sensor set in the power control room on the 1st floor. The second processing module in the slave device 1 sends the instruction of turning on the lighting equipment in area 3 on the 1st floor in the control instruction to the relay group, and the relay group controls the lighting equipment in area 3 on the 1st floor to turn on, and the second processing module obtains the collected data collected by the sensor and sends the collected data to the second modem, and the second modem modulates the collected data to obtain the modulated collected data. The second modem transmits the modulated collected data to the second isolation transformer, and the second isolation transformer couples the modulated collected data to the power line and sends it to the host device 1 through the power line.

[0092] Optionally, continue to refer to Figure 3 As shown, the first isolation transformer 303 is also used to receive the modulated collected data returned by each slave device through the power line, and transmit the modulated collected data to the first modem 302;

[0093] The first modem 302 is further used to demodulate the modulated collected data to obtain the collected data, and transmit the collected data to the first processing module.

[0094] On the basis of the above embodiments, for example, the first isolation transformer in the host device 1 can receive the modulated collected data returned by the slave device 1 through the neutral line and the A phase electricity in the power line, and the first isolation transformer transmits the received modulated collected data to the first modem in the host device 1. The first modem demodulates the modulated collected data to obtain the collected data, and transmits the collected data to the first processing module. The first processing module returns the collected data to the control unit, so that the control unit analyzes and processes the collected data.

[0095] Optionally, continue to refer to Figure 4 As shown, the slave device further includes: a second power supply module 406 .

[0096] The input end of the second power module 406 is connected to the phase line in the power line corresponding to the slave device 103 to access AC power through the power line. The second power module 406 is used to convert AC power into low-voltage DC power, and the output end of the second power module 406 outputs low-voltage DC power.

[0097] The second power supply module 406 is respectively connected to the power supply end of the second processing module 402, the power supply end of the second modem 403, the power supply end of the sensor 401 and the power supply end of the relay group 405, and is used to provide power to the second processing module 402, the second modem 403, the sensor 401 and the relay group 405.

[0098] In this embodiment, in order to ensure the working stability and reliability of each component in each slave device, it is proposed that a power supply module can also be set in the slave device, and the second power supply module in each slave device can be directly connected to the phase line corresponding to each slave device in the power line, so as to access AC power through the power line, convert the accessed AC power into low-voltage DC power, and output the low-voltage DC power from the output end of the second power supply module, and transmit the low-voltage DC power to the second processing module, the second modem, the sensor and the relay group in each slave device, so as to provide power to the second processing module, the second modem, the sensor and the relay group, thereby ensuring the working stability and reliability of the second processing module, the second modem, the sensor and the relay group, and avoiding the situation that the second processing module, the second modem, the sensor and the relay group cannot work normally due to insufficient power.

[0099] The implementation principles and corresponding beneficial effects of the lighting control method steps provided in the present application will be described below through a number of specific embodiments.

[0100] In one embodiment, reference Figure 5 As shown in FIG. 1 , a flowchart of a lighting control method provided in an embodiment of the present application is shown. Optionally, the execution subject of the method may be Figure 1 Host equipment in each floor area is shown.

[0101] It should be understood that in other embodiments, the order of some steps in the lighting control method can be interchanged according to actual needs, or some steps can be omitted or deleted. Figure 5 As shown, the method includes:

[0102] S501: Receive a control command message sent by a control unit.

[0103] In this embodiment, reference Figure 6 As shown, the format of the control command message used is as follows Figure 6 As shown, the two leading bytes are hexadecimal AA. When the first modem in the host device receives the control command message, an interrupt is sent to the first processing module.

[0104] The hexadecimal F0 in the control command message is mainly used to check the start bit of the control command message.

[0105] The node number bytes range from 1 to 254, with a total of 254 nodes. Node number 0 is used for the master device, and node number 255 is used to broadcast to the nodes where all slave devices are located.

[0106] For each host device, the node number is mainly used to identify the node where the target slave device to be sent is located; for each slave device, it is mainly used to filter data packets. Only when the node number in the received control command message is the same as the node where the slave device is located, it will be received, and if it is different, it will be ignored.

[0107] The command word is used to define various commands, combined with the switch status and the following 4 reserved bytes. The command word is defined as follows:

[0108] 01 controls the switch, the switch status is 8-bit binary, 0 means off, 1 means on;

[0109] 02 Read the node temperature and humidity; other command words can be customized according to actual needs.

[0110] The checksum is the sum of the bytes from hexadecimal F0 to "Reserved 4", and the last 8 bits are taken, including hexadecimal F0 and "Reserved 4".

[0111] S502. Forward the control command message to each connected slave device through the power line, so that the target slave device parses the received control command message to obtain a control instruction, and sends the control instruction to the lighting device and / or sensor connected to the target slave device to control the lighting device to switch on and off and / or control the sensor to collect data, and send the collected data of the sensor to the host device.

[0112] Exemplarily, for example, the node number in the control command message is 8, and the host device 1 forwards the control command message to each slave device in layers 1-8 through the power line. After the slave device 8 processes and parses the received control command message, it obtains the control instruction, and finds that the node number in the control instruction is the same as that of the slave device, that is, the slave device 8 is the target slave device. The slave device 8 controls the lighting equipment in the target area in the 8th layer to switch on and off and / or controls the sensor to collect data according to the control instruction, and sends the collected data of the sensor to the host device 1.

[0113] S503: Receive the collected data sent by the target slave device through the power line.

[0114] S504: Send the collected data to the control unit, so that the control unit analyzes and processes the collected data.

[0115] On the basis of the above embodiments, for example, the host device 1 receives the collected data sent by the slave device 8 through the power line, and sends the collected data to the control unit through the network, so that the control unit analyzes and processes the collected data, thereby realizing remote control of building lighting and signal communication of each floor or area.

[0116] The following embodiments will be used to explain in detail how to forward the control command message to each connected slave device through the power line in the above step S502.

[0117] Optionally, refer to Figure 7 As shown, the above step S502 includes:

[0118] S701. Modulate a control command message to obtain a modulated control command message.

[0119] S702: Couple the modulated control command message to the power line, and forward the modulated control command message to each connected slave device through the power line.

[0120] In this embodiment, before the host device sends the control command message to each slave device through the power line, it is necessary to modulate the control command message to obtain a modulated control command message, and couple the modulated control command message to the power line, and directly use the power carrier technology to forward the modulated control command message through the power line to each slave device connected to the host device, thereby avoiding the problem of additional line construction and greatly saving labor costs and communication cable costs.

[0121] The following embodiment will be used to explain in detail how to receive the collected data sent by the sensor in the target slave device through the power line in the above step S503.

[0122] Optionally, refer to Figure 8 As shown, the above step S503 includes:

[0123] S801. Receive modulated collected data returned by a target slave device through a power line.

[0124] S802: Demodulate the modulated collected data to obtain collected data.

[0125] In this embodiment, after the host device 1 receives the modulated collected data returned by the slave device 8 through the power line, it is also necessary to demodulate the modulated collected data to obtain the collected data so as to send the collected data to the control unit, thereby avoiding directly sending the modulated collected data to the control unit, which results in the control unit being unable to analyze and process the modulated collected data, thereby improving the processing efficiency of the control unit.

[0126] Optionally, in the above step S502, forwarding the control command message to each connected slave device via the power line includes:

[0127] The control command message is forwarded to each connected slave device through the power line by adopting a cyclic polling method, a jump polling method and / or a global polling method.

[0128] (1) Cyclic polling method. In this embodiment, considering the presence of a lot of interference noise on the power line, it is proposed to use a bus repeated cyclic polling method to forward the control command message to each connected slave device through the power line.

[0129] It should be noted that after each control command message is sent by the host device, it immediately switches to the receiving state and waits for the reply of the slave device. If no reply is received from any slave device within the specified time, the node is considered to be non-existent and marked. If no reply is received after three rounds of polling for a slave device, no polling will be performed next time, and the global polling will be performed to try to discover it again. After the specified time, it switches back to the sending state and continues to send polling control command messages to the node where the next slave device is located.

[0130] In this way, the circular polling method is adopted, so that even if there is a packet loss, it can be realized in the next or the next next polling.

[0131] During the cyclic polling process, the host device can also continuously receive control command messages sent by the control unit.

[0132] (2) Jump polling mode: when the host device 1 receives a control command message from the control unit for a certain slave device, it directly jumps to the node where the target slave device is located to poll, regardless of the node where the slave device is currently polled, to speed up the response speed, and then continues to poll from the node where the target slave device is located.

[0133] (3) Global polling mode. In this embodiment, in order to increase the polling cycle and automatically adapt to the replacement of the nodes where each slave device is located, it is proposed that the control command message can be forwarded to each connected slave device through the power line in a global polling mode. For example, the global polling can be performed from 1 to 254 every five minutes to record the existing nodes, and then only the nodes of the existing slave devices are polled, which greatly increases the polling cycle.

[0134] Optionally, the present application also provides a program product, such as a computer-readable storage medium, including a program, which is used to execute the above method embodiment when executed by a processor.

[0135] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0137] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0138] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviated: ROM), random access memory (English: Random Access Memory, abbreviated: RAM), disk or optical disk and other media that can store program codes.

Claims

1. A lighting control system, characterized in that: The lighting control system comprises: a control unit, at least one host device, and slave devices deployed in each floor area, wherein the control unit is respectively connected to each of the host devices for communication; Each of the host devices is communicatively connected to at least one slave device via a power line; each of the slave devices is communicatively connected to a sensor in a floor area and a lighting device in a floor area; The host device is used to receive the control command message sent by the control unit, and forward the control command message to each of the connected slave devices through the power line; The slave device is used to parse the received control command message to obtain a control instruction, send the control instruction to the connected lighting device and / or sensor to control the lighting device to switch on and off and / or control the sensor to collect data, and send the collected data of the sensor to the host device; The host device is further used to send the collected data to the control unit so that the control unit analyzes and processes the collected data; The target building where the lighting control system is deployed is divided into a first floor area, a second floor area and a third floor area, each floor area includes: a plurality of floors; and a host device is set in the same floor area, and a slave device is set on each floor in the same floor area; The host device in the first floor area and the slave devices respectively deployed on each floor in the first floor area are connected to the A phase electrical communication via the neutral line in the power line; The host device in the second floor area and the slave devices respectively deployed on each floor in the second floor area are connected to the B phase electrical communication via the neutral line in the power line; The master device in the third floor area and the slave devices respectively deployed on each floor in the third floor area are connected to the C-phase electrical communication via the neutral line in the power line.

2. The system according to claim 1, characterized in that The host device includes: a first processing module, a first modem and a first isolation transformer; The first end of the first processing module is connected to the control unit for communication, and the second end of the first processing module is connected to the first end of the first modem; the second end of the first modem is connected to the first end of the first isolation transformer, and the second end of the first isolation transformer is connected to the phase line of the power line corresponding to the host device, so as to access the alternating current through the power line; The first processing module is used to transmit the control command message received from the control unit to the first modem; The first modem is used to modulate the control command message to obtain a modulated control command message, and transmit the modulated control command message to the first isolation transformer; The first isolation transformer is used to couple the modulated control command message to the power line, and send it to each of the slave devices in the floor area through the power line.

3. The system according to claim 2, characterized in that The host device further includes: a first power supply module; The input end of the first power module is connected to the phase line of the power line corresponding to the host device, so as to access the alternating current through the power line, and the first power module is used to convert the accessed alternating current into low-voltage direct current, and the low-voltage direct current is outputted from the output end of the first power module; The first power supply module is connected to a power supply end of the first processing module and a power supply end of the first modem respectively, and is used to provide power to the first processing module and the first modem.

4. The system according to claim 2, characterized in that The slave device includes: a sensor, a second processing module, a second modem, a second isolation transformer, and a relay group; The sensor is used to obtain the collected data of the electric control room on the floor where the slave device is located, the output end of the sensor is connected to the first end of the second processing module, and the sensor is used to send the collected data to the second processing module; The second end of the second processing module is connected to the first end of the second modem, and the second processing module is used to transmit the collected data to the second modem; The second modem is used to modulate the collected data to obtain modulated collected data; The second end of the second modem is connected to the first end of the second isolation transformer, the second end of the second isolation transformer is connected to the phase line corresponding to the slave device in the power line, so as to access the alternating current through the power line, and the second isolation transformer is used to couple the modulated collected data to the power line and send it to the host device in the floor area through the power line; The first end of the relay group is connected to the third end of the second processing module, the second end of the relay group communicates with the lighting equipment in the floor area where the slave device is located, and the third end of the relay group is connected to the phase line in the power line corresponding to the slave device. The relay group is used to control the lighting equipment in the target area to switch on and off according to the control instructions sent by the slave device.

5. The system according to claim 4, characterized in that The first isolation transformer is also used to receive the modulated collected data returned by each of the slave devices through the power line, and transmit the modulated collected data to the first modem; The first modem is also used to demodulate the modulated collected data to obtain the collected data, and transmit the collected data to the first processing module.

6. The system according to claim 4, characterized in that The slave device further includes: a second power supply module; The input end of the second power supply module is connected to the phase line corresponding to the slave device in the power line to access the alternating current through the power line, and the second power supply module is used to convert the alternating current into low-voltage direct current, and the low-voltage direct current is output from the output end of the second power supply module; The second power supply module is respectively connected to the power supply end of the second processing module, the power supply end of the second modem, the power supply end of the sensor and the power supply end of the relay group, and is used to provide electrical energy to the second processing module, the second modem, the sensor and the relay group.

7. A lighting control method, characterized in that: Applied to the lighting control system according to any one of claims 1 to 6, the method comprising: Receive control command messages sent by the control unit; Forwarding the control command message to each connected slave device through the power line, so that the target slave device parses the received control command message to obtain a control instruction, and sends the control instruction to the lighting device and / or sensor connected to the target slave device to control the lighting device to switch on and off and / or control the sensor to collect data, and sends the collected data of the sensor to the host device; receiving, via the power line, collected data sent by the target slave device; The collected data is sent to the control unit so that the control unit analyzes and processes the collected data.

8. The method according to claim 7, characterized in that The step of forwarding the control command message to each connected slave device via the power line includes: Modulating the control command message to obtain a modulated control command message; The modulated control command message is coupled to the power line, and the modulated control command message is forwarded to each of the connected slave devices through the power line.

9. The method according to claim 7, characterized in that: The receiving, through the power line, the collected data sent by the sensor in the target slave device comprises: receiving the modulated collected data returned by the target slave device through the power line; The modulated collected data is demodulated to obtain the collected data.

10. The method according to claim 7, characterized in that The step of forwarding the control command message to each connected slave device via the power line includes: The control command message is forwarded to each connected slave device through the power line by adopting a cyclic polling method, a jump polling method and / or a global polling method.

Citation Information

Patent Citations

  • Bidirectional communication and control system via powerline for emergency lighting

    GB202200949D0