CN114375078A - Single lamp controller based on NB-IoT network and control method - Google Patents

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

Info

Publication number
CN114375078A
CN114375078A CN202210061122.6A CN202210061122A CN114375078A CN 114375078 A CN114375078 A CN 114375078A CN 202210061122 A CN202210061122 A CN 202210061122A CN 114375078 A CN114375078 A CN 114375078A
Authority
CN
China
Prior art keywords
lamp
resistor
module
dimming
electric quantity
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
CN202210061122.6A
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 CN202210061122.6A priority Critical patent/CN114375078A/en
Publication of CN114375078A publication Critical patent/CN114375078A/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]
    • 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
    • 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/105Controlling the light source in response to determined parameters
    • H05B47/14Controlling the light source in response to determined parameters by determining electrical parameters of the light source
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (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 controller based on an NB-IoT network and a control method, wherein the 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 dimming module and the relay module are respectively connected with a lamp to be controlled, the main control unit is respectively connected with the dimming module, the relay module and the electric quantity information acquisition module, and the dimming module and the relay module are respectively connected with a single lamp to be controlled. Like this, gather the electric quantity information of treating control lamps and lanterns through electric quantity information acquisition module, carry out on-off control to lamps and lanterns through the relay module to adopt the module of adjusting luminance to treat control lamps and lanterns according to the instruction of adjusting luminance and adjust luminance and handle, can realize the processing of adjusting luminance to single lamps and lanterns, the flexibility is high.

Description

Single lamp controller based on NB-IoT network and control method
Technical Field
The invention relates to the technical field of lighting control, in particular to a single lamp controller based on an NB-IoT network and a control method.
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 circuits and power supply cables, and when a certain lamp is short-circuited at a dimming signal input end, all lamps on a group of dimming cables are abnormal, so that the safety of people and vehicles on roads is seriously affected, or huge electric energy waste is caused. Therefore, the regulation and control difficulty of a single lamp in the prior art is high.
Disclosure of Invention
The invention provides a single lamp controller based on an NB-IoT network and a control method thereof, 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 present invention provides a NB-IoT network-based single-lamp controller, including: 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 further provides a control method for a single-lamp controller based on an NB-IoT network, which is applied to the single-lamp controller according to the first aspect, and includes:
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.
Optionally, the single lamp controller further comprises: the system comprises a wireless module and a remote control platform, wherein the main control unit is in communication connection with the remote control platform through the wireless module, and the method further comprises the following steps:
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 instruction, acquiring the electric quantity information of the lamp to be controlled according to the fault and electric quantity information acquisition instruction, 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.
Has the advantages that:
the invention provides a single lamp controller based on an NB-IoT network, which 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 dimming module and the relay module are both connected with a lamp to be controlled, the main control unit is respectively connected with the dimming module, the relay module and the electric quantity information acquisition module, and the dimming module and the relay module are both connected with a single lamp to be controlled. Like this, gather the electric quantity information of treating control lamps and lanterns through electric quantity information acquisition module, carry out on-off control to lamps and lanterns through the relay module to adopt the module of adjusting luminance to treat control lamps and lanterns according to the instruction of adjusting luminance and adjust luminance and handle, can realize the processing of adjusting luminance to single lamps and lanterns, the flexibility is high.
Drawings
FIG. 1 is one of the schematic structural diagrams of a single lamp controller according to a preferred embodiment of the present invention;
FIG. 2 is a second schematic diagram of a single lamp controller according to a preferred embodiment of the present invention;
fig. 3 is a circuit diagram of an electric quantity information collecting module according to a preferred embodiment of the present invention;
fig. 4 is a flowchart of a control method of a single-lamp controller based on an NB-IoT network 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-2, an embodiment of the present application provides a single lamp controller based on an NB-IoT network, including: 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.
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.
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. 3, 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 control method for a single-lamp controller based on an NB-IoT network, which is applied to the single-lamp controller described above, and includes:
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. 4, 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 NB-IoT network-based single lamp controller, comprising: the lamp control system comprises a main control unit, a dimming module, a relay module, an electric quantity information acquisition module, a power supply and an NB-IoT wireless module, 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.
2. The NB-IoT network-based single-light controller according to claim 1, 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.
3. The NB-IoT network-based single lamp controller according to claim 1, 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.
4. The NB-IoT network-based single-lamp controller 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.
5. A control method of an NB-IoT network-based single lamp controller, applied to the NB-IoT network-based single lamp controller of any one of claims 1-4, comprising:
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.
6. The control method of the single lamp controller according to claim 5, 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.
7. The control method of the single lamp controller according to claim 5, wherein the single lamp controller further comprises: the system comprises a wireless module and a remote control platform, wherein the main control unit is in communication connection with the remote control platform through the wireless module, and the method further comprises the following steps:
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.
8. The method according to claim 5, wherein the main control unit parses the control command and executes an action corresponding to the control command, and the action comprises:
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 instruction, acquiring the electric quantity information of the lamp to be controlled according to the fault and electric quantity information acquisition instruction, 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.
CN202210061122.6A 2022-01-19 2022-01-19 Single lamp controller based on NB-IoT network and control method Pending CN114375078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210061122.6A CN114375078A (en) 2022-01-19 2022-01-19 Single lamp controller based on NB-IoT network and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210061122.6A CN114375078A (en) 2022-01-19 2022-01-19 Single lamp controller based on NB-IoT network and control method

Publications (1)

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

Family

ID=81145077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210061122.6A Pending CN114375078A (en) 2022-01-19 2022-01-19 Single lamp controller based on NB-IoT network and control method

Country Status (1)

Country Link
CN (1) CN114375078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116896417A (en) * 2023-09-11 2023-10-17 新华三技术有限公司 Power supply control method and network equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1216953A (en) * 1984-03-06 1987-01-20 Chris Karabatsos Remote fan out facility for data terminals
KR20190063554A (en) * 2017-11-30 2019-06-10 김상조 DIMMING CONTROL SYSTEM OF LED STREETLIGHT AND SECURITY LIGHT BASED ON IoT
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
CN112437528A (en) * 2020-12-03 2021-03-02 国网辽宁省电力有限公司检修分公司 Lighting control system based on NB-IOT narrowband thing allies oneself with technique

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1216953A (en) * 1984-03-06 1987-01-20 Chris Karabatsos Remote fan out facility for data terminals
KR20190063554A (en) * 2017-11-30 2019-06-10 김상조 DIMMING CONTROL SYSTEM OF LED STREETLIGHT AND SECURITY LIGHT BASED ON IoT
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
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
CN116896417A (en) * 2023-09-11 2023-10-17 新华三技术有限公司 Power supply control method and network equipment
CN116896417B (en) * 2023-09-11 2023-12-22 新华三技术有限公司 Power supply control method and network equipment

Similar Documents

Publication Publication Date Title
CN1939098B (en) Multiple-input electronic ballast with processor
CN108337779A (en) A kind of wireless single lamp control system based on LoRa technologies
CN105515197A (en) Power grid topological structure identification method and device
CN114375078A (en) Single lamp controller based on NB-IoT network and control method
EP2051567B1 (en) A lighting unit and a control method thereof
CN112638017A (en) Illumination monitoring method and device
CN104837290A (en) Numerical control dual-lamp driver
CN114375086A (en) Single-lamp wireless control system and control method based on NB-IoT network
CN102958226A (en) System, device and method for intelligent centralized illuminating lamp control
CN108617064A (en) Light-operated lamp control circuit and luminance threshold regulate and control method
CN106937466A (en) A kind of SCM Based street lamp fault detection, intelligent alarm control module
CN107087325A (en) Intelligent method for controlling street lamps
CN207926980U (en) A kind of wireless single lamp control system based on LoRa technologies
CN117241450A (en) Light carrier control system and method
CN204669690U (en) The two lamp driver of numerical control
CN104902624B (en) High-power dimming control system
CN207733029U (en) Based on the centrally connected power supply formula LED lighthouse of multiple-pulse Transformer Rectifier technology, lamp bridge
CN208063533U (en) Power carrier type load control circuit
CN103781246A (en) Bus-type intelligent illumination system and method
CN210725358U (en) NB-IoT gateway with intelligent street lamp control function
CN221306157U (en) Navigation light power supply system
CN106413177A (en) Automatic setting of dimming method
CN201904956U (en) Circuit monitor terminal
CN114554652B (en) Intelligent lamp control system applied to traffic way
CN110446295A (en) A kind of remote-controlled dimmer circuit

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