CN112218405A - Intelligent control system and method for lighting switch of existing building - Google Patents

Intelligent control system and method for lighting switch of existing building Download PDF

Info

Publication number
CN112218405A
CN112218405A CN202011047030.XA CN202011047030A CN112218405A CN 112218405 A CN112218405 A CN 112218405A CN 202011047030 A CN202011047030 A CN 202011047030A CN 112218405 A CN112218405 A CN 112218405A
Authority
CN
China
Prior art keywords
intelligent
lighting
module
microprocessor
existing building
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.)
Pending
Application number
CN202011047030.XA
Other languages
Chinese (zh)
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.)
Beijing Residential Architectural Design And Research Institute Co ltd
Original Assignee
Beijing Residential Architectural Design And Research Institute Co 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 Beijing Residential Architectural Design And Research Institute Co ltd filed Critical Beijing Residential Architectural Design And Research Institute Co ltd
Priority to CN202011047030.XA priority Critical patent/CN112218405A/en
Publication of CN112218405A publication Critical patent/CN112218405A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/20Controlling the colour of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/185Controlling the light source by remote control via power line carrier transmission
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • 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

Landscapes

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

Abstract

The invention discloses an intelligent control system and method for an existing building-oriented lighting switch, wherein the system comprises the following components: the intelligent lighting control system comprises an upper computer, a cooperative control gateway and a plurality of lighting intelligent switch nodes, wherein the cooperative control gateway comprises a first microprocessor, and a power line carrier communication module, a first WIFI communication module and a first power supply module which are electrically connected with the first microprocessor, and the first microprocessor is in communication connection with the upper computer through the power line carrier communication module; the lighting intelligent switch node comprises a second microprocessor, and a second WIFI communication module, a second power module, a relay module and a switch panel which are electrically connected with the second microprocessor, wherein the relay module is electrically connected with the lighting device, and the second WIFI communication module is in communication connection with the first WIFI communication module. The intelligent control system and the intelligent control method for the lighting switch of the existing building do not need to be rewired, and can realize the functions of communication mode conversion and corresponding control of the intelligent switch node.

Description

Intelligent control system and method for lighting switch of existing building
Technical Field
The invention relates to the technical field of building lighting control, in particular to an intelligent control system and method for a lighting switch of an existing building.
Background
With the rapid development of science and technology, the concept of smart home is gradually integrated into our daily life, becomes an increasingly hot topic in the industry, and is also an important trend of our future life. In order to improve the quality of life of people, make the lighting system change according to the wishes of users, and realize the intellectualization of the lighting system, there are currently intelligent lighting systems based on various networking, ad hoc networks (such as Zigbee, bluetooth, Wifi) and communication technologies. Most intelligent systems control networked lighting equipment through control software in an upper computer (a smart phone and a personal computer), wherein the control software comprises switching, color mixing, dimming and timing control.
The power line carrier is a technology for realizing data transmission and information exchange by using the existing power line (power line) as a transmission medium and transmitting analog or digital signals at high speed in a carrier mode. The currently applicable frequency ranges are: 50 KHz-200 KHz. The system is networked on the power line in a carrier mode, control signals sent by each system control unit are transmitted in the whole power line in the carrier mode, and after each system control unit receives control information from the power line, corresponding actions are executed according to the regulations of a system communication protocol, so that intelligent network control is realized. At present, in some large intelligent buildings, a power line carrier communication mode is adopted for intelligent transformation, and a complete intelligent system of the intelligent building is realized. However, the low-voltage power line carrier communication mode adopted in the intelligent building is mostly applied to a monitoring system and a power consumer centralized meter reading system, and is relatively poor in application to a control system. Therefore, in existing buildings, the lighting switch intelligent control system based on power line carrier communication also has the problem of limitation of communication modes, so that no lighting switch intelligent control method and device for existing buildings exist in the market so far, and the technical personnel in the field are required to continuously research.
Disclosure of Invention
The invention aims to provide an intelligent lighting switch control system and method for an existing building, on the basis of the existing building, the functions of communication mode conversion and corresponding control of an intelligent switch node can be realized by combining power line carrier communication and Wifi communication without rewiring, and the problem of limitation of the intelligent lighting switch communication mode in the existing building is solved.
In order to achieve the purpose, the invention provides the following scheme:
an intelligent control system of a lighting switch for an existing building, comprising: the intelligent lighting control system comprises an upper computer, a cooperative control gateway and a plurality of lighting intelligent switch nodes, wherein the cooperative control gateway comprises a first microprocessor, and a power line carrier communication module, a first WIFI communication module and a first power module which are electrically connected with the first microprocessor, the first power module provides power for the first microprocessor, the power line carrier communication module and the first WIFI communication module, and the first microprocessor is in communication connection with the upper computer through the power line carrier communication module; the power line carrier communication module is arranged in an existing building;
the lighting intelligent switch node comprises a second microprocessor, and a second WIFI communication module, a second power module, a relay module and a switch panel which are electrically connected with the second microprocessor, wherein the second power module provides power for the second microprocessor and the relay module, the relay module is electrically connected with a lighting device and is used for controlling the on-off of the lighting device, and the second WIFI communication module is in communication connection with the first WIFI communication module to realize the bidirectional data transmission between the first microprocessor and the second microprocessor.
Optionally, the cooperative control gateway further includes an isolation protection module, where the isolation protection module is disposed between the power line carrier communication module and the first microprocessor.
Optionally, the cooperative control gateway further includes a storage module and a human-computer interaction module, and the storage module and the human-computer interaction module are respectively electrically connected to the first microprocessor.
Optionally, the first microprocessor and the second microprocessor are industrial-level micro-processing STM32F 103.
Optionally, the first power module adopts a jingshangyang dual-path power module LH10-10D0512-02, and the second power module adopts a jingshangyang LDE small-volume series power supply with the model number of LDE03-20B 05.
Optionally, the first WIFI communication module and the second WIFI communication module are selected as USR-WIFI 232-B2.
Optionally, the second WIFI communication module is connected with a green LED and a red LED, the green LED is a communication receiving indicator light, and the red LED is a communication sending indicator light.
Optionally, the intelligent switch node is installed in an 86 box of a lighting system in an existing building.
The invention also provides an intelligent control method for the existing building-oriented lighting switch, which is applied to the intelligent control system for the existing building-oriented lighting switch and comprises the following steps:
1) initializing and configuring a cooperative control gateway installed on a power line corresponding to an existing building;
2) initializing and configuring an intelligent switch node installed in a 86 box of an existing building lighting system;
3) the cooperative control gateway determines the connection condition of the intelligent switch nodes in the area range, judges whether the configured intelligent switch nodes are fully connected or not, and continues the next step if the configured intelligent switch nodes are fully connected;
4) according to the address and the configuration information, the intelligent switch node reports the address and the state information of the corresponding lighting device to the cooperative control gateway in sequence, and the next step is continued;
5) whether the cooperative control gateway receives the address corresponding to the intelligent switch node and the state information of the lighting device or not is judged, if yes, the next step is continuously executed, and if not, the step 4 is returned to be executed;
6) the cooperative control gateway analyzes the received address corresponding to the intelligent switch node and the state information of the lighting device, stores the address and the state information of the lighting device according to the corresponding sequence, and continues to execute the next step;
7) the intelligent switch node monitors the state of the relay module corresponding to the lighting device in real time, and if the state of the relay module changes, the next step is continuously executed;
8) the intelligent switching node reports the address and the latest state information of the lighting device to the cooperative control gateway, and skips to execute the step 5;
9) whether the cooperative control gateway receives a request instruction signal input and sent by an uplink user through an upper computer or not is judged, and if yes, the next step is continuously executed;
10) the cooperative control gateway receives and analyzes a request instruction signal input and sent by an uplink user through an upper computer;
11) if the cooperative control gateway receives the inquiry command, executing the step 12, and if the cooperative control gateway receives the control command, jumping to the step 13;
12) according to the lighting address of the received query instruction, the cooperative control gateway uploads the latest stored corresponding lighting device state to an upper computer in a power line carrier communication mode;
13) the cooperative control gateway analyzes and receives the information of the control command, completes the conversion of the communication mode after framing, sends the information to the intelligent switch node through the first WIFI communication module, and continues to execute the next step;
14) and after receiving and analyzing the control instruction, the intelligent switch node responds to the control of the lighting device according to the address of the corresponding lighting device and the lighting state, and then jumps to the step 7.
Optionally, a random channel is selected for communication between the cooperative control gateway and the intelligent switch node.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects: the invention provides an intelligent control system of a lighting switch for an existing building, which consists of a cooperative control gateway and an intelligent switch node, wherein the cooperative control gateway is arranged in the same line for power line carrier communication in the existing building and is used for receiving and analyzing an uplink instruction request input by a user and completing the conversion of a communication mode so as to realize the two-way communication with the intelligent switch node, and the cooperative control gateway transmits instruction information to the intelligent switch node and responds to the state information of the intelligent switch node; the intelligent switch node is installed in a 86 box of an illumination system in an existing building, two control modes of manual control and remote control can be realized, and the address and the state of the intelligent switch node are reported when the intelligent switch node is powered on, so that the intelligent switch node is used for receiving and responding to a command request of a cooperative control gateway and realizing bidirectional communication with the cooperative control gateway; the intelligent control device fills the blank of the intelligent control device of the lighting switch facing the existing building, can realize the mutual conversion of power line carrier communication and WIFI communication, and realizes the function of intelligently controlling the corresponding lighting switch in the existing building overall system taking the power line carrier communication as a main communication mode, widens the selection of the communication mode applied to the control system in the existing building, and improves the intelligent degree of the control of the lighting switch to a certain extent;
in the intelligent control method for the existing building lighting switch, a power-on reporting and change reporting mechanism of an intelligent switch node and a real-time updating and storing mechanism of a cooperative control gateway about the state of a lighting lamp improve the communication efficiency of an intelligent lighting system to a certain extent, and solve the problem of limitation of the communication mode of the intelligent lighting switch in the existing building system, thereby realizing the intelligent control of the whole system of the existing building on the lighting switch.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of an intelligent control system of a lighting switch for an existing building according to an embodiment of the present invention;
FIG. 2 is a circuit diagram of a first power module according to an embodiment of the invention;
fig. 3 is a design diagram of a power supply circuit for a first microprocessor and a first WIFI module according to an embodiment of the present invention, where 5V is changed to 3.3V;
fig. 4 is a design diagram of a power supply circuit for a power line carrier module according to an embodiment of the present invention, in which 12V is changed to 5V;
FIG. 5 is a circuit diagram of a second power module according to an embodiment of the present invention;
FIG. 6 is a diagram of a voltage conversion circuit of a second power module according to an embodiment of the invention;
fig. 7 is a circuit diagram of a second WIFI module according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a second microprocessor connected to a switch panel according to an embodiment of the present invention;
FIG. 9 is a circuit diagram of a switch panel connector according to an embodiment of the present invention;
FIG. 10 is a flow chart of the intelligent control method for the existing building lighting switch according to the present invention;
FIG. 11 is a detailed process flow of the cooperative control gateway of the present invention;
fig. 12 is a detailed working flow of the intelligent switch node of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide an intelligent lighting switch control system and method for an existing building, on the basis of the existing building, the functions of communication mode conversion and corresponding control of an intelligent switch node can be realized by combining power line carrier communication and Wifi communication without rewiring, and the problem of limitation of the intelligent lighting switch communication mode in the existing building is solved.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
As shown in fig. 1, an intelligent control system for a lighting switch of an existing building according to an embodiment of the present invention includes: the intelligent lighting control system comprises an upper computer, a cooperative control gateway and a plurality of lighting intelligent switch nodes, wherein the cooperative control gateway comprises a first microprocessor, and a power line carrier communication module, a first WIFI communication module and a first power module which are electrically connected with the first microprocessor, the first power module provides power for the first microprocessor, the power line carrier communication module and the first WIFI communication module, and the first microprocessor is in communication connection with the upper computer through the power line carrier communication module; the power line carrier communication module is arranged in an existing building;
the lighting intelligent switch node comprises a second microprocessor, and a second WIFI communication module, a second power module, a relay module and a switch panel which are electrically connected with the second microprocessor, wherein the second power module provides power for the second microprocessor and the relay module, the relay module is electrically connected with a lighting device and is used for controlling the on-off of the lighting device, and the second WIFI communication module is in communication connection with the first WIFI communication module to realize the bidirectional data transmission between the first microprocessor and the second microprocessor.
The cooperative control gateway further comprises an isolation protection module, and the isolation protection module is arranged between the power line carrier communication module and the first microprocessor. The cooperative control gateway further comprises a storage module and a human-computer interaction module, and the storage module and the human-computer interaction module are respectively electrically connected with the first microprocessor.
The first microprocessor in the cooperative control gateway selects a high-performance industrial level microprocessor STM32F103 which is developed by ST company, and the core of the chip is a 32-bit Cortex-M3 processor of ARM company. The system mainly completes the overall coordination and control command of the system, realizes the analysis and framing of instructions, completes the conversion of communication modes and completes the real-time updating and storage of the state of the illuminating lamp.
The first power supply module adopts a Jinsheng yang double-path power supply module LH10-10D0512-02, the power supply module converts 220V into two paths of voltage, the two paths of voltage are 12V and 5V respectively, and a circuit design diagram is shown in figure 2. Wherein 5V is converted into 3.3V all the way and is supplied power for first microprocessor and first WIFI communication module respectively, and the circuit design is as shown in fig. 3, and 12V is converted into 5V all the way and is supplied power for power line carrier communication module, and the circuit design is as shown in fig. 4.
The power line carrier module is connected with the microprocessor through a serial port to carry out data communication, the carrier sending switch node related data signals are coupled to the power line through the module, the received signals are decoupled through the module, and data receiving and sending are achieved in the whole process. The power line carrier module comprises a data processing main chip, a transmitting and receiving configuration circuit, and realizes the coupling with the power line through a transformer coil, and the main chip is a transmitting and receiving processing chip of the carrier and is in serial communication with the microprocessor.
Because the system has strong electricity access, in order to protect the first microprocessor, a DC/DC digital isolation protection module is arranged between the first microprocessor and the power line carrier communication module. The system adopts a digital isolation chip of industrial grade Si8663 model. The Si8663 digital isolation chip is provided with six channels, wherein the transmission directions of three channels are from the microprocessor to the low-voltage power line carrier communication module, and the transmission directions of the other three channels are from the low-voltage power line carrier communication module to the microprocessor; the high-speed data transmission device has a wide range of working temperature and a data transmission rate of 150Mbps, has the lowest jitter performance compared with similar products, and can ensure that the low-speed data transmission device has the lowest data transmission error and bit error rate.
In order to facilitate the storage of parameter data and node states, the system designs a data storage module to ensure the safety of data. The system mainly adopts an industrial SST25VF032B serial flash memory, and the chip adopts a four-wire and SPI compatible interface. SST25VF032B devices are enhanced devices that increase operating frequency and reduce power consumption compared to typical memory devices.
The man-machine interaction module comprises two parts of a key and a display screen, historical parameter and node state data can be inquired in the display screen through different key combination operations, in addition, the change state of a certain specific lighting switch node in one day can be inquired independently, and therefore recording of related data is facilitated.
And the second microprocessor in the intelligent switch node completes the overall coordination and control command of the system. Specifically, the real-time monitoring of the state of the key connector of the switch panel and the state of the relay module is completed, the address of the illuminating lamp and the state of the corresponding lamp are reported when the power supply and the relay act (including the control of the switch panel and the control of an upper computer), and the corresponding response is realized when the instruction of the cooperative control gateway is received.
Considering the volume requirement of the intelligent switch node to be installed in the 86 cassette and the requirement of the voltage and power required by the whole circuit, the second power supply module adopts a Jinsheng anode LDE small-volume series power supply, the model is LDE03-20B05, the volume is 37mm 24.5mm 18mm, the output power is 3W, and the standard output voltage and current are 5V/600 mA. The power module converts 220V voltage to a 5V voltage, and the circuit diagram is shown in fig. 5. On one hand, the 5V voltage directly supplies power to the two relays, on the other hand, the 5V voltage is converted into 3.3V voltage through the voltage conversion chip SPX1117M3 to supply power to the microprocessor and the WIFI communication module, and a circuit design diagram is shown in fig. 6.
The first WIFI communication module and the second WIFI communication module are selected from USR-WIFI 232-B2. The second WIFI module is used for communicating with the WIFI module on the cooperative control gateway in a mode of STA as a terminal of the wireless network so as to realize bidirectional data transmission. The circuit design diagram of the second WIFI communication module is shown in fig. 7, where the green LED is a communication receiving indicator light and the red LED is a communication transmitting indicator light.
And a relay module in the intelligent switch node completes the control of the second microprocessor on and off of the lighting lamp, and a Songle relay SRD series is selected, wherein the specific model is SRD-05 VDC-SL-C. Two relays, namely an intelligent switch node, are selected in the device to realize the control of two illuminating lamps. The relay is equivalent to a switch, and comprises a normally closed terminal, a normally open terminal and a public end, wherein the public end is connected with the normally closed terminal in a disconnecting state, and the public end is connected with the normally open terminal in a connecting state. The relay mainly functions to control the on and off of the illuminating lamp under the control of the second microprocessor.
A schematic diagram of the connection between the second microprocessor and the switch panel in the intelligent switch node is shown in fig. 8, the second microprocessor monitors the state of the IO port at any time, and when it is monitored that IO changes from a low level to a high level or from a high level to a low level, the second microprocessor indicates the button action of the switch panel, and at this time, the second microprocessor reverses the action of the corresponding relay module. Fig. 9 shows a circuit diagram of a switch panel connector IN an intelligent switch node, IN which pins IN3 and IN4 are connected to corresponding pins of a second microprocessor, respectively, and both are initialized to a low level, and meanwhile, P4 is connected to an external switch panel. The second microprocessor constantly monitors the level of the IN3 and IN4 pins, and if the level is monitored to be changed, the relay pins are correspondingly controlled to control the action of the relay, so that the state of the illuminating lamp is changed.
The intelligent switch node is installed in an 86 box of a lighting system in an existing building.
As shown in fig. 10, the present invention further provides an intelligent control method for an existing building lighting switch, which is applied to the intelligent control system for an existing building lighting switch, and includes the following steps:
1) initializing and configuring a cooperative control gateway installed on a power line corresponding to an existing building;
2) initializing and configuring an intelligent switch node installed in a 86 box of an existing building lighting system;
3) the cooperative control gateway determines the connection condition of the intelligent switch nodes in the area range, judges whether the configured intelligent switch nodes are fully connected or not, and continues the next step if the configured intelligent switch nodes are fully connected;
4) according to the address and the configuration information, the intelligent switch node reports the address and the state information of the corresponding lighting device to the cooperative control gateway in sequence, and the next step is continued;
5) whether the cooperative control gateway receives the address corresponding to the intelligent switch node and the state information of the lighting device or not is judged, if yes, the next step is continuously executed, and if not, the step 4 is returned to be executed;
6) the cooperative control gateway analyzes the received address corresponding to the intelligent switch node and the state information of the lighting device, stores the address and the state information of the lighting device according to the corresponding sequence, and continues to execute the next step;
7) the intelligent switch node monitors the state of the relay module corresponding to the lighting device in real time, and if the state of the relay module changes, the next step is continuously executed;
8) the intelligent switching node reports the address and the latest state information of the lighting device to the cooperative control gateway, and skips to execute the step 5;
9) whether the cooperative control gateway receives a request instruction signal input and sent by an uplink user through an upper computer or not is judged, and if yes, the next step is continuously executed;
10) the cooperative control gateway receives and analyzes a request instruction signal input and sent by an uplink user through an upper computer;
11) if the cooperative control gateway receives the inquiry command, executing the step 12, and if the cooperative control gateway receives the control command, jumping to the step 13;
12) according to the lighting address of the received query instruction, the cooperative control gateway uploads the latest stored corresponding lighting device state to an upper computer in a power line carrier communication mode;
13) the cooperative control gateway analyzes and receives the information of the control command, completes the conversion of the communication mode after framing, sends the information to the intelligent switch node through the first WIFI communication module, and continues to execute the next step;
14) and after receiving and analyzing the control instruction, the intelligent switch node responds to the control of the lighting device according to the address of the corresponding lighting device and the lighting state, and then jumps to the step 7.
And the communication between the cooperative control gateway and the intelligent switch node is distributed by using a random channel.
The cooperative control gateway stores a real-time updating storage mechanism of the state of the illuminating lamp, and when the array storing the address and the state of the illuminating lamp does not have any state information, the cooperative control gateway can actively send state query instructions to the intelligent switch nodes in sequence; when the cooperative control gateway receives the query instruction of the uplink user information, the system only needs to find the corresponding state information in the array of the storage node address and the state according to the switching node address to be queried and report the corresponding state information in the array of the storage node address and the state, and the query instruction does not need to be issued, so that the communication efficiency is improved.
And a power-on reporting and change reporting mechanism of the intelligent switch node. After the intelligent switch node is powered on, the intelligent switch node can actively report the state information frame of the corresponding illuminating lamp. The system can monitor the state of the corresponding relay of the node at any time, and can actively report the state information frame of the corresponding node as long as the state of the relay changes, so that the real-time update of the state of the illuminating lamp stored in the cooperative control gateway is ensured.
The communication between the cooperative control gateway and the corresponding upper computer and the communication between the cooperative control gateway and the intelligent switch node both use a national grid multifunctional electric energy meter communication protocol, namely a DL/T645-2007 communication protocol. The detailed work flow of the cooperative control gateway is shown in fig. 11. Firstly, the cooperative control gateway judges whether state information reported by the intelligent switch node is received or not, and if not, the cooperative control gateway sends out a sequential query instruction until receiving information of all illuminating lamps. When the addresses (the set addresses are 55 and 56) reported by the intelligent switch nodes and the states of the lamps (one intelligent switch node can control at most two illuminating lamps) are received, the cooperative control gateway can sequentially store the received state information into the array. When the cooperative control gateway receives an uplink user input instruction, whether the corresponding address in the instruction is correct or not is judged firstly, if so, the 11 th bit of the received frame is continuously judged, and when the 11 th bit is 0x33, the received information is an inquiry instruction, and at the moment, the cooperative control gateway reads the lamp state in the array of the storage state according to the address of the lighting lamp required to be inquired and reports the lamp state. When the 11 th bit is 0x55 or 0x56, the received information is indicated as a control command, the 12 th bit and the 13 th bit of the received frame are judged, and if the 12 th bit and the 13 th bit of the received frame are 0x34 and 0x34 respectively, the light 1 under the intelligent switch node address is controlled to be turned on; if the 12 th bit and the 13 th bit of the received frame are 0x34 and 0x33 respectively, indicating that the lamp 1 under the address of the intelligent switch node is controlled to be turned off; if the 12 th bit and the 13 th bit of the received frame are 0x35 and 0x34 respectively, indicating that the lamp 2 under the address of the intelligent switch node is controlled to be turned on; if the 12 th bit and the 13 th bit of the received frame are 0x35 and 0x33, respectively, it is indicated that the lamp 2 at the address of the intelligent switch node is controlled to be turned off.
The detailed work flow of the intelligent switching node is shown in figure 12. The intelligent switch node can report the states of the two illuminating lamps when being powered on, and the system can monitor the pin states of the relay and the corresponding pin states of the switch panel in real time because the intelligent switch node can realize manual control and remote control of the illuminating lamps. When the switch panel acts, the system can detect the change of the state of the corresponding pin, so that the state of the corresponding relay can be correspondingly reversed, the reverse of the state of the corresponding illuminating lamp is realized, and then the latest state information of the illuminating lamp is framed and reported to the cooperative control gateway. When the intelligent switch node receives the information instruction frame from the cooperative control gateway, whether the address is correct or not is judged, the 12 th bit and the 13 th bit of the received frame are continuously judged on the premise that the address is correct, if the 12 th bit and the 13 th bit of the received frame are respectively 0x33 and 0x33, the received frame is an information query instruction issued by the cooperative control gateway, and at the moment, the information framing of the state of the illuminating lamp is reported; if the 12 th bit and the 13 th bit of the received frame are respectively 0x34 and 0x34, the received frame indicates that the received frame is a control lamp 1 opening instruction issued by the cooperative control gateway, at this time, a relay corresponding to the control lamp 1 acts, and then the latest illumination lamp state information is framed and reported; if the 12 th bit and the 13 th bit of the received frame are respectively 0x34 and 0x33, the received frame indicates that the received frame is a control lamp 1 closing instruction issued by the cooperative control gateway, at this time, a relay corresponding to the control lamp 1 acts, and then the latest illumination lamp state information is framed and reported; if the 12 th bit and the 13 th bit of the received frame are respectively 0x35 and 0x34, the received frame indicates that the received frame is a control lamp 2 opening instruction issued by the cooperative control gateway, at this time, a relay corresponding to the control lamp 2 acts, and then the latest illumination lamp state information is framed and reported; if the 12 th bit and the 13 th bit of the received frame are respectively 0x35 and 0x33, which indicates that the received frame is a control lamp 2 closing instruction issued by the cooperative control gateway, the relay corresponding to the control lamp 2 acts at the moment, and then the latest illumination lamp state information is framed and reported. Therefore, the change reporting mechanism of the intelligent switch node can be realized. And random channel allocation is selected for communication between the cooperative control gateway and the intelligent switch node, so that collision is avoided.
The intelligent control system for the lighting switch of the existing building, provided by the invention, consists of a cooperative control gateway and an intelligent switch node, can realize the mutual conversion of power line carrier and WIFI communication modes, realizes the intelligent control of power line carrier communication on an intelligent switch node system in the existing building, and expands the communication modes of the intelligent switch node.
In the intelligent control method for the existing building lighting switch, a power-on reporting and change reporting mechanism of an intelligent switch node and a real-time updating and storing mechanism of a cooperative control gateway about the state of a lighting lamp improve the communication efficiency of an intelligent lighting system to a certain extent, and solve the problem of limitation of the communication mode of the intelligent lighting switch in the existing building system, thereby realizing the intelligent control of the whole system of the existing building on the lighting switch.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (10)

1. The utility model provides a lighting switch intelligence control system towards existing building which characterized in that includes: the intelligent lighting control system comprises an upper computer, a cooperative control gateway and a plurality of lighting intelligent switch nodes, wherein the cooperative control gateway comprises a first microprocessor, and a power line carrier communication module, a first WIFI communication module and a first power module which are electrically connected with the first microprocessor, the first power module provides power for the first microprocessor, the power line carrier communication module and the first WIFI communication module, and the first microprocessor is in communication connection with the upper computer through the power line carrier communication module; the power line carrier communication module is arranged in an existing building;
the lighting intelligent switch node comprises a second microprocessor, and a second WIFI communication module, a second power module, a relay module and a switch panel which are electrically connected with the second microprocessor, wherein the second power module provides power for the second microprocessor and the relay module, the relay module is electrically connected with a lighting device and is used for controlling the on-off of the lighting device, and the second WIFI communication module is in communication connection with the first WIFI communication module to realize the bidirectional data transmission between the first microprocessor and the second microprocessor.
2. An intelligent control system for a lighting switch facing an existing building, as recited in claim 1, wherein the cooperative control gateway further comprises an isolation protection module, the isolation protection module being disposed between the power line carrier communication module and the first microprocessor.
3. The intelligent control system for lighting switches of existing buildings according to claim 1, wherein the cooperative control gateway further comprises a storage module and a human-computer interaction module, and the storage module and the human-computer interaction module are respectively electrically connected with the first microprocessor.
4. An intelligent control system for a lighting switch facing an existing building, as claimed in claim 1, wherein the first microprocessor and the second microprocessor are industrial level microprocessors STM32F 103.
5. An intelligent control system for a lighting switch facing an existing building as claimed in claim 1, wherein the first power module is a jingshang dual power module LH10-10D0512-02, and the second power module is a jingshang LDE small-volume series power supply, model number LDE03-20B 05.
6. The intelligent control system for the lighting switch of the existing building as claimed in claim 1, wherein the first WIFI communication module and the second WIFI communication module are USR-WIFI 232-B2.
7. The intelligent control system for the lighting switch of the existing building is characterized in that the second WIFI communication module is connected with a green LED and a red LED, the green LED is a communication receiving indicator lamp, and the red LED is a communication sending indicator lamp.
8. An intelligent control system for a lighting switch of an existing building as claimed in claim 1, wherein the intelligent switch node is installed in an 86 box of a lighting system of the existing building.
9. An intelligent control method for an existing building lighting switch, which is applied to the intelligent control system for the existing building lighting switch according to any one of claims 1 to 8, and is characterized by comprising the following steps:
1) initializing and configuring a cooperative control gateway installed on a power line corresponding to an existing building;
2) initializing and configuring an intelligent switch node installed in a 86 box of an existing building lighting system;
3) the cooperative control gateway determines the connection condition of the intelligent switch nodes in the area range, judges whether the configured intelligent switch nodes are fully connected or not, and continues the next step if the configured intelligent switch nodes are fully connected;
4) according to the address and the configuration information, the intelligent switch node reports the address and the state information of the corresponding lighting device to the cooperative control gateway in sequence, and the next step is continued;
5) judging whether the cooperative control gateway receives the address and the state information of the lighting device corresponding to the intelligent switch node, if so, continuing to execute the next step, otherwise, returning to execute the 4 th step;
6) the cooperative control gateway analyzes the received address corresponding to the intelligent switch node and the state information of the lighting device, stores the address and the state information of the lighting device according to the corresponding sequence, and continues to execute the next step;
7) the intelligent switch node monitors the state of the relay module corresponding to the lighting device in real time, and if the state of the relay module changes, the next step is continuously executed;
8) the intelligent switching node reports the address and the latest state information of the lighting device to the cooperative control gateway, and skips to execute the step 5;
9) judging whether the cooperative control gateway receives a request instruction signal input and sent by an uplink user through an upper computer, if so, continuing to execute the next step;
10) the cooperative control gateway receives and analyzes a request instruction signal input and sent by an uplink user through an upper computer;
11) if the cooperative control gateway receives the inquiry command, executing the step 12, and if the cooperative control gateway receives the control command, jumping to the step 13;
12) according to the lighting address of the received query instruction, the cooperative control gateway uploads the latest stored corresponding lighting device state to an upper computer in a power line carrier communication mode;
13) the cooperative control gateway analyzes and receives the information of the control command, completes the conversion of the communication mode after framing, sends the information to the intelligent switch node through the first WIFI communication module, and continues to execute the next step;
14) and after receiving and analyzing the control instruction, the intelligent switch node responds to the control of the lighting device according to the address of the corresponding lighting device and the lighting state, and then jumps to the step 7.
10. The intelligent control method for the existing building-oriented lighting switch according to claim 1, wherein random channel allocation is adopted for communication between the cooperative control gateway and the intelligent switch node.
CN202011047030.XA 2020-09-29 2020-09-29 Intelligent control system and method for lighting switch of existing building Pending CN112218405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011047030.XA CN112218405A (en) 2020-09-29 2020-09-29 Intelligent control system and method for lighting switch of existing building

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011047030.XA CN112218405A (en) 2020-09-29 2020-09-29 Intelligent control system and method for lighting switch of existing building

Publications (1)

Publication Number Publication Date
CN112218405A true CN112218405A (en) 2021-01-12

Family

ID=74051417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011047030.XA Pending CN112218405A (en) 2020-09-29 2020-09-29 Intelligent control system and method for lighting switch of existing building

Country Status (1)

Country Link
CN (1) CN112218405A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201707570U (en) * 2010-06-17 2011-01-12 杭州宏暾电子技术有限公司 Intelligent socket remote control system
CN202435397U (en) * 2011-12-27 2012-09-12 深圳市优特普科技有限公司 Power line carrier communication device
CN204539181U (en) * 2015-01-13 2015-08-05 上海芯域微电子有限公司 Intelligent things lamp gateway
CN205581589U (en) * 2016-04-23 2016-09-14 湖南人文科技学院 Electrical apparatus energy consumption control system based on power line carrier and WIFI
CN205793559U (en) * 2016-05-17 2016-12-07 北京科技大学 A kind of illumination control apparatus based on low voltage power line carrier
US20180176755A1 (en) * 2015-06-16 2018-06-21 Yijun Zhao Indoor wireless communication network and internet of things system
CN108377590A (en) * 2018-02-06 2018-08-07 电子科技大学 A kind of compartmentalization intelligent radio lighting control system
WO2019186422A1 (en) * 2018-03-28 2019-10-03 Kamata Online Protection Services (Kops) Limited A monitoring and protection device
CN210629522U (en) * 2019-11-29 2020-05-26 湖南交通职业技术学院 Intelligent household system of power line carrier
CN213280161U (en) * 2020-09-29 2021-05-25 北京市住宅建筑设计研究院有限公司 Intelligent control system for lighting switch of existing building

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201707570U (en) * 2010-06-17 2011-01-12 杭州宏暾电子技术有限公司 Intelligent socket remote control system
CN202435397U (en) * 2011-12-27 2012-09-12 深圳市优特普科技有限公司 Power line carrier communication device
CN204539181U (en) * 2015-01-13 2015-08-05 上海芯域微电子有限公司 Intelligent things lamp gateway
US20180176755A1 (en) * 2015-06-16 2018-06-21 Yijun Zhao Indoor wireless communication network and internet of things system
CN205581589U (en) * 2016-04-23 2016-09-14 湖南人文科技学院 Electrical apparatus energy consumption control system based on power line carrier and WIFI
CN205793559U (en) * 2016-05-17 2016-12-07 北京科技大学 A kind of illumination control apparatus based on low voltage power line carrier
CN108377590A (en) * 2018-02-06 2018-08-07 电子科技大学 A kind of compartmentalization intelligent radio lighting control system
WO2019186422A1 (en) * 2018-03-28 2019-10-03 Kamata Online Protection Services (Kops) Limited A monitoring and protection device
CN210629522U (en) * 2019-11-29 2020-05-26 湖南交通职业技术学院 Intelligent household system of power line carrier
CN213280161U (en) * 2020-09-29 2021-05-25 北京市住宅建筑设计研究院有限公司 Intelligent control system for lighting switch of existing building

Similar Documents

Publication Publication Date Title
CN201766739U (en) Intelligent home LED lighting system based on ZigBee and ARM techniques
CN102170382A (en) System of monitoring household terminal device by intelligent network in digital house
CN101399736A (en) Remote control system based on ZigBee technique
CN201464935U (en) Intelligent energy-saving house temperature wireless monitoring system
CN102186285A (en) Lamp remotely-controlled by mobile phone Bluetooth and control method thereof
CN105465954A (en) Central air-conditioning ad-hoc network control system based on Zigbee modules and wifi module
CN202917747U (en) Remote-controlled multipath programmable timing switch socket
CN104460625A (en) Intelligent home switching system based on wireless network
CN105911924A (en) Mobile terminal-based intelligent remote control system
CN107085379B (en) Intelligent household control system and control method
CN201556978U (en) Remote monitoring module for power system switching value
CN213280161U (en) Intelligent control system for lighting switch of existing building
CN213937951U (en) Intelligent home gateway
CN201142577Y (en) Wireless or CAN bus program controlled remote electric load control module
CN102740565A (en) Loop controller of illuminating system
CN112218405A (en) Intelligent control system and method for lighting switch of existing building
CN201797529U (en) TCP or IP-based single-live wire intelligent home control device
CN201479419U (en) Terminal controller
CN108681289A (en) A kind of intelligent radio switch
CN212060926U (en) Internet of things gateway and Internet of things control system
CN208537943U (en) A kind of intelligent radio switch
CN209433224U (en) Intelligent switch based on ZigBee technology
CN210075648U (en) LED intelligent home gateway control system
CN209279264U (en) GPRS heat exchange station control system based on CAN bus mode
CN216434737U (en) Panel type multifunctional wireless comprehensive intelligent gateway

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