Control method of intelligent LED lighting system
Technical Field
The invention relates to the technical field of illumination control, in particular to a control method of an intelligent LED illumination system.
Background
Under the large background of global energy shortage, a Light Emitting Diode (LED) lamp is widely popularized as a novel green Light source product, wherein the intelligent LED lamp can be widely applied to greatly reduce the use cost of families and merchants due to the realization of intelligent control.
The invention patent with the domestic publication number of CN105704863B discloses an LED lamp, an LED lamp control system and a control method, and the invention specifically discloses that the LED lamp control system comprises the following components: the device comprises a wireless communication module, a learning module, an LED lamp control module and a timer; the wireless communication module is connected with the learning module, and the learning module is respectively connected with the timer and the LED lamp control module; the wireless communication module is used for receiving a control command sent by the terminal, and the control command is used for controlling the LED lamp; the learning module is used for recording a control command and the receiving time of the control command, and sending the control command to the LED lamp control module when the currently recorded receiving time of the control command and the control command meets a preset condition; the LED lamp control module is used for receiving the control command sent by the learning module and automatically executing the control operation of the control command in the process of controlling the LED lamp next time. According to the technical scheme, the intelligent control of the LED lamp is realized under the condition that the terminal is disconnected with the wireless communication module.
However, the above invention is not suitable for controlling LED lamps in abnormal office environments such as office buildings and enterprises, and is more suitable for home environments where users are more simplified. Under normal office environments such as office buildings or enterprises, general light control is normally on, but under abnormal office environments, due to the fact that a plurality of workers are arranged, some workers need to be on duty and some punctual work is carried out, when the working tracks of the workers in each area need to be considered, the situation becomes complicated, intelligent fine control needs to be achieved, and a control method suitable for LED lamps under the abnormal office environments such as the office buildings or the enterprises is needed.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a control method of an intelligent LED lighting system, which is suitable for abnormal office environments such as office buildings or enterprises and can be used for accurately regulating and controlling the LED lighting system of a subarea after deep study.
The invention is realized by the following technical scheme:
a control method of an intelligent LED lighting system comprises the following steps:
s1, receiving a manual control command sent by a corresponding user control terminal and a sensing regulation and control command acquired by a corresponding sensor in the independent illumination area, and recording all commands;
s2, counting all the manual control commands and the sensing regulation and control commands in a preset deep learning time period, and analyzing to obtain lighting use track data in the independent lighting area;
s3, generating a track regulation and control command according to the lighting use track data;
and S4, regulating and controlling the LED lamps in the independent lighting areas according to the track regulation and control command.
The technical scheme has the advantages that:
the multi-angle is respectively from acquiring the manual control command that the user actually sent from the user control terminal and the sensing regulation and control command record that the sensor that corresponds in the independent illumination zone gathered the controlled condition of LED lamp in the independent illumination zone, repeated deep learning is carried out in predetermineeing deep learning time quantum, and the orbit data is used in illumination of at last statistics analysis according to the learning result, and the production orbit regulation and control command is followed the LED lamp in the independent illumination zone carries out the accurate regulation and control.
Preferably, the whole lighting area is divided into a plurality of independent lighting areas, and the independent lighting areas can be controlled by at least one corresponding user control terminal.
Preferably, step S1 is preceded by:
s0, triggering and starting the step S1 after the preset abnormal office time point is reached.
Preferably, in step S1, the LED control center receives a first sensing regulation and control command and a second sensing regulation and control command acquired by a corresponding sensor, and records sensing regulation and control information data of the first sensing regulation and control command and the second sensing regulation and control command, where the sensing regulation and control information data includes a command generation time, a command content, and the independent lighting area corresponding to the command.
Preferably, the method for acquiring and producing the first sensing regulation command and the second sensing regulation command by the sensor comprises the following steps:
s1.1, judging whether the detection is the first detection in the same day, and if so, executing the step S1.2; if the judgment result is no, executing the step S1.3;
in the step S1.2, after a preset waiting detection time, the sensor detects a user condition in the corresponding independent illumination area, determines whether there is a user, and if the determination result is negative, sends the first sensing regulation and control command including a request for turning off the light to the LED control center and executes the step S1.3; if the judgment result is yes, the step is repeated after waiting for the preset waiting detection time;
in the step S1.3, after a preset waiting detection time, the sensor detects the user condition in the corresponding independent illumination area, determines whether there is a user, and if the determination result is no, saves the current situation and re-executes the step S1.3; and if so, sending the second sensing regulation and control command containing the request of turning on the light to the LED control center and re-executing the step S1.3.
Preferably, in step S1, the LED control center receives a first manual control command including a request to turn off a light and a second manual control command including a request to turn on a light, which are issued from the corresponding user control terminal, and records manual control information data of the first manual control command and the second manual control command, the manual control information data including a time when the command is generated, a command content, and the independent illumination area corresponding to the command.
Preferably, the S2 includes:
s2.1, extracting all manual control commands within a preset deep learning time period, counting the manual control information data, generating manual control command statistical data, and obtaining manual control track data through probability calculation;
s2.2, extracting all the sensing regulation and control commands in a preset deep learning time period, counting the sensing regulation and control information data, generating sensing regulation and control command statistical data, and obtaining sensing regulation and control track data after probability calculation;
and S2.3, analyzing and obtaining the lighting use track data by combining the manual control track data and the sensing regulation and control track data.
Preferably, in step S3, according to the lighting usage trajectory data, high frequency time information of using LED lamps in the independent lighting area during abnormal office hours of each day in a week is extracted, and a trajectory adjusting command is correspondingly generated according to the high frequency time information.
Preferably, the manual control command issued by the corresponding user control terminal temporarily received in step S4 can temporarily modify the working state of the independent lighting area in the existing regulation mode.
The invention has the following beneficial effects:
1. the LED control commands are obtained from the user control terminal and the sensors in a multi-angle mode, the LED control commands comprise manual control commands sent from the user control terminal and sensing regulation and control commands collected by the corresponding sensors in the independent lighting area, and the data effectiveness of later-stage learning analysis is improved by considering various control factors.
2. Deep learning is repeatedly carried out within a preset deep learning time period, the data accuracy and effectiveness of deep learning analysis are guaranteed, and the generated track regulation and control command is more in line with the use habits of users in the independent lighting area.
3. The LED lamps in the independent illumination area are regulated and controlled according to the generated track regulation and control command, the LED lamps in the independent illumination area are regulated and controlled automatically according to the use habits of users in the independent illumination area, and an intelligent illumination environment is created.
Drawings
FIG. 1 is a flow chart of a control method of an intelligent LED lighting system according to the present invention;
FIG. 2 is a diagram illustrating a process for determining a method for acquiring and generating the first sensing regulation command and the second sensing regulation command by the sensor according to the present invention;
fig. 3 is a flowchart of step S2 in fig. 1.
Detailed Description
The following are specific embodiments of the present invention and are further described with reference to the drawings, but the present invention is not limited to these embodiments.
Examples
Fig. 1 is a flowchart of a control method of an intelligent LED lighting system.
Dividing the whole lighting area into a plurality of independent lighting areas, wherein the independent lighting areas can be controlled by at least one corresponding user control terminal.
A control method of an intelligent LED lighting system comprises the following steps:
s0, triggering and starting the step S1 after the preset abnormal office time point is reached. Generally, in an enterprise or an office building, due to office requirements, the working state of the lighting system is usually controlled to be normally on during normal office hours so as to maintain a good lighting environment and ensure efficient work of staff, while in an abnormal working time, the working state of the lighting system is generally off in consideration of saving, and the working state is changed to be on when the staff, i.e. a user, needs to be on. Therefore, data acquisition and deep learning are not needed in the normal office time period, the running time of the system is reduced, and the energy consumption in the learning stage is reduced.
And S1, receiving a manual control command sent by a corresponding user control terminal and a sensing regulation and control command acquired by a corresponding sensor in the independent lighting area, and recording all commands.
In a receive sensor data acquisition mode:
in step S1, the LED control center receives a first sensing regulation and control command and a second sensing regulation and control command acquired by a corresponding sensor, and records sensing regulation and control information data of the first sensing regulation and control command and the second sensing regulation and control command, where the sensing regulation and control information data includes time of command generation, command content, and the independent lighting area corresponding to the command.
Further, as shown in fig. 2, the method for acquiring and generating the first sensing regulation command and the second sensing regulation command by the sensor includes:
s1.1, judging whether the detection is the first detection in the same day, and if so, executing the step S1.2; if the judgment result is no, step S1.3 is executed.
In the step S1.2, after a preset waiting detection time, the sensor detects a user condition in the corresponding independent illumination area, determines whether there is a user, and if the determination result is negative, sends the first sensing regulation and control command including a request for turning off the light to the LED control center and executes the step S1.3; if the judgment result is yes, the step is repeated after waiting for the preset waiting detection time.
In the step S1.3, after a preset waiting detection time, the sensor detects the user condition in the corresponding independent illumination area, determines whether there is a user, and if the determination result is no, saves the current situation and re-executes the step S1.3; and if so, sending the second sensing regulation and control command containing the request of turning on the light to the LED control center and re-executing the step S1.3.
In a mode of receiving a manual control command sent by a user control terminal:
in step S1, the LED control center receives a first manual control command including a request to turn off a light and a second manual control command including a request to turn on a light, which are sent by a corresponding user control terminal, and records manual control information data of the first manual control command and the second manual control command, where the manual control information data includes a time when the command is generated, a command content, and the independent lighting area corresponding to the command.
Furthermore, if the later stage is under the regulation and control of the track regulation and control command in the earlier stage, the first manual control command and the second manual control command sent from the user control terminal can be approved and executed by the LED control center, the user control terminal has the highest authority, simultaneously records the manual control command outside the track regulation and control command, and optimizes the deep learning result according to the content and the statistical data of the manual control command outside the track regulation and control command to form a new track regulation and control command. If the working track of the staff (i.e. the user) in the area is continuously overtime after work, the staff goes out to eat after seven and a half hours in night after overtime, and the staff goes back to continuously overtime and leaves ten hours in night when eating, the generated track regulation and control commands are 'six hours at night to turn off the lamp', 'seven hours at night to turn on the lamp', and 'ten hours at night to turn off the lamp'. If the worker does not eat dinner in the future monday and changes the night dinner into a takeout unit, the lamp is turned on again after the lamp is turned off through intelligent automatic regulation and control, then recording is carried out, when the number of times of turning on the lamp again reaches the preset number of times of modifying learning, the data is brought into deep learning, and a new track regulation and control command is generated after the light is re-learned, namely the lamp is turned off at ten night.
And S2, counting all the manual control commands and the sensing regulation and control commands in a preset deep learning time period, and analyzing to obtain lighting use track data in the independent lighting area.
As shown in fig. 3, the S2 includes:
s2.1, extracting all the manual control commands within a preset deep learning time period, counting the manual control information data, generating manual control command statistical data, and obtaining manual control track data through probability calculation.
S2.2, extracting all the sensing regulation and control commands in a preset deep learning time period, counting the sensing regulation and control information data, generating sensing regulation and control command statistical data, and obtaining sensing regulation and control track data after probability calculation.
And S2.3, analyzing and obtaining the lighting use track data by combining the manual control track data and the sensing regulation and control track data.
And S3, generating a track regulation and control command according to the lighting use track data.
Further, in step S3, according to the lighting usage trajectory data, high frequency time information of using LED lamps in the independent lighting area during an abnormal office time period every day in a week is extracted, and a trajectory regulation command is correspondingly generated according to the high frequency time information.
And S4, regulating and controlling the LED lamps in the independent lighting areas according to the track regulation and control command.
Further, the manual control command sent by the corresponding user control terminal temporarily received in step S4 can temporarily change the working state of the independent lighting area in the existing regulation mode.
According to the technical scheme, manual control commands which are actually sent by a user from a user control terminal and sensing regulation and control command records which are acquired by corresponding sensors in an independent illumination area are acquired from multiple angles, control conditions of LED lamps in the independent illumination area are recorded, deep learning is repeatedly performed within a preset deep learning time period, accurate illumination use track data are obtained through statistical analysis according to learning results, and accurate regulation and control are performed on the LED lamps in the independent illumination area after track regulation and control commands are generated.
It will be appreciated by persons skilled in the art that the embodiments of the invention described above and shown in the drawings are given by way of example only and are not limiting of the invention. The objects of the present invention have been fully and effectively accomplished. The functional and structural principles of the present invention have been shown and described in the examples, and any variations or modifications of the embodiments of the present invention may be made without departing from the principles.