CN114375086A - Single-lamp wireless control system and control method based on NB-IoT network - Google Patents

Single-lamp wireless control system and control method based on NB-IoT network Download PDF

Info

Publication number
CN114375086A
CN114375086A CN202210061107.1A CN202210061107A CN114375086A CN 114375086 A CN114375086 A CN 114375086A CN 202210061107 A CN202210061107 A CN 202210061107A CN 114375086 A CN114375086 A CN 114375086A
Authority
CN
China
Prior art keywords
lamp
resistor
command
module
dimming
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
CN202210061107.1A
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.)
Zhongjin Peike Construction Co ltd
Original Assignee
Zhongjin Peike Construction 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 Zhongjin Peike Construction Co ltd filed Critical Zhongjin Peike Construction Co ltd
Priority to CN202210061107.1A priority Critical patent/CN114375086A/en
Publication of CN114375086A publication Critical patent/CN114375086A/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • 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/10Controlling the intensity of the light

Landscapes

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

Abstract

The invention relates to the technical field of lighting control, and discloses a single-lamp wireless control system and a control method based on an NB-IoT network, wherein the single-lamp wireless control system based on the NB-IoT network comprises a control platform, M base stations, N single-lamp controllers and a plurality of lamps, wherein the base stations and the single-lamp controllers respectively comprise NB-IoT wireless modules; the control platform is connected with the M base stations in a networking mode, each base station is wirelessly connected with one single lamp controller through the NB-IoT wireless module, and each single lamp controller is connected with one lamp. Therefore, the NB-IoT technology is adopted to realize that each single-lamp controller directly performs data interaction with the remote platform, the cost for building a gateway and self-networking is saved, and the flexibility and the compatibility are high. And moreover, the IP address and the port number of a remote control platform connected with the NB single-lamp controller can be modified online, and the system is flexibly connected with different platforms, and has stronger adaptability.

Description

Single-lamp wireless control system and control method based on NB-IoT network
Technical Field
The invention relates to the technical field of lighting control, in particular to a single-lamp wireless control system and a single-lamp wireless control method based on an NB-IoT network.
Background
With the acceleration of the urbanization process, the urban road illumination is increased rapidly, and the illumination consumption becomes the most main energy consumption source of the urban public utilities. The existing traditional urban road lighting control system sets and installs lamps in groups and sections, and generally adopts a loop control mode and a grouped and graded wired dimming control mode. The sub-loop control mode does not adjust the light of each lamp, and only controls the on-off of a certain loop power supply of each group; the grouping and grading wired dimming control mode adopts a dimming control signal cable to connect a group of lamp control signals, and a group of lamps can adjust the brightness at the same time. These control methods need to lay dimming control cables, lay more independent lighting loops and power supply cables, and when a dimming signal input end of a certain lamp is short-circuited, all lamps on a group of dimming cables are abnormal, so that the single lamp is inconvenient to control, and the lamps cannot be adjusted and modified in a line, so that the use is complicated.
Disclosure of Invention
The invention provides a single-lamp wireless control system and a single-lamp wireless control method based on an NB-IoT network, which aim to solve the problems in the prior art.
In order to achieve the purpose, the invention is realized by the following technical scheme:
in a first aspect, the invention provides a single-lamp wireless control system based on an NB-IoT network, which comprises a control platform, M base stations, N single-lamp controllers and a plurality of lamps, wherein each of the base stations and the single-lamp controllers comprises an NB-IoT wireless module; the control platform is connected with the M base stations in a networking mode, each base station is wirelessly connected with one single lamp controller through an NB-IoT wireless module, each single lamp controller is connected with one lamp, and N is a positive integer;
the control platform is used for sending a command to the base station;
the base station is used for forwarding the command to a single lamp controller wirelessly connected with the base station;
the single lamp controller is used for analyzing the command, the command comprises an acquisition command and a modification command, the single lamp controller acquires information of the lamp and sends the information to the base station under the condition that the command is the acquisition command, and the single lamp controller modifies the connected platform number and the port number according to the modification command under the condition that the command is the modification command.
Optionally, each of the N single-lamp controllers comprises: the lamp control system comprises a main control unit, a dimming module, a relay module, an electric quantity information acquisition module and a power supply, wherein the power supply is respectively connected with the main control unit, the dimming module, the relay module and the electric quantity information acquisition module;
the electric quantity information acquisition module is used for acquiring electric quantity information of the lamp to be controlled and sending the electric quantity information to the main control unit;
the main control unit is used for generating a dimming instruction and a switch control signal according to the electric quantity information, sending the dimming instruction to the dimming module and sending the switch control signal to the relay module;
the relay module is used for performing on-off control on the lamp to be controlled according to the on-off control signal of the main control unit;
the dimming module is used for dimming the lamp to be controlled according to the dimming instruction.
Optionally, the electric quantity information collecting module includes: the circuit comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a capacitor C1, a capacitor C2, a capacitor C3, a power chip, a transformer T2 and a current transformer TQ 1;
a first terminal of the resistor R1 is connected to the hot wire, a second terminal of the resistor R1 is connected to a first terminal of the resistor R2, the second end of the resistor R2 is connected with the first end of the resistor R3, the second end of the resistor R3 is connected with the first end of the resistor R4, the second end of the resistor R4 is connected with the first end of the resistor R5, the second end of the resistor R5 is connected with the zero line, and the second end of the resistor R5 is connected with the first side of the transformer T2, the second side of the transformer T2 is connected with the zero line, the resistor R6 is connected with the transformer T2 in parallel, a first end of the resistor R6 is connected with a first end of the resistor R7, a second end of the resistor R7 is connected with a first end of the capacitor C1, a second end of the resistor R6 is connected with a second end of the capacitor C1, the second end of the capacitor C1 is grounded, and the second end of the resistor R7 is connected with a VP pin of the power chip;
the live wire passes through current transformer TQ1, resistance R8 with current transformer TQ1 is parallelly connected, and the first end of resistance R8 with the first end of resistance R10 is connected, the second end of resistance R8 with the first end of resistance R9 is connected, just the second end ground of resistance R8, the second end of resistance R9 with the first end of condenser C3 is connected, just the second end of resistance R9 with the IAN pin of power chip is connected, the second end of condenser C3 with the first end of condenser C2 is connected, the second end of condenser C2 with the second end of resistance R10 is connected, and the second end of resistance R10 with the IAP pin of power chip is connected.
Optionally, the relay module is connected with a driving power supply of the lamp to be controlled;
the main control unit is also used for controlling the on-off of the relay module so as to control the relay module to drive the connection or disconnection of the driving power supply.
Optionally, the lamp identification system further comprises an identification card module and an antenna, wherein the identification card module is connected with the antenna, and an ID uniquely corresponding to the single lamp controller is arranged in the identification card module.
In a second aspect, the present application provides a single-lamp wireless control method, which is applied to the NB-IoT network-based single-lamp wireless control system according to the first aspect, and includes:
the control platform sends a command to the base station;
the base station forwards the command to a single lamp controller wirelessly connected with the base station;
the single lamp controller analyzes the command, the command comprises an acquisition command and a modification command, the single lamp controller acquires information of the lamp and sends the information to the base station under the condition that the command is the acquisition command, and the single lamp controller modifies the connected platform number and the port number according to the modification command under the condition that the command is the modification command.
Optionally, each single lamp controller comprises: the lamp control system comprises a main control unit, a dimming module, a relay module, an electric quantity information acquisition module and a power supply, wherein the power supply is respectively connected with the main control unit, the dimming module, the relay module and the electric quantity information acquisition module;
the method further comprises the following steps:
under the condition that the command is an acquisition command, the electric quantity information acquisition module acquires electric quantity information of the lamp to be controlled and sends the electric quantity information to the main control unit;
the main control unit generates a dimming instruction and a switch control signal according to the electric quantity information, sends the dimming instruction to the dimming module, and sends the switch control signal to the relay module;
the relay module performs on-off control on the lamp to be controlled according to the on-off control signal of the main control unit;
and the dimming module performs dimming processing on the lamp to be controlled according to the dimming instruction.
Optionally, the method further comprises: and generating a control instruction according to a preset time control strategy, and regulating and controlling the lamp to be controlled according to the control instruction.
Has the advantages that:
the invention provides a single-lamp wireless control system based on an NB-IoT network, which comprises a control platform, M base stations, N single-lamp controllers and a plurality of lamps, wherein each of the base stations and the single-lamp controllers comprises an NB-IoT wireless module; the control platform is connected with the M base stations in a networking mode, each base station is wirelessly connected with one single lamp controller through the NB-IoT wireless module, and each single lamp controller is connected with one lamp. The control platform is used for sending a command to the base station; the base station is used for forwarding the command to a single lamp controller in wireless connection with the base station; the single lamp controller is used for analyzing the command, the command comprises an acquisition command and a modification command, the single lamp controller acquires information of the lamp and sends the information to the base station under the condition that the command is the acquisition command, and the single lamp controller modifies the connected platform number and the port number according to the modification command under the condition that the command is the modification command. Therefore, the NB-IoT technology is adopted to realize that each single-lamp controller directly performs data interaction with the remote platform, the cost for building a gateway and self-networking is saved, and the flexibility and the compatibility are high. And moreover, the IP address and the port number of a remote control platform connected with the NB single-lamp controller can be modified online, and the system is flexibly connected with different platforms, and has stronger adaptability.
Drawings
Fig. 1 is a schematic structural diagram of a single-lamp wireless control system based on an NB-IoT network according to a preferred embodiment of the present invention;
FIG. 2 is one of the schematic structural diagrams of a single lamp controller according to a preferred embodiment of the present invention;
FIG. 3 is a second schematic diagram of a single lamp controller according to a preferred embodiment of the present invention;
fig. 4 is a circuit diagram of an electric quantity information collecting module according to a preferred embodiment of the present invention;
fig. 5 is a flowchart of a control method of a single lamp controller according to a preferred embodiment of the present invention.
Detailed Description
The technical solutions of the present invention are described clearly and completely below, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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.
Referring to fig. 1, an embodiment of the present application provides a single-lamp wireless control system based on an NB-IoT network, including a control platform, M base stations, N single-lamp controllers, and a plurality of light fixtures, where the base stations and the single-lamp controllers each include an NB-IoT wireless module; the control platform is connected with the M base stations in a networking mode, each base station is wirelessly connected with one single lamp controller through an NB-IoT wireless module, each single lamp controller is connected with one lamp, and N is a positive integer;
the control platform is used for sending a command to the base station;
the base station is used for forwarding the command to a single lamp controller wirelessly connected with the base station;
the single lamp controller is used for analyzing the command, the command comprises an acquisition command and a modification command, the single lamp controller acquires information of the lamp and sends the information to the base station under the condition that the command is the acquisition command, and the single lamp controller modifies the connected platform number and the port number according to the modification command under the condition that the command is the modification command.
According to the single-lamp wireless control system based on the NB-IoT network, the NB-IoT technology is adopted to realize that each single-lamp controller directly performs data interaction with the remote platform, the cost for building a gateway and self-networking is saved, and the flexibility and the compatibility are high. And the control platform sends commands to the base station, the commands comprise acquisition commands and modification commands, the IP address and the port number of the remote control platform connected with the NB single lamp controller can be modified on line, the remote control platform is flexibly connected with different platforms, and the adaptive capacity is higher.
The NB-IoT wireless module may implement wireless transmission between the single-lamp controller and the outside, for example, wireless transmission between the single-lamp controller and a remote control platform, and the NB-IoT wireless signal has a wide coverage, a fast rate, a low cost, a low power consumption, and an excellent architecture. In the city, the user does not need to network by himself any more, and the use is flexible and convenient.
Referring to fig. 2-3, each of the N single-lamp controllers includes: the lamp control system comprises a main control unit, a dimming module, a relay module, an electric quantity information acquisition module and a power supply, wherein the power supply is respectively connected with the main control unit, the dimming module, the relay module and the electric quantity information acquisition module;
the electric quantity information acquisition module is used for acquiring electric quantity information of the lamp to be controlled and sending the electric quantity information to the main control unit;
the main control unit is used for generating a dimming instruction and a switch control signal according to the electric quantity information, sending the dimming instruction to the dimming module and sending the switch control signal to the relay module;
the relay module is used for controlling the on-off of the lamp to be controlled according to the on-off control signal of the main control unit;
the dimming module is used for dimming the lamp to be controlled according to the dimming instruction.
In this embodiment, the main control unit may be a single chip microcomputer, the dimming module may be a DA dimming module, the power supply may include a 220VAC to 12VDC power supply module and a 12VDC to 3.3VDC power supply module, the 220VAC to 12VDC power supply module is connected with the dimming module, and the 220VAC to 12VDC power supply module is connected with the 12VDC to 3.3VDC power supply module.
The electric quantity information may be information such as current, voltage, power, electric energy, power factor information, and the like, which is only an example and is not limited herein.
In specific implementation, the single lamp controller can have two paths of outputs, one path is a 0-10 VDC or PWM dimming signal of the lamp, and the other path is a 220VAC power switch output of the lamp. The two paths of outputs are connected with the corresponding inputs of the LED driving power supply of the lamp, so that the dimming and power on-off control of the LED lamp are realized.
The single lamp controller collects the electric quantity information of the lamp to be controlled through the electric quantity information collection module, the lamp is controlled to be turned on and off through the relay module, the dimming module is used for dimming the lamp to be controlled according to the dimming instruction, dimming processing of a single lamp can be achieved, and flexibility is high.
Optionally, as shown in fig. 4, the electric quantity information collecting module includes: the circuit comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a capacitor C1, a capacitor C2, a capacitor C3, a power chip, a transformer T2 and a current transformer TQ 1;
a first end of a resistor R1 is connected with a live wire, a second end of a resistor R1 is connected with a first end of a resistor R2, a second end of a resistor R2 is connected with a first end of a resistor R3, a second end of a resistor R3 is connected with a first end of a resistor R4, a second end of a resistor R4 is connected with a first end of a resistor R5, a second end of a resistor R5 is connected with a zero line, a second end of a resistor R5 is connected with a first side of a transformer T2, a second side of the transformer T2 is connected with the zero line, a resistor R6 is connected with the transformer T2 in parallel, a first end of a resistor R6 is connected with a first end of a resistor R7, a second end of the resistor R7 is connected with a first end of a capacitor C1, a second end of a resistor R6 is connected with a second end of a capacitor C1, a second end of a capacitor C1 is grounded, and a second end of the resistor R7 is connected with a VP pin of the electric quantity chip;
the live wire passes through current transformer TQ1, resistance R8 is parallelly connected with current transformer TQ1, and the first end of resistance R8 is connected with the first end of resistance R10, the second end of resistance R8 is connected with the first end of resistance R9, and the second end ground of resistance R8, the second end of resistance R9 is connected with the first end of electric capacity C3, and the second end of resistance R9 is connected with the IAN pin of electric quantity chip, the second end of electric capacity C3 is connected with the first end of electric capacity C2, the second end of electric capacity C2 is connected with the second end of resistance R10, and the second end of resistance R10 is connected with the IAP pin of electric quantity chip.
The electric quantity acquisition module can acquire current and voltage, can also acquire power and electric energy, and is favorable for designing a power-saving strategy.
Optionally, the relay module is connected with a driving power supply of the lamp to be controlled;
the main control unit is also used for controlling the on-off of the relay module so as to control the connection or disconnection of the relay module driving power supply.
In this optional embodiment, a single chip microcomputer is taken as an example of the main control unit for illustration, and when the electric quantity is collected, the single chip microcomputer controls the on-off of the coil current of the relay module K1 to realize the on-off of the lamp power supply. When the relay module is controlled to be connected with a lamp power supply, the lamp current passes through the current transformer TQ1 through the normally closed contact of the relay module, and corresponding currents are generated on the wiring terminals 1 and 2 of the current transformer TQ 1. The current transformer TQ1 reduces the input current according to the proportion to obtain the isolated sampling current, the secondary side wiring terminals 1 and 2 of the current transformer are connected with the sampling resistor R8 in parallel, the current signal is converted into a voltage signal and is input to the current detection port of the module HLW8112, and the real-time current collection is realized; l, N is connected to a voltage acquisition circuit of a current type voltage transformer T2 with 5 resistors connected in series, voltage between L, N is converted into specific current and is isolated by the transformer T2 and output to the secondary side of the transformer, the output current of the secondary side is connected to a resistor R6 and converted into voltage and input to a voltage detection port of a module HLW8112, voltage acquisition is achieved, and an electric quantity information acquisition module automatically calculates electric quantity parameters such as electric quantity and power according to the acquisition values of the current and the voltage.
The single chip microcomputer collects input current and voltage signals through the electric quantity information collection module, a current fault threshold value is set, and in the operation process, if the relay module is in a normally closed state but the real-time current is smaller than the threshold value, a lamp fault can be judged.
Optionally, the single-lamp controller further includes an identification card module and an antenna, the identification card module is connected to the antenna, and an ID uniquely corresponding to the single-lamp controller is set in the identification card module. The identification card module can be an SIM card module, so that when a field lamp fails, the specific position of the failed lamp can be judged through the ID of the single lamp controller corresponding to the lamp, and fault location is realized.
In this optional embodiment, the antenna may be disposed at a position exposed outside the housing of the single lamp controller, for example, the antenna is disposed outside the housing of the single lamp controller, so as to avoid affecting the communication distance and the transmission effect, and improve the transmission performance.
In other examples, the single-lamp controller of the present invention may be applied to urban road or enterprise area lighting, so as to form a wireless lighting network at the level of road management or enterprise lighting, and form a larger lighting monitoring system through internet networking, such as a city-level city road lighting intelligent monitoring system.
Specifically, the remote control platform and the NB wireless single lamp controller of the present invention communicate with an NB base station deployed in a city by an operator through the internet, and the NB base station communicates with the NB wireless single lamp controller through an NB-IoT network, and the remote control platform initiates communication. The NB base station initiates NB wireless communication after receiving the remote control platform command, forwards the remote control platform command to the corresponding single-lamp controller, receives control feedback information, lamp electric quantity information or lamp fault state and other information returned by the single-lamp controller through NB-IoT wireless communication, and uploads the information to the remote control platform through Internet communication. The NB wireless dimmable single lamp controller has two paths of output, one path is a 0-10 VDC or PWM dimming signal of a lamp, and the other path is output by a 220VAC lamp power switch. The two paths of outputs are connected with the corresponding inputs of the LED driving power supply of the lamp, so that the dimming and power on-off control of the LED lamp are realized. The time, minute and second values of the current world time are automatically acquired from the NB base station and stored in the internal clock variable of the single-lamp controller after the dimmable single-lamp controller is powered on, and then the local clock strategy is operated to update the internal clock variable in real time without acquiring the time from the NB base station in real time. To reduce the error of the local clock, the local time calibration is performed by acquiring the universal time from the NB base station every hour. When a local clock is operated, judging whether the current time is in a light-on time period or a light-off time period in real time; if the lamp is in the lamp-on time period and the relay module is in the off state, the lamp is in the lamp-off state at present, a lamp-on strategy is executed, and the relay module is closed; and if the lamp is in the lamp-off time period and the relay module is in the closed state, indicating that the lamp is in the lamp-on state at present, executing a lamp-off strategy and disconnecting the relay module. And if a manual light switching command of the remote control platform is received, suspending the local light switching strategy, and recovering the local light switching strategy after the manual operation is finished and a recovery command is received. Specifically, 6 dimming moments are built in the single lamp controller, the remote control platform is used for configuring and modifying, the local clock is operated, whether the dimming moments are reached or not is judged in real time, and if the corresponding dimming moments are reached, the dimming output value of the LED lamp is adjusted to a given value. This is merely one example of the use of a single lamp controller.
The embodiment of the present application further provides a single-lamp wireless control method, which is applied to the NB-IoT network-based single-lamp wireless control system described above, and includes:
the control platform sends a command to the base station;
the base station forwards the command to a single lamp controller wirelessly connected with the base station;
the single lamp controller analyzes the command, the command comprises an acquisition command and a modification command, the single lamp controller acquires information of the lamp and sends the information to the base station under the condition that the command is the acquisition command, and the single lamp controller modifies the connected platform number and the port number according to the modification command under the condition that the command is the modification command.
Each single lamp controller comprises: the lamp control system comprises a main control unit, a dimming module, a relay module, an electric quantity information acquisition module and a power supply, wherein the power supply is respectively connected with the main control unit, the dimming module, the relay module and the electric quantity information acquisition module;
the method further comprises the following steps:
under the condition that the command is an acquisition command, the electric quantity information acquisition module acquires electric quantity information of the lamp to be controlled and sends the electric quantity information to the main control unit;
the main control unit generates a dimming instruction and a switch control signal according to the electric quantity information, sends the dimming instruction to the dimming module, and sends the switch control signal to the relay module;
the relay module performs on-off control on the lamp to be controlled according to the on-off control signal of the main control unit;
and the dimming module performs dimming processing on the lamp to be controlled according to the dimming instruction.
In this optional embodiment, the preset time control policy may be set in the main control unit by the user according to a requirement of the user, or may be a time control policy that a remote platform received by the main control unit is issued to the single lamp controller last time and is built in the single lamp controller, where the preset time control policy is used to instruct to perform lamp dimming, on-off control, and fault diagnosis. Therefore, on-line and off-line switching and dimming can be realized based on the intelligent control strategy, when the intelligent control lamp is disconnected with the Internet, the lamp can be automatically switched on and off and dimmed by the aid of the time control strategy in the single lamp controller, and stability is high.
Optionally, the main control unit is in communication connection with the remote control platform through the wireless module, and the method further includes:
the remote control platform sends a control command to the main control unit through the wireless module;
the main control unit analyzes the control command and executes an action corresponding to the control command to generate detection information; and the control unit sends detection information to the remote control platform, wherein the detection information comprises electric quantity information and lamp fault state information.
Optionally, the parsing, by the master control unit, the control command and executing an action corresponding to the control command includes:
the main control unit analyzes the control command, modifies the lamp turning-on and lamp turning-off time and writes the lamp turning-on and lamp turning-off time into an EEPROM (electrically erasable programmable read-only memory) under the condition that the control command is a command for configuring the lamp turning-on and lamp turning-off time, and simultaneously feeds back a corresponding command to the remote control platform;
when the control command is a dimming command, dimming is performed according to the dimming command, and meanwhile, a corresponding command is fed back to the remote control platform;
and under the condition that the control command is a fault and electric quantity information acquisition command, acquiring the electric quantity information of the lamp to be controlled according to the fault and electric quantity information acquisition command, determining the fault state information of the lamp to be controlled according to the electric quantity information, and feeding back the electric quantity information and the lamp fault state information to the remote control platform.
In other examples, as shown in fig. 5, the control method of the single lamp controller may be as follows:
after receiving the wireless command information sent by the remote control platform, the main control unit firstly performs CRC (cyclic redundancy check) and ID (identity) number check on the data, and then performs the next operation if the data check is correct and the ID number is correct, and returns to wait for receiving the data again if the data check is wrong.
The main control unit judges whether the command is a command for modifying platform parameters, if so, modifies the platform IP and the port number and writes the platform IP and the port number into the EEPROM, and simultaneously replies a corresponding command to the platform.
And the main control unit judges whether the command is a command for configuring the gate valve value, if so, modifies the fault judgment gate valve value and writes the fault judgment gate valve value into an EEPROM (electrically erasable programmable read-only memory), and simultaneously replies a corresponding command to the platform.
The main control unit judges whether the command is a command for configuring the lamp turning-on and lamp-off time, if so, the lamp turning-on and lamp-off time is modified and written into the EEPROM, and meanwhile, the corresponding command is replied to the platform.
The main control unit judges whether the command is a dimming time and dimming value command for configuring a time control strategy, if so, the main control unit modifies 6 dimming times and dimming values and writes the dimming values into an EEPROM, and simultaneously replies a corresponding command to the platform.
The main control unit judges whether the command is a manual 3s gradual dimming command, if so, the dimming output value is gradually adjusted to the target value within 3s, gradual dimming of the LED lamp is realized, and a dimming success command is returned to the platform after dimming is completed.
The main control unit judges whether the command is a manual lamp switching command, if so, the pin of the relay module is controlled to be set high or low according to the command, and the command is returned to the platform after the control is successful.
The main control unit judges whether the command is a fault and electric quantity information acquisition command, if so, the SPI reads a current register value of the HLW8112 chip, a real-time current value Iin is calculated according to the specification, the Iin is compared with a fault gate threshold Io, if the real-time current value is smaller than a gate valve value and the relay module is in a closed state at the moment, the lamp fault is represented, and otherwise, the lamp is normal. And after the lamp fault state is judged, returning the state to the remote control platform for displaying and debugging.
After the timer is opened in the main program for interruption, the background timer always judges whether the system time reaches the time of turning on the light or turning off the light. If the lamp-on time is up and the lamp is in the lamp-off state, controlling the lamp to be turned on; and controlling the lamp to be turned off if the lamp-off time is up and the lamp is in the on state. When the LED lamp is in a light-on state, whether the dimming time is reached or not can be monitored in real time, and time-interval graded dimming is carried out.
The control method of the single lamp controller in the embodiment of the application can realize each embodiment of the single lamp controller and can achieve the same beneficial effects, and the detailed description is omitted here.
The foregoing detailed description of the preferred embodiments of the invention has been presented. It should be understood that numerous modifications and variations could be devised by those skilled in the art in light of the present teachings without departing from the inventive concepts. Therefore, the technical solutions available to those skilled in the art through logic analysis, reasoning and limited experiments based on the prior art according to the concept of the present invention should be within the scope of protection defined by the claims.

Claims (8)

1. A single-lamp wireless control system based on an NB-IoT network is characterized by comprising a control platform, M base stations, N single-lamp controllers and a plurality of lamps, wherein the base stations and the single-lamp controllers respectively comprise NB-IoT wireless modules; the control platform is connected with the M base stations in a networking mode, each base station is wirelessly connected with one single lamp controller through an NB-IoT wireless module, each single lamp controller is connected with one lamp, and N is a positive integer;
the control platform is used for sending a command to the base station;
the base station is used for forwarding the command to a single lamp controller wirelessly connected with the base station;
the single lamp controller is used for analyzing the command, the command comprises an acquisition command and a modification command, the single lamp controller acquires information of the lamp and sends the information to the base station under the condition that the command is the acquisition command, and the single lamp controller modifies the connected platform number and the port number according to the modification command under the condition that the command is the modification command.
2. The NB-IoT network-based single-lamp wireless control system according to claim 1, wherein each of the N single-lamp controllers comprises: the lamp control system comprises a main control unit, a dimming module, a relay module, an electric quantity information acquisition module and a power supply, wherein the power supply is respectively connected with the main control unit, the dimming module, the relay module and the electric quantity information acquisition module;
the electric quantity information acquisition module is used for acquiring electric quantity information of the lamp to be controlled and sending the electric quantity information to the main control unit;
the main control unit is used for generating a dimming instruction and a switch control signal according to the electric quantity information, sending the dimming instruction to the dimming module and sending the switch control signal to the relay module;
the relay module is used for performing on-off control on the lamp to be controlled according to the on-off control signal of the main control unit;
the dimming module is used for dimming the lamp to be controlled according to the dimming instruction.
3. The NB-IoT network-based single-lamp wireless control system according to claim 2, wherein the power information collection module comprises: the circuit comprises a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a resistor R7, a resistor R8, a resistor R9, a resistor R10, a capacitor C1, a capacitor C2, a capacitor C3, a power chip, a transformer T2 and a current transformer TQ 1;
a first terminal of the resistor R1 is connected to the hot wire, a second terminal of the resistor R1 is connected to a first terminal of the resistor R2, the second end of the resistor R2 is connected with the first end of the resistor R3, the second end of the resistor R3 is connected with the first end of the resistor R4, the second end of the resistor R4 is connected with the first end of the resistor R5, the second end of the resistor R5 is connected with the zero line, and the second end of the resistor R5 is connected with the first side of the transformer T2, the second side of the transformer T2 is connected with the zero line, the resistor R6 is connected with the transformer T2 in parallel, a first end of the resistor R6 is connected with a first end of the resistor R7, a second end of the resistor R7 is connected with a first end of the capacitor C1, a second end of the resistor R6 is connected with a second end of the capacitor C1, the second end of the capacitor C1 is grounded, and the second end of the resistor R7 is connected with a VP pin of the power chip;
the live wire passes through current transformer TQ1, resistance R8 with current transformer TQ1 is parallelly connected, and the first end of resistance R8 with the first end of resistance R10 is connected, the second end of resistance R8 with the first end of resistance R9 is connected, just the second end ground of resistance R8, the second end of resistance R9 with the first end of condenser C3 is connected, just the second end of resistance R9 with the IAN pin of power chip is connected, the second end of condenser C3 with the first end of condenser C2 is connected, the second end of condenser C2 with the second end of resistance R10 is connected, and the second end of resistance R10 with the IAP pin of power chip is connected.
4. The NB-IoT network-based single-lamp wireless control system according to claim 2, wherein the relay module is connected with a driving power supply of the lamp to be controlled;
the main control unit is also used for controlling the on-off of the relay module so as to control the relay module to drive the connection or disconnection of the driving power supply.
5. The NB-IoT network-based single-lamp wireless control system according to claim 1, further comprising an identification card module and an antenna, wherein the identification card module is connected with the antenna, and an ID uniquely corresponding to the single-lamp controller is set in the identification card module.
6. A control method of an NB-IoT network-based single-lamp wireless control system, applied to the NB-IoT network-based single-lamp wireless control system according to any one of claims 1 to 5, comprising:
the control platform sends a command to the base station;
the base station forwards the command to a single lamp controller wirelessly connected with the base station;
the single lamp controller analyzes the command, the command comprises an acquisition command and a modification command, the single lamp controller acquires information of the lamp and sends the information to the base station under the condition that the command is the acquisition command, and the single lamp controller modifies the connected platform number and the port number according to the modification command under the condition that the command is the modification command.
7. The control method of claim 6, wherein each single lamp controller comprises: the lamp control system comprises a main control unit, a dimming module, a relay module, an electric quantity information acquisition module and a power supply, wherein the power supply is respectively connected with the main control unit, the dimming module, the relay module and the electric quantity information acquisition module;
the method further comprises the following steps:
under the condition that the command is an acquisition command, the electric quantity information acquisition module acquires electric quantity information of the lamp to be controlled and sends the electric quantity information to the main control unit;
the main control unit generates a dimming instruction and a switch control signal according to the electric quantity information, sends the dimming instruction to the dimming module, and sends the switch control signal to the relay module;
the relay module performs on-off control on the lamp to be controlled according to the on-off control signal of the main control unit;
and the dimming module performs dimming processing on the lamp to be controlled according to the dimming instruction.
8. The control method according to claim 7, characterized by further comprising: and generating a control instruction according to a preset time control strategy, and regulating and controlling the lamp to be controlled according to the control instruction.
CN202210061107.1A 2022-01-19 2022-01-19 Single-lamp wireless control system and control method based on NB-IoT network Pending CN114375086A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210061107.1A CN114375086A (en) 2022-01-19 2022-01-19 Single-lamp wireless control system and control method based on NB-IoT network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210061107.1A CN114375086A (en) 2022-01-19 2022-01-19 Single-lamp wireless control system and control method based on NB-IoT network

Publications (1)

Publication Number Publication Date
CN114375086A true CN114375086A (en) 2022-04-19

Family

ID=81146528

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210061107.1A Pending CN114375086A (en) 2022-01-19 2022-01-19 Single-lamp wireless control system and control method based on NB-IoT network

Country Status (1)

Country Link
CN (1) CN114375086A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115119368A (en) * 2022-07-01 2022-09-27 扬州灿阳电子科技有限公司 Street lamp single lamp controller with 4G real-time communication function

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5999843A (en) * 1982-11-29 1984-06-08 Nec Corp Network connecting system
JPS59231997A (en) * 1983-06-15 1984-12-26 Matsushita Electric Works Ltd Remote controlling and supervising system
CA1216953A (en) * 1984-03-06 1987-01-20 Chris Karabatsos Remote fan out facility for data terminals
TW200908658A (en) * 2007-08-15 2009-02-16 Inventec Corp A system for modifying internet protocol address of internal network in a dual-controller, and method using the same
CN204008845U (en) * 2014-08-06 2014-12-10 王峰 A kind of single-phase electric energy meter metering circuit
CN205029679U (en) * 2015-11-04 2016-02-10 上海协同科技股份有限公司 Take long -range frequency point to switch communication controlling means of function
CN105792478A (en) * 2016-03-07 2016-07-20 国电南瑞科技股份有限公司 Power utilization information acquisition system based streetlamp control system and method
CN206353875U (en) * 2016-09-26 2017-07-25 广东德洛斯照明工业有限公司 A kind of hand-held list lamp Data Enter device based on GPS
CN207926980U (en) * 2018-03-16 2018-09-28 湖南沛科交通工程技术股份有限公司 A kind of wireless single lamp control system based on LoRa technologies
CN211481547U (en) * 2020-01-16 2020-09-11 南京邮电大学 Single lamp controller with multiple communication modes
CN111654359A (en) * 2020-06-23 2020-09-11 中国民用航空总局第二研究所 Hot standby redundant communication system and method
CN111954357A (en) * 2020-08-12 2020-11-17 烽火通信科技股份有限公司 Time synchronization method and system for NB-IoT street lamp single lamp controller
CN212115751U (en) * 2020-06-22 2020-12-08 温州职业技术学院 Reliable single lamp controller based on NB-IoT technology
CN112437528A (en) * 2020-12-03 2021-03-02 国网辽宁省电力有限公司检修分公司 Lighting control system based on NB-IOT narrowband thing allies oneself with technique

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5999843A (en) * 1982-11-29 1984-06-08 Nec Corp Network connecting system
JPS59231997A (en) * 1983-06-15 1984-12-26 Matsushita Electric Works Ltd Remote controlling and supervising system
CA1216953A (en) * 1984-03-06 1987-01-20 Chris Karabatsos Remote fan out facility for data terminals
TW200908658A (en) * 2007-08-15 2009-02-16 Inventec Corp A system for modifying internet protocol address of internal network in a dual-controller, and method using the same
CN204008845U (en) * 2014-08-06 2014-12-10 王峰 A kind of single-phase electric energy meter metering circuit
CN205029679U (en) * 2015-11-04 2016-02-10 上海协同科技股份有限公司 Take long -range frequency point to switch communication controlling means of function
CN105792478A (en) * 2016-03-07 2016-07-20 国电南瑞科技股份有限公司 Power utilization information acquisition system based streetlamp control system and method
CN206353875U (en) * 2016-09-26 2017-07-25 广东德洛斯照明工业有限公司 A kind of hand-held list lamp Data Enter device based on GPS
CN207926980U (en) * 2018-03-16 2018-09-28 湖南沛科交通工程技术股份有限公司 A kind of wireless single lamp control system based on LoRa technologies
CN211481547U (en) * 2020-01-16 2020-09-11 南京邮电大学 Single lamp controller with multiple communication modes
CN212115751U (en) * 2020-06-22 2020-12-08 温州职业技术学院 Reliable single lamp controller based on NB-IoT technology
CN111654359A (en) * 2020-06-23 2020-09-11 中国民用航空总局第二研究所 Hot standby redundant communication system and method
CN111954357A (en) * 2020-08-12 2020-11-17 烽火通信科技股份有限公司 Time synchronization method and system for NB-IoT street lamp single lamp controller
CN112437528A (en) * 2020-12-03 2021-03-02 国网辽宁省电力有限公司检修分公司 Lighting control system based on NB-IOT narrowband thing allies oneself with technique

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115119368A (en) * 2022-07-01 2022-09-27 扬州灿阳电子科技有限公司 Street lamp single lamp controller with 4G real-time communication function
CN115119368B (en) * 2022-07-01 2023-09-12 扬州灿阳电子科技有限公司 Street lamp single lamp controller with 4G real-time communication function

Similar Documents

Publication Publication Date Title
CN1939098B (en) Multiple-input electronic ballast with processor
CN104412715B (en) System and method for providing alternative communication path for management of lighting network elements
CN108337779A (en) A kind of wireless single lamp control system based on LoRa technologies
CN105515197A (en) Power grid topological structure identification method and device
CN112638017A (en) Illumination monitoring method and device
EP2051567B1 (en) A lighting unit and a control method thereof
JP2015057779A (en) LED lighting controller
CN114375086A (en) Single-lamp wireless control system and control method based on NB-IoT network
CN107689903A (en) Intelligent home equipment control method, system, storage medium and computer equipment
CN114375078A (en) Single lamp controller based on NB-IoT network and control method
CN106937466A (en) A kind of SCM Based street lamp fault detection, intelligent alarm control module
CN117241450A (en) Light carrier control system and method
CN108303905A (en) A kind of home equipment control system and control method
CN207926980U (en) A kind of wireless single lamp control system based on LoRa technologies
CN101500355B (en) Single lamp energy saving controller for road lamp and control method
CN111315074A (en) Classroom intelligent lighting system based on wireless communication
CN116234095A (en) Signal lamp control system and control method
CN206807842U (en) A kind of SCM Based street lamp fault detection, intelligent alarm control module
CN207733029U (en) Based on the centrally connected power supply formula LED lighthouse of multiple-pulse Transformer Rectifier technology, lamp bridge
CN103781246A (en) Bus-type intelligent illumination system and method
CN210725358U (en) NB-IoT gateway with intelligent street lamp control function
CN104023440B (en) Public illumination MANET remote controllers and method
CN201904956U (en) Circuit monitor terminal
CN221306157U (en) Navigation light power supply system
CN111726908B (en) LED lamp single lamp control device and control method

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