Intelligent plant lighting control method and system

Through multi-period brightness collection and Bayesian model prediction, the factory lighting is dynamically adjusted, which solves the problems of poor flexibility and slow response of existing intelligent lighting control methods, and achieves fast response and efficient control.

CN118574286AActive Publication Date: 2024-08-30ZHEJIANG DEFENG ENERGY SAVING & ENVIRONMENTAL PROTECTION TECHNOLOGY CO LTD

Patent Information

Application Number
CN202410821387.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-08-30
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

Existing intelligent lighting control methods have poor flexibility and cannot quickly respond to changes in personnel behavior. The brightness adjustment response of the light sensor is slow and fault detection is difficult, resulting in low lighting control efficiency.

Method used

Multi-period lighting brightness collection and image preprocessing are used to build a Bayesian probability classification model, and time-series correction modeling is used to predict the flow of people and natural light changes, and dynamically adjust the light brightness to form an intelligent factory lighting control system.

Benefits of technology

It achieves rapid response to the flow of people and changes in natural light, improves the flexibility and accuracy of lighting control, ensures that the brightness can be adjusted in time even when the sensor responds slowly or fails, and simplifies the operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574286A
    Figure CN118574286A
Patent Text Reader

Abstract

The invention relates to the technical field of illumination control, in particular to an intelligent plant illumination control method and system. The method comprises the following steps: carrying out multi-period illumination brightness acquisition on a light source irradiation area to obtain illumination brightness data; performing multi-period image shooting and preprocessing to obtain image preprocessing data; generating an attenuation map of the brightness in the region to obtain brightness attenuation map data; performing personnel movement feature matching of adjacent illumination areas on the illumination area distribution data to obtain a movement detail matching data set; constructing a Bayesian probability classification model to obtain an illumination probability classification model; performing illumination brightness dynamic analysis to obtain brightness multi-dimensional change data; performing time sequence correction modeling to obtain a time sequence brightness correction model; and performing personnel flow brightness prediction based on the illumination probability classification model, and performing natural light brightness correction based on the time sequence brightness correction model. According to the invention, intelligent lighting control of the intelligent plant can be efficiently executed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lighting control, and in particular to an intelligent factory building lighting control method and system. Background Art

[0002] Lighting control of smart factories is one of the important technologies in the field of building intelligence. It is widely used in industrial factories, office buildings, shopping malls, hotels and other places. According to factors such as ambient light, personnel activities, time plans, etc., it automatically or remotely adjusts the switch, brightness, color temperature and other parameters of lamps to achieve energy saving, comfort, safety and beauty of lighting. However, the existing intelligent lighting control methods have problems such as poor flexibility and inability to respond to changes in personnel behavior. The slow response of brightness adjustment or sensor failure caused by the long-term use of light sensors is difficult to detect and solve in time. Summary of the invention

[0003] Based on this, it is necessary for the present invention to provide an intelligent factory lighting control method and system to solve at least one of the above technical problems.

[0004] To achieve the above object, an intelligent factory lighting control method comprises the following steps:

[0005] Step S1: collecting illumination brightness of the lighting source illumination area in the intelligent factory building in multiple time periods, thereby obtaining illumination brightness data; performing illumination area distribution analysis on the illumination brightness data, thereby obtaining illumination area distribution data; performing image capture and preprocessing on the illumination area distribution data in multiple time periods, thereby obtaining image preprocessing data; generating an attenuation map of the brightness in the area for the illumination area distribution data according to the image preprocessing data, thereby obtaining brightness attenuation map data;

[0006] Step S2: matching the personnel movement features of adjacent lighting areas with the lighting area distribution data, thereby obtaining a movement detail matching data set; constructing a Bayesian probability classification model for the movement detail matching data set, thereby obtaining a lighting probability classification model;

[0007] Step S3: Performing dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation spectrum data, thereby obtaining brightness multi-dimensional change data; performing time series correction modeling on the brightness multi-dimensional change data, thereby obtaining a time series brightness correction model;

[0008] Step S4: Based on the lighting probability classification model, the regional brightness change prediction when people flow is performed, so as to obtain the flow brightness prediction data; based on the time series brightness correction model, the regional brightness correction prediction when natural light changes is performed, so as to obtain the natural light correction time series data.

[0009] The present invention firstly acquires the illumination brightness data of the illumination area of ​​the light source in the intelligent factory building in multiple time periods, thereby understanding the illumination conditions in different time periods and providing a basis for subsequent illumination control. By analyzing the illumination area distribution of the illumination brightness data, the illumination area distribution data can be acquired, thereby dividing different illumination areas and providing a reference for subsequent illumination optimization. By capturing and preprocessing the images of the illumination area distribution data in multiple time periods, the image preprocessing data can be acquired, thereby eliminating the noise and interference in the image and providing clear image data for subsequent image analysis. By generating the attenuation spectrum of the brightness in the area for the illumination area distribution data according to the image preprocessing data, the brightness attenuation spectrum data can be acquired, thereby reflecting the brightness distribution and attenuation conditions in different areas. By matching the personnel movement characteristics of adjacent illumination areas for the illumination area distribution data, the movement detail matching data set can be acquired, thereby capturing the movement rules and characteristics of personnel between different illumination areas and providing data support for subsequent personnel flow prediction. By constructing the Bayesian probability classification model for the movement detail matching data set, the illumination probability classification model can be acquired, thereby classifying and predicting the movement probability of personnel between different illumination areas using the Bayesian theory. By dynamically analyzing the lighting brightness of the image preprocessing data according to the brightness attenuation spectrum data, the multi-dimensional brightness change data can be obtained, so as to analyze the dynamic changes of the brightness of different lighting areas over time, and provide dynamic data support for subsequent brightness adjustment. By performing time series correction modeling on the multi-dimensional brightness change data, a time series brightness correction model can be obtained, so as to use the time series analysis method to correct and optimize the multi-dimensional brightness change data. By predicting the regional brightness changes when people flow based on the lighting probability classification model, the flow brightness prediction data can be obtained, so as to predict the brightness change requirements of different areas according to the probability of people flow, and provide predictive data support for subsequent brightness control. By predicting the regional brightness correction when natural light changes based on the time series brightness correction model, the natural light correction time series data can be obtained, so as to predict the brightness correction requirements of different areas according to the changes in natural light.

[0010] Preferably, the present invention further provides an intelligent plant lighting control system for executing the intelligent plant lighting control method as described above, the intelligent plant lighting control system comprising:

[0011] The attenuation spectrum generation module is used to collect the illumination brightness of the light source illumination area in the intelligent factory in multiple time periods, so as to obtain illumination brightness data; perform illumination area distribution analysis on the illumination brightness data, so as to obtain illumination area distribution data; perform image capture and preprocessing on the illumination area distribution data in multiple time periods, so as to obtain image preprocessing data; generate an attenuation spectrum of the brightness in the illumination area distribution data according to the image preprocessing data, so as to obtain brightness attenuation spectrum data;

[0012] The lighting probability classification module is used to match the personnel movement characteristics of adjacent lighting areas with the lighting area distribution data, thereby obtaining a movement detail matching data set; and to construct a Bayesian probability classification model for the movement detail matching data set, thereby obtaining a lighting probability classification model;

[0013] The time series correction modeling module is used to perform dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation spectrum data, so as to obtain multi-dimensional brightness change data; perform time series correction modeling on the multi-dimensional brightness change data, so as to obtain a time series brightness correction model;

[0014] The regional brightness prediction module is used to predict the regional brightness changes when people flow based on the lighting probability classification model, so as to obtain the flow brightness prediction data; and to predict the regional brightness correction when natural light changes based on the time series brightness correction model, so as to obtain the natural light correction time series data.

[0015] In summary, the present invention provides an intelligent factory lighting control system, which consists of an attenuation spectrum generation module, a lighting probability classification module, a timing correction modeling module and a regional brightness prediction module, and can implement any one of the intelligent factory lighting control methods described in the present invention. By considering the difference in the distribution of human flow, the light sources including artificial lights and other natural lights in the lighting source illumination area are targeted for image analysis in the time and distance dimensions, and the movement pattern of personnel in the edge of the effective lighting area is found, so as to quickly judge the lighting demands of personnel moving to the next lighting area in a busy intelligent factory, and make corresponding adjustments, and establish a timing model according to the brightness change rules and brightness requirements in different areas at different times, so as to ensure that the brightness of the area can be adjusted in time when the light sensor responds slowly or fails, and the data can be summarized to solve possible fault problems in time. The internal structures of the system cooperate with each other, thereby simplifying the operation process of the intelligent factory lighting control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments thereof made with reference to the following drawings:

[0017] Figure 1It is a schematic diagram of the steps of the intelligent factory lighting control method of the present invention;

[0018] Figure 2 for Figure 1 Detailed step flow diagram of step S1;

[0019] Figure 3 for Figure 2 Detailed step flow chart of step S2 in FIG. DETAILED DESCRIPTION

[0020] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.

[0021] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.

[0022] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.

[0023] To achieve this, please refer to Figures 1 to 3 The present invention provides an intelligent factory lighting control method, comprising the following steps:

[0024] Step S1: collecting illumination brightness of the lighting source illumination area in the intelligent factory building in multiple time periods, thereby obtaining illumination brightness data; performing illumination area distribution analysis on the illumination brightness data, thereby obtaining illumination area distribution data; performing image capture and preprocessing on the illumination area distribution data in multiple time periods, thereby obtaining image preprocessing data; generating an attenuation map of the brightness in the area for the illumination area distribution data according to the image preprocessing data, thereby obtaining brightness attenuation map data;

[0025] Step S2: matching the personnel movement features of adjacent lighting areas with the lighting area distribution data, thereby obtaining a movement detail matching data set; constructing a Bayesian probability classification model for the movement detail matching data set, thereby obtaining a lighting probability classification model;

[0026] Step S3: Performing dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation spectrum data, thereby obtaining brightness multi-dimensional change data; performing time series correction modeling on the brightness multi-dimensional change data, thereby obtaining a time series brightness correction model;

[0027] Step S4: Based on the lighting probability classification model, the regional brightness change prediction when people flow is performed, so as to obtain the flow brightness prediction data; based on the time series brightness correction model, the regional brightness correction prediction when natural light changes is performed, so as to obtain the natural light correction time series data.

[0028] In the embodiment of the present invention, please refer to Figure 1 FIG. 1 is a schematic diagram of the steps of the intelligent factory lighting control method of the present invention. In this example, the steps of the intelligent factory lighting control method include:

[0029] Step S1: collecting illumination brightness of the lighting source illumination area in the intelligent factory building in multiple time periods, thereby obtaining illumination brightness data; performing illumination area distribution analysis on the illumination brightness data, thereby obtaining illumination area distribution data; performing image capture and preprocessing on the illumination area distribution data in multiple time periods, thereby obtaining image preprocessing data; generating an attenuation map of the brightness in the area for the illumination area distribution data according to the image preprocessing data, thereby obtaining brightness attenuation map data;

[0030] The embodiment of the present invention installs light sensors in various lighting areas of a factory building, and sends the collected lighting brightness data to an intelligent gateway through a wireless communication module; the intelligent gateway aggregates the lighting brightness data and transmits it to a centralized controller, which analyzes the data, divides the factory building into a number of lighting areas according to different lighting requirements and standards, and generates lighting area distribution data; cameras are installed in various lighting areas of the factory building, and the captured image data is sent to the intelligent gateway through a wireless communication module; the intelligent gateway aggregates the image data and transmits it to the centralized controller, which pre-processes the data, including denoising, enhancement, segmentation and other operations to improve the quality and availability of the image, and generates image pre-processing data; the centralized controller performs brightness attenuation analysis on the lamps in each lighting area based on the image pre-processing data and the lighting area distribution data, calculates the variation pattern of the brightness of the lamps with distance, and generates brightness attenuation spectrum data.

[0031] Step S2: matching the personnel movement features of adjacent lighting areas with the lighting area distribution data, thereby obtaining a movement detail matching data set; constructing a Bayesian probability classification model for the movement detail matching data set, thereby obtaining a lighting probability classification model;

[0032] The embodiment of the present invention installs human body sensing sensors in each lighting area of ​​the factory building, and sends the detected personnel movement data to the intelligent gateway through the wireless communication module; the intelligent gateway summarizes the personnel movement data and transmits it to the centralized controller, which analyzes the data and generates a movement detail matching data set to determine the possibility of personnel moving from one lighting area to another lighting area based on the lighting area distribution data; the centralized controller uses the Bayesian probability classification model to predict the lighting demand of each lighting area (that is, the probability of personnel moving from one lighting area to another lighting area corresponds to the lighting demand of the area) based on the movement detail matching data set, and generates a lighting probability classification model. The model can calculate the lighting probability of a person entering an adjacent lighting area from one area based on the historical characteristic data and current data of personnel movement.

[0033] Step S3: Performing dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation spectrum data, thereby obtaining brightness multi-dimensional change data; performing time series correction modeling on the brightness multi-dimensional change data, thereby obtaining a time series brightness correction model;

[0034] The embodiment of the present invention uses a centralized controller to dynamically analyze the lighting brightness of the lamps and natural light or other reflected light sources in each lighting area according to the brightness attenuation spectrum data and image preprocessing data, calculates the variation law of its brightness over time, space, angle and other factors, and generates brightness multi-dimensional variation data; according to the brightness multi-dimensional variation data, the attenuation law of brightness in multiple dimensions over time and distance is calculated, and the time period in which the brightness needs to be corrected is found according to the actual brightness adaptation in the lighting area, and a time series brightness correction model is generated accordingly. The model can calculate the brightness correction value of the lamp based on the historical data and current data of the brightness change of the lamp, thereby realizing adaptive dimming of the lamp.

[0035] Step S4: Based on the lighting probability classification model, the regional brightness change prediction when people flow is performed, so as to obtain the flow brightness prediction data; based on the time series brightness correction model, the regional brightness correction prediction when natural light changes is performed, so as to obtain the natural light correction time series data.

[0036] In the embodiment of the present invention, the centralized controller predicts the regional brightness change of the lamps in each lighting area when people flow according to the lighting probability classification model, and generates flow brightness prediction data. This data can predict the switch or brightness state of the lamps in the next area according to the probability of people moving to another lighting area, thereby realizing intelligent control of the lamps; the centralized controller predicts the regional brightness correction of the lamps in each lighting area when natural light changes according to the time series brightness correction model, and generates natural light correction time series data. This data can predict the brightness correction value of the lamps according to the changes in the brightness of natural light or other reflective light sources, thereby realizing adaptive dimming of the lamps.

[0037] The present invention firstly acquires the illumination brightness data of the illumination area of ​​the light source in the intelligent factory building in multiple time periods, thereby understanding the illumination conditions in different time periods and providing a basis for subsequent illumination control. By analyzing the illumination area distribution of the illumination brightness data, the illumination area distribution data can be acquired, thereby dividing different illumination areas and providing a reference for subsequent illumination optimization. By capturing and preprocessing the images of the illumination area distribution data in multiple time periods, the image preprocessing data can be acquired, thereby eliminating the noise and interference in the image and providing clear image data for subsequent image analysis. By generating the attenuation spectrum of the brightness in the area for the illumination area distribution data according to the image preprocessing data, the brightness attenuation spectrum data can be acquired, thereby reflecting the brightness distribution and attenuation conditions in different areas. By matching the personnel movement characteristics of adjacent illumination areas for the illumination area distribution data, the movement detail matching data set can be acquired, thereby capturing the movement rules and characteristics of personnel between different illumination areas and providing data support for subsequent personnel flow prediction. By constructing the Bayesian probability classification model for the movement detail matching data set, the illumination probability classification model can be acquired, thereby classifying and predicting the movement probability of personnel between different illumination areas using the Bayesian theory. By dynamically analyzing the lighting brightness of the image preprocessing data according to the brightness attenuation spectrum data, the multi-dimensional brightness change data can be obtained, so as to analyze the dynamic changes of the brightness of different lighting areas over time, and provide dynamic data support for subsequent brightness adjustment. By performing time series correction modeling on the multi-dimensional brightness change data, a time series brightness correction model can be obtained, so as to use the time series analysis method to correct and optimize the multi-dimensional brightness change data. By predicting the regional brightness changes when people flow based on the lighting probability classification model, the flow brightness prediction data can be obtained, so as to predict the brightness change requirements of different areas according to the probability of people flow, and provide predictive data support for subsequent brightness control. By predicting the regional brightness correction when natural light changes based on the time series brightness correction model, the natural light correction time series data can be obtained, so as to predict the brightness correction requirements of different areas according to the changes in natural light.

[0038] Preferably, step S1 comprises the following steps:

[0039] Step S11: collecting the illumination brightness of the light source illumination area in the intelligent factory in multiple time periods, thereby obtaining illumination brightness data;

[0040] Step S12: performing lighting area distribution analysis on the lighting brightness data, thereby obtaining lighting area distribution data;

[0041] Step S13: photographing the illumination area distribution data in multiple time periods to obtain illumination image data; performing image preprocessing on the illumination image data to obtain image preprocessing data;

[0042] Step S14: performing illumination edge detection on the image preprocessing data to obtain illumination edge data;

[0043] Step S15: performing brightness measurement on the image preprocessing data according to the illumination edge data, thereby obtaining brightness measurement data;

[0044] Step S16: performing local brightness attenuation analysis on the brightness measurement data to obtain a local brightness attenuation coefficient;

[0045] Step S17: Generate an attenuation spectrum of the brightness in the area based on the illumination area distribution data according to the local brightness attenuation coefficient, so as to obtain brightness attenuation spectrum data.

[0046] As an embodiment of the present invention, refer to Figure 2 As shown, Figure 1 Detailed step flow diagram of step S1 in FIG. 1 , in this embodiment, step S1 includes the following steps:

[0047] Step S11: collecting the illumination brightness of the light source illumination area in the intelligent factory in multiple time periods, thereby obtaining illumination brightness data;

[0048] The embodiment of the present invention collects and transmits lighting brightness data by using a light sensor, a wireless communication module and an intelligent gateway;

[0049] Step S12: performing lighting area distribution analysis on the lighting brightness data, thereby obtaining lighting area distribution data;

[0050] The embodiment of the present invention generates lighting area distribution data by analyzing and dividing lighting brightness data using a centralized controller;

[0051] Step S13: photographing the illumination area distribution data in multiple time periods to obtain illumination image data; performing image preprocessing on the illumination image data to obtain image preprocessing data;

[0052] The embodiment of the present invention collects and transmits image data by using a camera, a wireless communication module and an intelligent gateway; pre-processes the image data using a centralized controller to generate image pre-processing data;

[0053] Step S14: performing illumination edge detection on the image preprocessing data to obtain illumination edge data;

[0054] The embodiment of the present invention uses a centralized controller to perform edge detection on the image preprocessing data, starting from the edge corner of the image, and calculating the degree of change of the image brightness gradient toward the center of the image. When the gradient of the illumination brightness begins to increase significantly, the pixel point is recorded, thereby finding the boundary of the illumination area and generating illumination edge data.

[0055] Step S15: performing brightness measurement on the image preprocessing data according to the illumination edge data, thereby obtaining brightness measurement data;

[0056] The embodiment of the present invention uses a centralized controller to measure the brightness of image preprocessing data, uses the gray value of the image, calculates the brightness of each pixel within the edge range of the image, and generates brightness measurement data;

[0057] Step S16: performing local brightness attenuation analysis on the brightness measurement data to obtain a local brightness attenuation coefficient;

[0058] The embodiment of the present invention performs local brightness attenuation analysis on brightness measurement data, uses the brightness measurement data to divide each lighting area into local areas according to the approximate brightness gradient area, calculates the brightness attenuation coefficient of the local area in each lighting area with distance, and generates a local brightness attenuation coefficient;

[0059] Step S17: Generate an attenuation spectrum of the brightness in the area based on the illumination area distribution data according to the local brightness attenuation coefficient, so as to obtain brightness attenuation spectrum data.

[0060] The embodiment of the present invention generates a brightness attenuation map for the lamps in each lighting area according to the local brightness attenuation coefficient and the lighting area distribution data, that is, a curve of regional brightness change with distance is drawn according to the local brightness attenuation coefficient, and brightness attenuation map data is generated.

[0061] The present invention firstly collects and transmits lighting brightness data by using a light sensor, a wireless communication module and an intelligent gateway, thereby improving the accuracy of collecting lighting brightness data and the reliability of transmission. By using a centralized controller to analyze and divide lighting brightness data and generate lighting area distribution data, the lighting brightness data can be quickly and effectively analyzed and divided to generate lighting area distribution data, thereby improving the generation efficiency and quality of lighting area distribution data. The image data is preprocessed to generate image preprocessing data, thereby improving the generation efficiency and quality of image preprocessing data. The image preprocessing data is subjected to brightness measurement, and by performing local brightness attenuation analysis on the brightness measurement data, a brightness attenuation analysis can be performed on a portion of the local area with a strong correlation with gradient features, thereby improving the overall computing efficiency for the subsequent brightness attenuation analysis of the entire area.

[0062] Preferably, step S2 comprises the following steps:

[0063] Step S21: capturing infrared portraits of different areas of the intelligent factory building using infrared sensors according to the lighting area distribution data, thereby obtaining infrared portrait movement data;

[0064] Step S22: performing time series fluctuation analysis on the infrared portrait movement data to obtain human flow fluctuation data;

[0065] Step S23: performing a crowd flow distribution analysis on the lighting area distribution data according to the crowd flow fluctuation data, thereby obtaining crowd flow distribution data;

[0066] Step S24: labeling the crowd flow distribution data according to a preset crowd flow sensitivity threshold, thereby obtaining crowd flow distribution label data;

[0067] Step S25: capturing the movement details of personnel in different areas of the smart factory building according to the human flow distribution label data and using the millimeter wave sensor to obtain a movement detail data set;

[0068] Step S26: performing personnel movement feature matching of adjacent lighting areas on the movement detail data set and the infrared portrait movement data, thereby obtaining a movement detail matching data set;

[0069] Step S27: performing lighting association marking on the lighting area distribution data according to the moving detail matching data set, thereby obtaining lighting association marking data;

[0070] Step S28: constructing a Bayesian probability classification model for the lighting-related tag data, thereby obtaining a lighting probability classification model.

[0071] As an embodiment of the present invention, refer to Figure 3FIG. 2 is a schematic diagram of a detailed flow chart of step S2. In this embodiment, step S2 includes the following steps:

[0072] Step S21: capturing infrared portraits of different areas of the intelligent factory building using infrared sensors according to the lighting area distribution data, thereby obtaining infrared portrait movement data;

[0073] The embodiment of the present invention installs infrared sensors in various lighting areas of a factory building and sends the collected infrared image data to an intelligent gateway through a wireless communication module; the intelligent gateway aggregates the infrared image data and transmits it to a centralized controller, which performs portrait detection and tracking on the data, determines the area where each portrait is located based on the lighting area distribution data, and calculates its moving distance and direction, thereby obtaining infrared portrait movement data.

[0074] Step S22: performing time series fluctuation analysis on the infrared portrait movement data to obtain human flow fluctuation data;

[0075] The embodiment of the present invention performs time series fluctuation analysis on infrared portrait movement data, uses statistical methods and performs Fourier transform analysis on the change data, calculates the change trend and fluctuation range of the flow of people in each lighting area over time, and thus obtains the fluctuation data of the flow of people;

[0076] Step S23: performing a crowd flow distribution analysis on the lighting area distribution data according to the crowd flow fluctuation data, thereby obtaining crowd flow distribution data;

[0077] The embodiment of the present invention performs distribution analysis on the flow of people in each lighting area according to the flow of people fluctuation data and the lighting area distribution data, divides areas with similar flow of people into one category using a clustering method, and generates flow of people distribution data.

[0078] Step S24: labeling the crowd flow distribution data according to a preset crowd flow sensitivity threshold, thereby obtaining crowd flow distribution label data;

[0079] The embodiment of the present invention labels the flow of people in each lighting area according to a preset flow sensitivity threshold and flow distribution data, and uses a classification method to mark areas with flow rates higher than the threshold as high-sensitivity areas, and areas with flow rates lower than the threshold as low-sensitivity areas, and generates flow distribution label data. The data is used in step S25, and can also be used for subsequent lighting brightness collection and image capture for multiple time periods, to specifically collect and capture lighting brightness in lighting areas with more traffic, because the lighting experience in these time periods is generally more sensitive, and the flow sensitivity threshold also needs to be counted and modified based on continuous experience and personnel feedback.

[0080] Step S25: capturing the movement details of personnel in different areas of the smart factory building according to the human flow distribution label data and using the millimeter wave sensor to obtain a movement detail data set;

[0081] The embodiment of the present invention installs millimeter wave sensors in various lighting areas of the factory building, and sends the collected millimeter wave image data to the intelligent gateway through the wireless communication module; the intelligent gateway summarizes the millimeter wave image data and transmits it to the centralized controller, which captures the details of personnel movement in the data, and captures the details of personnel movement in highly sensitive areas with higher accuracy based on the label data of human flow distribution, thereby obtaining a movement detail data set.

[0082] Step S26: performing personnel movement feature matching of adjacent lighting areas on the movement detail data set and the infrared portrait movement data, thereby obtaining a movement detail matching data set;

[0083] The embodiment of the present invention performs personnel movement feature matching of adjacent lighting areas on a mobile detail data set and infrared portrait mobile data, and uses an image processing method to align and fuse the millimeter wave image and the infrared image, thereby obtaining a mobile detail matching data set.

[0084] Step S27: performing lighting association marking on the lighting area distribution data according to the moving detail matching data set, thereby obtaining lighting association marking data;

[0085] The embodiment of the present invention performs lighting association marking on each lighting area according to the movement detail matching data set and the lighting area distribution data, and uses the association rule method to find out the relevant areas that affect the lighting needs when people move, and generates lighting association marking data, that is, the degree of correlation between the personnel movement characteristics of each lighting area and the lighting status of the area during the period.

[0086] Step S28: constructing a Bayesian probability classification model for the lighting-related tag data, thereby obtaining a lighting probability classification model.

[0087] The embodiment of the present invention performs probability classification of the trend of entering adjacent areas for important personnel movement features according to lighting-related tag data. For example, based on the movement direction, speed and behavioral action characteristics of the personnel, a Bayesian probability model is used to train the features of the probability classification of personnel entering adjacent lighting areas in each lighting area, thereby generating a lighting probability classification model.

[0088] The present invention firstly analyzes and optimizes the lighting needs of each lighting area more accurately by using the crowd flow distribution data and lighting-related tag data based on the lighting area. By understanding the movement trends and behavior patterns of people in different areas, the lighting settings can be adjusted according to real-time needs, providing appropriate lighting brightness and coverage, and improving lighting effects and comfort. By fusion of infrared image data and millimeter wave image data, the movement details and location information of people can be captured more accurately. By continuously collecting and analyzing crowd flow data, movement detail data and lighting demand data, historical data and statistical models can be established to more accurately predict future crowd flow trends and lighting needs. This helps to make long-term energy planning and management decisions, and optimize the energy efficiency and sustainability of the lighting system. By continuously updating the crowd flow sensitive threshold and lighting-related tag data, and combining personnel feedback and experience, the performance and accuracy of the lighting system can be continuously improved and optimized. This enables the system to adapt to changes in different environments and needs, and provide a more intelligent and personalized lighting experience.

[0089] Preferably, in step S28, the Bayesian probability classification model for the lighting-related tag data is constructed using the following formula:

[0090]

[0091] Where P is the probability of regional lighting adjustment, A is the number of associated marked personnel movement features, B is the number of associated marked personnel movement features in adjacent lighting areas, and f a,b is the similarity between the personnel movement feature value of the a-th associated mark and the personnel movement feature value of the associated mark of the b-th adjacent lighting area, μ b is the mean of the associated marked personnel movement features of adjacent lighting areas, β b is the importance weight value of the personnel movement feature of the bth associated tag.

[0092] The present invention constructs a regional lighting adjustment probability formula, which can flexibly adapt to different scenarios and needs by setting different human flow sensitivity thresholds and importance weight values ​​of personnel movement characteristics, thereby improving the flexibility and adaptability of lighting control. The formula consists of two parts added together. The first part is the variance of personnel movement characteristics, and the second part is the ratio of the similarity of personnel movement characteristics. These two parts respectively reflect the degree of change and consistency of personnel movement characteristics, and have different effects on the probability of lighting adjustment. In the first part, the larger the variance, the more unstable the personnel movement characteristics are, and the more lighting needs to be adjusted. Therefore, the coefficient of the variance β b is positive. b It also indicates the importance of the personnel movement feature of the bth associated tag, β bThe larger the value, the greater the influence of the feature on the lighting adjustment, and vice versa. In the second part, the larger the similarity, the more consistent the personnel movement features are, and the less the need to adjust the lighting is, so the similarity coefficient is negative. The similarity is calculated in the form of geometric mean, which can effectively avoid distortion caused by some feature values ​​being too large or too small. Specifically, P is a number between 0 and 1, indicating the possibility of whether the lighting needs to be adjusted given the personnel movement features and lighting area distribution data. The closer P is to 1, the more necessary it is to adjust the lighting, and vice versa. A is a positive integer, indicating how many different personnel movement features are associated and marked in a lighting area. The larger A is, the more complex the personnel movement features are, and the more comprehensive consideration is needed, and vice versa. B is also a positive integer, indicating how many different personnel movement features are associated and marked in adjacent areas of a lighting area. The larger B is, the greater the influence of adjacent lighting areas, and the more coordinated adjustment is needed, and vice versa. f a,b is a number between 0 and 1, indicating the degree of similarity between two eigenvalues. a,b The closer it is to 1, the more similar the two eigenvalues ​​are, and the less lighting adjustment is needed, and vice versa. b Is a non-negative number, representing the average level of the moving characteristic values ​​of all associated markers in an adjacent lighting area. b The larger the β is, the higher the movement characteristics of people in the adjacent lighting area are, and the more lighting needs to be adjusted. b Is a positive number, indicating the importance of the b-th associated marker's human movement feature in the probability calculation of lighting adjustment. bThe larger the value, the greater the impact of the feature on lighting adjustment, and vice versa. This formula can comprehensively consider multiple factors, such as the number, change, consistency, importance of personnel movement features, and lighting area distribution data, to derive a reasonable probability value for lighting adjustment and guide the lighting control system of intelligent factories to make dynamic adjustments. This formula can be combined with the Bayesian probability classification model as the input of the model, and based on historical data and current data, it can predict future lighting needs, improve the intelligence level of lighting control, and achieve energy-saving and comfortable lighting effects. It should be noted that the present invention may not use this formula in step S28 to construct the Bayesian probability classification model for the lighting-related tag data. It may also directly vector quantize the characteristics of the movement direction of the personnel, and then construct the model according to the Bayesian probability classification principle. The advantages of this are higher efficiency and lower model training cost. It directly predicts by considering only the movement direction of personnel in the lighting edge area. However, in a complex environment, too few features are considered, and the obtained prediction model is difficult to accurately predict the complex actual situation. The above formula can consider more personnel movement characteristics exposed in actual complex situations and their associated data of entering another lighting area, so as to better cope with some complex scenes. However, some areas may also consider using a dual-model method for adaptive prediction.

[0093] Preferably, step S26 comprises the following steps:

[0094] Step S261: performing important feature selection on the motion detail data set and the infrared portrait motion data, thereby obtaining motion angle feature data, motion speed feature data, and motion motion feature data;

[0095] Step S262: using the FLANN algorithm to filter the moving angle feature data, the moving speed feature data, and the moving motion feature data by the feature ratio of adjacent lighting areas, thereby obtaining moving feature ratio data;

[0096] Step S263: constructing a convolution model for the moving feature ratio data, thereby obtaining a convolution model; iteratively optimizing the convolution model using a RANSAC algorithm, thereby obtaining an optimized convolution model;

[0097] Step S264: matching the movement features of people in adjacent lighting areas on the movement detail data set based on the optimized convolution model, thereby obtaining movement detail matching data.

[0098] The embodiment of the present invention selects important features of the motion detail data set and the infrared portrait motion data, and uses feature extraction methods such as SIFT1, HOG2, HAAR3, etc. to extract features such as motion angle, motion speed and motion action from each data point, and generates motion angle feature data, motion speed feature data and motion action feature data; uses the FLANN algorithm to filter the feature ratios of adjacent lighting areas for the motion angle feature data, the motion speed feature data and the motion action feature data, and uses the nearest neighbor search method to find the feature points in each lighting area that are most similar to other areas, and calculates their feature ratios, thereby obtaining motion feature ratio data; constructs a convolution model for the motion feature ratio data, and uses a convolutional neural network method to use the motion feature ratio data as Input, through multi-layer convolution, pooling, activation and full connection operations, a convolution model that can represent the relationship between lighting areas is obtained; the convolution model is iteratively optimized using the RANSAC algorithm, and a part of the data is randomly selected from the mobile feature ratio data as the internal points using the random sampling consensus method, and they are used to fit the parameters of the convolution model, and the error of the model is calculated. Repeat this process many times and select the convolution model with the smallest error as the optimized convolution model; based on the optimized convolution model, the mobile detail dataset is matched with the personnel movement features of adjacent lighting areas, and the model prediction method is used to take the mobile detail dataset as input. By optimizing the convolution model, the output of the personnel movement features of each lighting area is obtained, and compared with the outputs of other areas, the best matching area is found, and the mobile detail matching data is generated.

[0099] The present invention firstly selects important features based on the mobile detail data set and the infrared portrait mobile data, thereby improving the extraction efficiency and quality of the mobile feature data, reducing the extraction cost and complexity of the mobile feature data, and improving the extraction accuracy and stability of the mobile feature data. The FLANN algorithm is used to filter the feature ratios of adjacent lighting areas for the mobile angle feature data, the mobile speed feature data, and the mobile motion feature data, thereby improving the filtering efficiency and quality of the mobile feature ratio data, reducing the filtering cost and complexity of the mobile feature ratio data, and improving the filtering accuracy and stability of the mobile feature ratio data. The mobile feature ratio data is subjected to convolution model construction, thereby improving the construction efficiency and quality of the convolution model, reducing the construction cost and complexity of the convolution model, and improving the construction accuracy and stability of the convolution model. The convolution model is iteratively optimized using the RANSAC algorithm, thereby improving the optimization efficiency and quality of the optimized convolution model, reducing the optimization cost and complexity of the optimized convolution model, and improving the optimization accuracy and stability of the optimized convolution model. Based on the optimized convolution model, the moving detail data set is used to match the moving features of people in adjacent lighting areas. This can improve the matching efficiency and quality of the moving detail matching data, reduce the matching cost and complexity of the moving detail matching data, and improve the matching accuracy and stability of the moving detail matching data.

[0100] Preferably, step S3 comprises the following steps:

[0101] Step S31: performing linear correlation screening on the brightness attenuation spectrum data to obtain linear attenuation standard data;

[0102] Step S32: performing linear correlation analysis on the brightness attenuation spectrum data according to the linear attenuation standard data, thereby obtaining linear brightness attenuation data; performing nonlinear correlation analysis of brightness interference on the brightness attenuation spectrum data according to the linear attenuation standard data, thereby obtaining nonlinear brightness attenuation data;

[0103] Step S33: performing straight-line fitting on the linear brightness attenuation data and the nonlinear brightness attenuation data, thereby obtaining straight-line fitting attenuation data;

[0104] Step S34: performing high-dimensional feature dimensionality reduction on the multi-dimensional linear attenuation data, thereby obtaining low-dimensional linear attenuation data;

[0105] Step S35: constructing a time matrix for the low-dimensional linear attenuation data, thereby obtaining brightness attenuation matrix data;

[0106] Step S36: performing dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation matrix data, thereby obtaining brightness multi-dimensional change data;

[0107] Step S37: Perform time series correction modeling on the brightness multi-dimensional change data, thereby obtaining a time series brightness correction model.

[0108] In the embodiment of the present invention, the type of lighting source is selected as an independent variable (i.e., artificial light source and other light sources) from the brightness attenuation spectrum data, and the brightness of the lighting source is used as a dependent variable to form a set of data with the independent variable. The correlation coefficient between the independent variable and the dependent variable, such as the Pearson correlation coefficient, the Spearman correlation coefficient, etc., is calculated using a linear correlation analysis tool. According to the size and significance level of the correlation coefficient, it is judged whether there is a linear relationship between the independent variable and the dependent variable, that is, whether it meets the assumption of linear attenuation. Data consisting of independent variables and dependent variables with high and significant correlation coefficients are selected as linear attenuation standard data. According to the linear attenuation standard data, a linear regression model is established using a linear regression analysis tool to obtain a regression equation and a regression coefficient. The independent variables in the brightness attenuation spectrum data are substituted into the regression equation to calculate the corresponding dependent variable value, i.e., linear brightness attenuation data. According to the nonlinear factors in the brightness attenuation spectrum data, the linear regression model is corrected using a nonlinear regression analysis tool to obtain a corrected nonlinear regression model. The independent variables and nonlinear factors in the brightness attenuation spectrum data are substituted into the corrected nonlinear regression model to calculate the corresponding dependent variable value, i.e., nonlinear brightness attenuation data. The linear brightness attenuation data and the nonlinear brightness attenuation data are respectively used as scattered data and plotted on the coordinate plane, where the horizontal axis is time and the vertical axis is brightness. The two sets of scattered data are respectively fitted with straight lines using the straight line fitting tool to obtain the equations and fitting degrees of the two straight lines. The equations and fitting degrees of the two straight lines are used as the straight line fitting attenuation data. The independent variables and dependent variables in the multidimensional linear attenuation data are respectively used as the column vectors of the matrix to form a data matrix. The data matrix is ​​subjected to principal component analysis or factor analysis to obtain the coefficients and contribution rates of the new variables. According to the coefficients and contribution rates of the new variables, a certain number of new variables are selected as the independent variables of the low-dimensional linear attenuation data, while retaining the original dependent variables. Low-dimensional linear attenuation data refers to the data in which the brightness of each pixel in the image changes linearly with time, which can be represented by a vector. The brightness attenuation matrix data refers to the brightness change rate of each row in the time matrix, which can be represented by a vector. According to the brightness attenuation matrix data, the image preprocessing data is clustered for brightness analysis, and machine learning is used to analyze the changes in illumination brightness in different areas of the image. Temporal correction modeling of multi-dimensional brightness change data refers to comparing the change gradient of each light source with the minimum brightness adaptation value of the area based on the change gradient of brightness in multiple dimensions, so as to obtain the time points in the area where the brightness change gradient of natural light is larger but the brightness of artificial light has not changed. These time points are screened and marked, and the time points of the area corresponding to these gradient change characteristics are trained through a memory model to obtain a temporal brightness correction model.

[0109] The present invention first determines the brightness attenuation law and trend of the lighting source through linear correlation analysis and linear regression analysis. This enables more precise control and adjustment of the lighting system to ensure the stability and durability of the light source. In addition, the linear attenuation standard data and the modified nonlinear regression model can be used to predict future brightness changes and perform maintenance and optimization of the lighting system in advance. The linear brightness attenuation data and the nonlinear brightness attenuation data are fitted using a straight line fitting tool to obtain the trend and fit of the attenuation data. This helps to analyze and compare the attenuation speed and stability of different lighting sources and select the appropriate light source type and brightness control strategy. Principal component analysis or factor analysis can convert multidimensional linear attenuation data into low-dimensional linear attenuation data and retain the cause variables. This helps to reduce the complexity and dimension of the data and improve the efficiency of data processing and analysis. At the same time, selecting new variables can better capture the key features of brightness changes and provide a more accurate basis for subsequent analysis and decision-making. Through cluster analysis and machine learning analysis of brightness, the changes in lighting brightness in different areas of the image can be identified. This helps to perform personalized lighting control and optimization for different areas and provide a lighting experience that is more adapted to user needs. By memorizing the model and training it to obtain a time-series brightness correction model, the time point when the light source changes can be identified, thereby achieving adaptive adjustment of the lighting system and improving the continuity and smoothness of the lighting.

[0110] Preferably, step S36 includes the following steps:

[0111] Step S361: performing HSV color space conversion on the image preprocessing data and extracting the brightness component to obtain brightness component data;

[0112] Step S362: performing a brightness-distance attenuation cluster analysis on the brightness component data according to the brightness attenuation matrix data, thereby obtaining brightness-distance attenuation cluster data; performing a brightness-time attenuation cluster analysis on the brightness component data according to the brightness attenuation matrix data, thereby obtaining brightness-time attenuation cluster data;

[0113] Step S363: performing brightness trend partitioning on the brightness component data according to the brightness-distance decay clustering data and the brightness-time decay clustering data, thereby obtaining brightness partitioning data;

[0114] Step S364: performing gamma conversion on the brightness partition data, thereby obtaining gamma conversion partition data;

[0115] Step S365: Perform dynamic analysis of lighting brightness on the gamma conversion partition data to obtain multi-dimensional brightness change data.

[0116] The embodiment of the present invention obtains the relevant information of the image preprocessing data, and then obtains the method and formula for converting RGB to HSV. According to the formula, the RGB value of each pixel in the image preprocessing data is calculated to obtain the corresponding HSV value, and the HSV value is stored as the brightness component data. The image preprocessing data is converted into a two-dimensional array, each element is an RGB color value, and the RGB color space is converted into the HSV color space to obtain a new two-dimensional array, each element is an HSV color value, and according to the definition of the HSV color space, the brightness component, that is, the V channel in the HSV color space, is extracted. According to the brightness attenuation matrix data, the brightness component data is analyzed by brightness-distance attenuation clustering and brightness-time attenuation clustering, that is, the attenuation characteristics of the brightness weight value of the brightness component data and the distance (the distance change from the artificial light source to the downward radiation) and time change of different light sources in the matrix are clustered to obtain two cluster analysis data; according to the brightness-distance attenuation clustering data and the brightness-time attenuation clustering data, the brightness value of each pixel in the brightness component data is trend-divided, and according to the gamma conversion formula, the brightness value of each pixel in the brightness partition data is nonlinearly transformed to amplify the brightness change trend, and finally the pixel brightness data after gamma conversion and partitioning is dynamically analyzed in time series to obtain brightness multi-dimensional change data.

[0117] The present invention first converts image preprocessing data from RGB color space to HSV color space by RGB to HSV conversion. This makes it possible to better understand and analyze the color information in the image, especially the brightness (brightness) component. By extracting the V channel in the HSV color space, the brightness component data can be obtained for subsequent brightness analysis and processing. Brightness-distance attenuation clustering and brightness-time attenuation clustering analysis can cluster the brightness component data according to the brightness attenuation matrix data. This helps to identify different attenuation characteristics in the brightness component data, that is, the degree to which the brightness is affected by distance and time changes. Through cluster analysis, the brightness component data can be divided into different brightness trend areas, providing a basis for subsequent nonlinear transformation. The nonlinear transformation of gamma conversion can be performed based on the brightness value of each pixel in the brightness partition data. By applying the formula of gamma conversion, the trend of brightness change can be amplified and the brightness difference in the image can be enhanced. This helps to better capture and analyze the brightness change characteristics and provide a more accurate data basis for subsequent time series dynamic analysis. The dynamic analysis on the time series can be performed on the pixel brightness data that has been gamma converted and partitioned. By analyzing the multi-dimensional brightness change data, the temporal change rules and trends of brightness can be identified. This helps to understand the dynamic behavior and change patterns of light sources and provide more comprehensive information for the control and adjustment of lighting systems.

[0118] Preferably, step S37 includes the following steps:

[0119] Step S371: using the optical flow method to divide the brightness multi-dimensional change data into change gradients, thereby obtaining brightness change gradient data;

[0120] Step S372: sorting the brightness change gradient data to obtain brightness gradient sequence data;

[0121] Step S373: marking the time points of the brightness gradient sequence data according to the preset minimum brightness adaptation data, thereby obtaining brightness change time mark data;

[0122] Step S374: Perform time series correction modeling on the brightness change time mark data to obtain a time series brightness correction model.

[0123] The embodiment of the present invention first calculates the optical flow vector between each two frames of images, that is, the displacement and speed of each pixel in the horizontal and vertical directions. Then, according to the size and direction of the optical flow vector, the brightness change gradient of each pixel is calculated, that is, the brightness change rate of each pixel in the horizontal and vertical directions, and the characteristics of the gradient change of the brightness change rate are matched according to the brightness multi-dimensional change data, that is, according to the size and direction of the brightness change gradient, the pixels are divided into different categories according to different light source dimensions, such as static, slow moving, and fast moving. To sort the brightness change gradient data, it is necessary to define a brightness change gradient comparison function for comparing the size and direction of the brightness change gradient. For example, the vector modulus and angle can be used as the comparison basis, and the brightness gradient sequence data is obtained according to the sorting principle that the natural light change gradient is large but the artificial light source change gradient is small. The brightness gradient sequence data is marked at a time point according to the preset minimum brightness adaptation data, wherein the minimum brightness adaptation data can be mainly fed back by personnel through a feedback system. The controller determines the fluctuation size of the minimum acceptable brightness of the lighting area according to the brightness feedback of the lighting area, thereby obtaining the minimum brightness adaptation data. The brightness gradient sequence data is marked at a time point, that is, the brightness change time point is determined, that is, the time point at which the brightness of the light needs to be adjusted. The brightness gradient value and the minimum brightness adaptation value at each time point are compared. If the brightness gradient value is greater than the minimum brightness adaptation value, it means that the brightness change at the time point exceeds the brightness adaptation threshold of the area, so the brightness of the light needs to be adjusted, otherwise no adjustment is required. The brightness change time-marked data is modeled for time series correction, that is, the brightness change data with the corresponding time marked and its corresponding change gradient features are modeled, and the least squares method or other optimization methods are used to estimate the parameters of the time series model according to the brightness change time-marked data. For example, the gradient descent method or Newton method can be used to obtain the time series brightness correction model.

[0124] The present invention first calculates the optical flow vector, which can be realized by calculating the pixel displacement and speed between each two frames of images. By obtaining the optical flow vector, the motion information of the object in the image can be captured. This helps to identify the moving object or area in the image and provide basic data for the subsequent brightness change analysis. The brightness change gradient calculation can be realized according to the size and direction of the optical flow vector. By calculating the brightness change rate of each pixel in the horizontal and vertical directions, the brightness change gradient can be obtained. This helps to understand the brightness change in the image, especially the change related to the light source. The sorting of the brightness gradient sequence data can be realized according to the size and direction of the brightness change gradient. By defining a comparison function of the brightness change gradient, the brightness gradient data can be sorted. According to the sorting principle that the natural light change gradient is large and the artificial light source change gradient is small, the sorted brightness gradient sequence data can be obtained. This helps to better understand and sort the brightness changes of different light source dimensions in the image. The preset of the minimum brightness adaptation data can be determined by feedback from the feedback system. According to the brightness feedback of the lighting area, the controller can determine the fluctuation size of the minimum acceptable brightness of the area, thereby obtaining the minimum brightness adaptation data. This helps to define the threshold of the brightness change, which is used to determine whether the brightness of the light needs to be adjusted. The marking of the brightness change time point can be achieved based on the brightness gradient sequence data and the minimum brightness adaptation value. By comparing the brightness gradient value and the minimum brightness adaptation value at each time point, the time point when the brightness change exceeds the brightness adaptation threshold of the area can be determined, thereby determining the time point when the brightness of the light needs to be adjusted. This helps to accurately control the timing of light adjustment to meet lighting needs and provide a comfortable visual experience. The estimation of the temporal brightness correction model can be achieved by training the model on the brightness change data and change gradient features of the marked corresponding time, which helps to establish an accurate temporal brightness correction model for the timing adjustment and control of the light.

[0125] Preferably, step S4 comprises the following steps:

[0126] Based on the lighting probability classification model, the regional brightness change prediction when personnel flow is carried out, so as to obtain the flow brightness prediction data and record it in the factory lighting system; the brightness of the predicted area is adjusted according to the factory lighting system;

[0127] Based on the time-series brightness correction model, the regional brightness correction prediction is carried out when the natural light changes, so as to obtain the natural light correction time-series data and record it in the factory lighting system; the correction time is monitored according to the factory lighting system, and when the correction time arrives, the lighting brightness of the light source illumination area is actively collected to obtain the current lighting brightness data, and the current area brightness is adjusted according to the current lighting brightness data.

[0128] The embodiment of the present invention first obtains personnel flow data from the factory lighting system, including the number of personnel in each area, the direction of movement, the speed of movement and other information, takes the personnel flow data as input, and uses the lighting probability classification model for prediction. The model obtains the next adjacent area to which the personnel in each area is most likely to move based on the most obvious and most relevant movement direction characteristics of different personnel in each area, and obtains the lighting brightness of the area based on the number of this area. Specifically, the sensor needs to first monitor the movement of personnel in the lighting edge area of ​​the area. The model receives the main data of personnel movement sent by the sensor. The data can be selected based on the important characteristics of the previous personnel movement to filter out the most important source data, and then analyzes the movement characteristics of the personnel and the corresponding association probability. The model makes a prediction based on this. According to the previously obtained human flow distribution data, the system can set a threshold based on this data to automatically ensure the brightness of these areas during high human flow periods without the need to continue monitoring. The present invention retains the existing lighting system function and does not need to adjust the brightness within a specified period, so there is no need for sensors to collect monitoring data. When the factory lighting system monitors the natural light corrected time series data predicted by the time series brightness correction model, the system collects the lighting brightness of the designated light source illumination area according to the sensor and adjusts it to the correct brightness. If the brightness of the area at this time already meets the brightness requirement of the current area preset by the system, no brightness adjustment is performed.

[0129] The present invention can provide real-time personnel location and movement information by acquiring personnel flow data from the factory lighting system. By monitoring the number of personnel, movement direction and movement speed in different areas of the factory, the distribution and movement trend of personnel can be understood. This helps to predict and adjust lighting needs according to personnel flow. Using the lighting probability classification model for prediction can predict lighting needs based on personnel flow data. By analyzing the movement directional characteristics of different personnel in each area, it is possible to predict the adjacent area to which the personnel in each area are most likely to move, and obtain the lighting brightness of the area. This helps to determine the area where lighting adjustment is required according to the personnel flow and provide appropriate lighting brightness. The main data of personnel movement monitored by the sensor can be achieved by screening out the most important source data. According to the selection of important features of previous personnel movement, the key data of personnel movement can be obtained to provide accurate input for the model. This helps to reduce the complexity of data processing and ensure that the model accurately predicts and judges key data. Setting a threshold based on the distribution data of human flow can set the threshold of lighting according to the flow of personnel. By analyzing the distribution data of human flow, it is possible to determine the areas that need to be automatically adjusted during high human flow periods and ensure the brightness of these areas. This helps to achieve automated lighting adjustment and improve the efficiency and response speed of the lighting system. Retaining the functions of the existing lighting system can ensure that the present invention is compatible with the existing lighting system. Through the present invention, brightness adjustment can be omitted within a specified period of time, so that the sensor does not need to continuously collect monitoring data. This helps to reduce changes to the existing lighting system and retain its original functions and operating methods. The natural light correction time series data predicted by the time series brightness correction model can collect and adjust the lighting brightness of the specified light source illumination area according to the sensor. When the natural light correction time series data is monitored, the system can make adjustments according to the lighting brightness data collected by the sensor to ensure the correct brightness of the light. This helps to achieve dynamic response and adjustment to natural light changes. If the brightness of the area already meets the brightness requirement preset by the system, no brightness adjustment is performed, and unnecessary light adjustment can be avoided. By judging whether the brightness of the current area meets the requirements, frequent brightness adjustment can be avoided, energy can be saved and the stability of the system can be improved. In summary, through the steps in the above embodiments, personnel flow data can be used to predict and adjust lighting needs. This will help to adjust the lighting brightness in real time according to the location and movement of personnel, provide an efficient and intelligent lighting system, and reduce energy waste.

[0130] Preferably, the present invention further provides an intelligent plant lighting control system for executing the intelligent plant lighting control method as described above, the intelligent plant lighting control system comprising:

[0131] The attenuation spectrum generation module is used to collect the illumination brightness of the light source illumination area in the intelligent factory in multiple time periods, so as to obtain illumination brightness data; perform illumination area distribution analysis on the illumination brightness data, so as to obtain illumination area distribution data; perform image capture and preprocessing on the illumination area distribution data in multiple time periods, so as to obtain image preprocessing data; generate an attenuation spectrum of the brightness in the illumination area distribution data according to the image preprocessing data, so as to obtain brightness attenuation spectrum data;

[0132] The lighting probability classification module is used to match the personnel movement characteristics of adjacent lighting areas with the lighting area distribution data, thereby obtaining a movement detail matching data set; and to construct a Bayesian probability classification model for the movement detail matching data set, thereby obtaining a lighting probability classification model;

[0133] The time series correction modeling module is used to perform dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation spectrum data, so as to obtain multi-dimensional brightness change data; perform time series correction modeling on the multi-dimensional brightness change data, so as to obtain a time series brightness correction model;

[0134] The regional brightness prediction module is used to predict the regional brightness changes when people flow based on the lighting probability classification model, so as to obtain the flow brightness prediction data; and to predict the regional brightness correction when natural light changes based on the time series brightness correction model, so as to obtain the natural light correction time series data.

[0135] In summary, the present invention provides an intelligent factory lighting control system, which consists of an attenuation spectrum generation module, a lighting probability classification module, a timing correction modeling module and a regional brightness prediction module, and can implement any one of the intelligent factory lighting control methods described in the present invention. By considering the difference in the distribution of human flow, the light sources including artificial lights and other natural lights in the lighting source illumination area are targeted for image analysis in the time and distance dimensions, and the movement pattern of personnel in the edge of the effective lighting area is found, so as to quickly judge the lighting demands of personnel moving to the next lighting area in a busy intelligent factory, and make corresponding adjustments, and establish a timing model according to the brightness change rules and brightness requirements in different areas at different times, so as to ensure that the brightness of the area can be adjusted in time when the light sensor responds slowly or fails, and the data can be summarized to solve possible fault problems in time. The internal structures of the system cooperate with each other, thereby simplifying the operation process of the intelligent factory lighting control system.

[0136] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.

[0137] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.

Claims

1. An intelligent factory lighting control method, characterized in that: The following steps are involved: Step S1: collecting the illumination brightness of the light source illumination area in the intelligent factory in multiple time periods, thereby obtaining illumination brightness data; Perform lighting area distribution analysis on lighting brightness data to obtain lighting area distribution data; Capturing and preprocessing images of the lighting area distribution data at multiple time periods, thereby obtaining image preprocessing data; Generate a brightness attenuation spectrum of the illumination area distribution data in the area according to the image preprocessing data, thereby obtaining brightness attenuation spectrum data; Step S2: matching the personnel movement features of adjacent lighting areas with the lighting area distribution data, thereby obtaining a movement detail matching data set; constructing a Bayesian probability classification model for the movement detail matching data set, thereby obtaining a lighting probability classification model; Step S3: Performing dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation spectrum data, thereby obtaining multi-dimensional brightness change data; Perform time series correction modeling on the multi-dimensional brightness change data to obtain a time series brightness correction model; Step S4: predicting the regional brightness change when people flow based on the lighting probability classification model, thereby obtaining flow brightness prediction data; Based on the time series brightness correction model, regional brightness correction prediction is performed when natural light changes, so as to obtain natural light correction time series data.

2. The intelligent factory lighting control method according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: collecting the illumination brightness of the light source illumination area in the intelligent factory in multiple time periods, thereby obtaining illumination brightness data; Step S12: performing lighting area distribution analysis on the lighting brightness data, thereby obtaining lighting area distribution data; Step S13: photographing the illumination area distribution data in multiple time periods to obtain illumination image data; performing image preprocessing on the illumination image data to obtain image preprocessing data; Step S14: performing illumination edge detection on the image preprocessing data to obtain illumination edge data; Step S15: performing brightness measurement on the image preprocessing data according to the illumination edge data, thereby obtaining brightness measurement data; Step S16: performing local brightness attenuation analysis on the brightness measurement data to obtain a local brightness attenuation coefficient; Step S17: Generate an attenuation spectrum of the brightness in the area based on the illumination area distribution data according to the local brightness attenuation coefficient, so as to obtain brightness attenuation spectrum data.

3. The intelligent factory lighting control method according to claim 2, characterized in that: Step S2 includes the following steps: Step S21: capturing infrared portraits of different areas of the intelligent factory building using infrared sensors according to the lighting area distribution data, thereby obtaining infrared portrait movement data; Step S22: performing time series fluctuation analysis on the infrared portrait movement data to obtain human flow fluctuation data; Step S23: performing a crowd flow distribution analysis on the lighting area distribution data according to the crowd flow fluctuation data, thereby obtaining crowd flow distribution data; Step S24: labeling the crowd flow distribution data according to a preset crowd flow sensitivity threshold, thereby obtaining crowd flow distribution label data; Step S25: capturing the movement details of personnel in different areas of the smart factory building according to the human flow distribution label data and using the millimeter wave sensor to obtain a movement detail data set; Step S26: performing personnel movement feature matching of adjacent lighting areas on the movement detail data set and the infrared portrait movement data, thereby obtaining a movement detail matching data set; Step S27: performing lighting association marking on the lighting area distribution data according to the moving detail matching data set, thereby obtaining lighting association marking data; Step S28: constructing a Bayesian probability classification model for the lighting-related tag data, thereby obtaining a lighting probability classification model.

4. The intelligent factory lighting control method according to claim 3 is characterized in that: In step S28, the Bayesian probability classification model for the lighting-related tag data is constructed using the following formula: Where P is the probability of regional lighting adjustment, A is the number of associated marked personnel movement features, B is the number of associated marked personnel movement features in adjacent lighting areas, and f a,b is the similarity between the personnel movement feature value of the a-th associated mark and the personnel movement feature value of the associated mark of the b-th adjacent lighting area, μ b is the mean of the associated marked personnel movement features of adjacent lighting areas, β b is the importance weight value of the personnel movement feature of the bth associated tag.

5. The intelligent factory lighting control method according to claim 4, characterized in that: Step S26 includes the following steps: Step S261: performing important feature selection on the motion detail data set and the infrared portrait motion data, thereby obtaining motion angle feature data, motion speed feature data, and motion motion feature data; Step S262: using the FLANN algorithm to filter the moving angle feature data, the moving speed feature data, and the moving motion feature data by the feature ratio of adjacent lighting areas, thereby obtaining moving feature ratio data; Step S263: constructing a convolution model for the moving feature ratio data, thereby obtaining a convolution model; iteratively optimizing the convolution model using a RANSAC algorithm, thereby obtaining an optimized convolution model; Step S264: matching the movement features of people in adjacent lighting areas on the movement detail data set based on the optimized convolution model, thereby obtaining movement detail matching data.

6. The intelligent factory lighting control method according to claim 5, characterized in that: Step S3 includes the following steps: Step S31: performing linear correlation screening on the brightness attenuation spectrum data to obtain linear attenuation standard data; Step S32: performing linear correlation analysis on the brightness attenuation spectrum data according to the linear attenuation standard data, thereby obtaining linear brightness attenuation data; performing nonlinear correlation analysis of brightness interference on the brightness attenuation spectrum data according to the linear attenuation standard data, thereby obtaining nonlinear brightness attenuation data; Step S33: performing straight-line fitting on the linear brightness attenuation data and the nonlinear brightness attenuation data, thereby obtaining straight-line fitting attenuation data; Step S34: performing high-dimensional feature dimensionality reduction on the multi-dimensional linear attenuation data, thereby obtaining low-dimensional linear attenuation data; Step S35: constructing a time matrix for the low-dimensional linear attenuation data, thereby obtaining brightness attenuation matrix data; Step S36: performing dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation matrix data, thereby obtaining brightness multi-dimensional change data; Step S37: Perform time series correction modeling on the brightness multi-dimensional change data, thereby obtaining a time series brightness correction model.

7. The intelligent factory lighting control method according to claim 6, characterized in that: Step S36 includes the following steps: Step S361: performing HSV color space conversion on the image preprocessing data and extracting the brightness component to obtain brightness component data; Step S362: performing a brightness-distance attenuation cluster analysis on the brightness component data according to the brightness attenuation matrix data, thereby obtaining brightness-distance attenuation cluster data; performing a brightness-time attenuation cluster analysis on the brightness component data according to the brightness attenuation matrix data, thereby obtaining brightness-time attenuation cluster data; Step S363: performing brightness trend partitioning on the brightness component data according to the brightness-distance decay clustering data and the brightness-time decay clustering data, thereby obtaining brightness partitioning data; Step S364: performing gamma conversion on the brightness partition data, thereby obtaining gamma conversion partition data; Step S365: Perform dynamic analysis of lighting brightness on the gamma conversion partition data to obtain multi-dimensional brightness change data.

8. The intelligent factory lighting control method according to claim 7, characterized in that: Step S37 includes the following steps: Step S371: using the optical flow method to divide the brightness multi-dimensional change data into change gradients, thereby obtaining brightness change gradient data; Step S372: sorting the brightness change gradient data to obtain brightness gradient sequence data; Step S373: marking the time points of the brightness gradient sequence data according to the preset minimum brightness adaptation data, thereby obtaining brightness change time mark data; Step S374: Perform time series correction modeling on the brightness change time mark data to obtain a time series brightness correction model.

9. The intelligent factory lighting control method according to claim 8, characterized in that: Step S4 includes the following steps: Based on the lighting probability classification model, the regional brightness change prediction when personnel flow is carried out, so as to obtain the flow brightness prediction data and record it in the factory lighting system; the brightness of the predicted area is adjusted according to the factory lighting system; Based on the time-series brightness correction model, the regional brightness correction prediction is carried out when the natural light changes, so as to obtain the natural light correction time-series data and record it in the factory lighting system; the correction time is monitored according to the factory lighting system, and when the correction time arrives, the lighting brightness of the light source illumination area is actively collected to obtain the current lighting brightness data, and the current area brightness is adjusted according to the current lighting brightness data.

10. An intelligent factory lighting control system, characterized in that: Used to execute the intelligent plant lighting control method as claimed in claim 1, the intelligent plant lighting control system comprises: The attenuation spectrum generation module is used to collect the illumination brightness of the light source illumination area in the intelligent factory in multiple time periods, so as to obtain illumination brightness data; perform illumination area distribution analysis on the illumination brightness data, so as to obtain illumination area distribution data; perform image capture and preprocessing on the illumination area distribution data in multiple time periods, so as to obtain image preprocessing data; generate an attenuation spectrum of the brightness in the illumination area distribution data according to the image preprocessing data, so as to obtain brightness attenuation spectrum data; The lighting probability classification module is used to match the personnel movement characteristics of adjacent lighting areas with the lighting area distribution data, thereby obtaining a movement detail matching data set; and to construct a Bayesian probability classification model for the movement detail matching data set, thereby obtaining a lighting probability classification model; The time series correction modeling module is used to perform dynamic analysis of illumination brightness on the image preprocessing data according to the brightness attenuation spectrum data, so as to obtain multi-dimensional brightness change data; perform time series correction modeling on the multi-dimensional brightness change data, so as to obtain a time series brightness correction model; The regional brightness prediction module is used to predict the regional brightness changes when people flow based on the lighting probability classification model, so as to obtain the flow brightness prediction data; and to predict the regional brightness correction when natural light changes based on the time series brightness correction model, so as to obtain the natural light correction time series data.

Citation Information

Patent Citations

  • Intelligent illumination control method based on indoor illumination and personnel position moving model

    CN109922586A

  • Correction software control method based on real-time LED brightness and color difference

    CN117395825A

  • Space-time illumination control method and system based on video image data processing

    CN117545145A

  • Indoor illumination energy-saving control method based on combination of machine vision and illumination prediction

    CN118139246A

  • Method for controlling public lighting

    EP3914049A1

Cited By

  • Multi-device-based linkage illumination control method, system, device and medium

    CN119835835A

  • Method and system for optimizing energy consumption of lighting system based on big data

    CN120676502A

  • Method and system for realizing energy consumption optimization of lighting system based on big data

    CN120676502B

  • Self-adaptive adjustment method and system for light sensation illumination of hotel environment

    CN121419068A