Shop lighting control system with automatic adjustment function and control method thereof

Through a multi-mode lighting control system driven by ambient light and biometric data, the response lag and visual comfort problems of the store lighting system when the flow of people changes is solved, energy saving and display effects are optimized, and response speed and customer experience are improved.

CN120499897APending Publication Date: 2025-08-15OLDENBURGER INTERIOR PROD (SHANGHAI) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510782324.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-12
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

Existing store lighting control systems are prone to local overexposure or insufficient illumination when the flow of people changes suddenly. Fixed parameter control strategies lead to lag in response, lack of biooptical indicator monitoring, and it is difficult to quantitatively evaluate customer visual comfort.

Method used

Ambient light sensors and cameras or infrared sensors are used to collect data, combine particle swarm optimization algorithms and fuzzy adaptive PID control to dynamically adjust the brightness and color temperature of the lamp, and realize illuminance compensation and visual comfort optimization through multi-mode switching.

Benefits of technology

The dual optimization of store lighting energy saving and display effects has been achieved, reducing total energy consumption by 19%, the customer visual fatigue index has decreased by 28%, the residence time has been extended by 15 minutes, and the response speed has been increased by 3 times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499897A_ABST
    Figure CN120499897A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of illumination control, in particular to a shop illumination control system with an automatic adjustment function and a control method thereof, and the method comprises the following steps: 1, data collection: collecting the illumination value E of the environment inside and outside a shop in real time through an ambient light sensor, obtaining customer flow distribution and pupil diameter D through a camera or an infrared sensor; the main control chip calculates the environment illumination deviation e and the deviation change rate delta e according to the environment illumination value and a preset scene illumination threshold value, and through fusion of environment light, the visitor flow rate and customer pupil diameter data, a PSO optimized fuzzy self-adaptive PID control and dynamic mode switching mechanism is adopted, so that the environment illumination deviation e and the deviation change rate delta e are calculated; dual optimization of shop illumination energy saving and display effect is realized, and the total energy consumption is reduced by 19% while the commodity exposure is ensured; color temperature and illumination are adjusted in real time in combination with pupil biological characteristic feedback, so that the visual fatigue index of customers is reduced by 28%, and the staying time is prolonged by 15 minutes.
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 a store lighting control system with an automatic adjustment function and a control method thereof. Background Art

[0002] Current store lighting control systems mostly use a single feedback control based on ambient light sensors, adjusting the overall brightness through a preset fixed threshold;

[0003] Such systems lack the ability to perceive dynamic factors such as foot traffic distribution and customer visual comfort, resulting in frequent problems such as insufficient lighting in display areas and excessive energy consumption during non-business hours. Existing solutions have fixed parameters in traditional PID controllers, making them difficult to adapt to complex scene changes. Furthermore, they lack a biometric feedback mechanism, making it impossible to accurately match illumination with human physiological needs.

[0004] In the use of existing store lighting control systems with automatic adjustment functions, the single ambient light feedback cannot balance energy saving and product display needs. When the flow of people changes suddenly, local overexposure or insufficient illumination is prone to occur. The fixed parameter control strategy causes the system response to lag, and overshoot is serious in scenes such as alternating sunny and cloudy weather and peak customer flow. At the same time, the lack of monitoring of bio-optical indicators such as pupil diameter makes it difficult to quantitatively evaluate customer visual comfort. Therefore, to address the above problems, a store lighting control system with automatic adjustment function and its control method are proposed. Summary of the Invention

[0005] The purpose of the present invention is to provide a store lighting control system with automatic adjustment function and a control method thereof, so as to solve the problems that in the use of existing store lighting control systems with automatic adjustment function, single ambient light feedback cannot balance energy saving and product display needs, local overexposure or insufficient illumination is prone to occur when the flow of people suddenly changes, and the fixed parameter control strategy causes the system response to lag, and overshoot is serious in scenes such as alternating cloudy and sunny days and peak customer flow. At the same time, there is a lack of monitoring of bio-optical indicators such as pupil diameter, making it difficult to quantitatively evaluate customer visual comfort.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A shop lighting control system with automatic adjustment function and a control method thereof, comprising the following steps:

[0008] Step 1: Data collection: Use ambient light sensors to collect real-time illumination values E inside and outside the store, and use cameras or infrared sensors to obtain customer traffic distribution and pupil diameter D;

[0009] Step 2: Deviation calculation: The main control chip calculates the ambient illumination deviation e and the deviation change rate Δe based on the ambient illumination value and the preset scene illumination threshold, and calculates the relative change in pupil diameter δD based on the customer's pupil diameter in two adjacent frames;

[0010] Step 3: PSO optimization: When the system starts or switches modes, the particle swarm optimization algorithm is used to minimize the absolute error of the integral time as the fitness function to optimize the initial parameter K of the fuzzy adaptive PID controller. p0 , K i0 , K d0 ;

[0011] Step 4: Fuzzy adaptive PID control: Input the ambient illumination deviation e, deviation change rate Δe and pupil diameter relative change δD into the fuzzy rule library preset according to the flow of people, pupil comfort and scene type, and dynamically adjust the PID parameter K p , K i , K d And calculate the output control increment;

[0012] Step 5: Based on the PID output of step S4, the brightness and color temperature of the lamps in each area of the store are adjusted through the LED driver to achieve illumination compensation and optimize visual comfort;

[0013] Step 6: Multi-mode switching:

[0014] When the flow of people is higher than the first threshold, the system enters the peak period mode and gives priority to enhancing the key lighting of the display area;

[0015] When the flow of people is lower than the second threshold or at night, the system enters energy-saving mode and reduces the overall lighting brightness to the basic brightness;

[0016] When a customer is detected moving in a specific area, the system enters dynamic following mode and adjusts the lighting of nearby local lamps in real time;

[0017] Step 7: Loop execution: Steps S1 to S6 are executed periodically or on demand to achieve adaptive adjustment and energy-saving optimization of store lighting.

[0018] As a further optimization of the present invention, in step 1, the ambient illumination value E and the customer's pupil diameter D are respectively determined by the following formulas:

[0019] E=a·U+b

[0020] Where U is the output voltage of the ambient light sensor, a and b are coefficients obtained by sensor calibration;

[0021] D=N pix ·p

[0022] Where Npix is the number of pixels corresponding to the pupil in the camera image, and p is the scale from pixels to actual length.

[0023] As a further optimization of the present invention, the ambient light sensor calibration coefficients a and b are obtained by performing least squares linear regression on different known illuminances and sensor output voltages, that is:

[0024]

[0025] At the same time, the pixel scale p is obtained by taking a picture of the standard ruler and measuring the corresponding pixel number. and the actual length L std The ratio is:

[0026]

[0027] As a further optimization of the present invention, in step 2, the ambient illumination deviation e and the deviation change rate Δe and the relative change in pupil diameter δD are calculated by the following formulas:

[0028] e(k)=E ref -E(k)

[0029] Δe(k)=e(k)-e(k-1)

[0030]

[0031] Where, E ref is the preset illumination threshold of the corresponding scene, E(k) and D(k) are the ambient illumination and pupil diameter at the kth sampling moment, respectively.

[0032] As a further optimized content of the present invention, wherein: the sampling period T s Fixed to 100ms;

[0033] The ambient illumination E(k) and pupil diameter D(k) are filtered using a first-order low-pass filter to suppress measurement noise. The filtering formula is:

[0034] E f (k) = αE(k) + (1-α)E f (k-1)

[0035] D f (k) = αD(k) + (1-α)D f (k-1)

[0036] Among them, α=0.2.

[0037] As a further optimization of the present invention, in step 3, the particle swarm optimization algorithm internally adopts the following update formula and fitness function:

[0038]

[0039] Where, and are the parameter vector and velocity vector of the i-th particle in the t-th generation, w, c1, c2 are the inertia weight and learning factor, r1, r2 are random numbers, and g best are the individual optimal and global optimal positions respectively, and J is the fitness function based on the absolute error of the integrated time.

[0040] As a further optimized content of the present invention, in step 4, the controller output Δu of the fuzzy adaptive PID controller and the dynamic adjustment formula of each parameter are:

[0041] Δu(k)=K p (k)Δe(k)+K i (k)e(k)+K d (k)[Δe(k)-Δe(k-1)]

[0042] K p (k) = K p0 +ΔK p ,K i (k) = K i0 +ΔK i ,K d (k) = K d0 +ΔK d

[0043] Where K p0 , K i0 , K d0 is the initial PID parameter after optimization in step 3, ΔK p , ΔK i , ΔK d It is obtained by fuzzy rule reasoning based on human flow, relative pupil change and environmental deviation.

[0044] As a further optimized content of the present invention, the fuzzy rule base and membership function of the fuzzy adaptive PID controller include:

[0045] The input variables “environmental deviation e”, “deviation change rate Δe” and “relative change of pupil diameter δD” are divided into five fuzzy subsets: {NB, NS, ZO, PS, PB};

[0046] Each membership function uses a symmetrical triangular function, the center point corresponds to the most typical value of the subset, and the width is automatically calculated according to the adjustable range;

[0047] Output increment ΔK p , ΔK i , ΔK d It is also divided into five subsets, and reasoning is performed based on the classic 5×5×5 rule table. The maximum-minimum method is used for fuzzy aggregation and the center of gravity method is used for defuzzification.

[0048] As a further optimization of the present invention, it includes: a data acquisition module for obtaining the ambient illumination inside and outside the store through an ambient light sensor and converting it into an actual illumination value through a pre-calibrated linear calibration coefficient;

[0049] The pixel size of the customer's pupil in the image is obtained through a camera or infrared sensor, and converted into pupil diameter based on the ratio of pixels to actual length;

[0050] Measure the number and distribution of customers in the store through traffic sensors;

[0051] Deviation calculation unit, used to calculate the illuminance deviation and its change rate according to the preset scene illuminance threshold and the real-time ambient illuminance value;

[0052] Calculate the relative change of pupil diameter based on the difference of pupil diameters in adjacent frames;

[0053] The contrast value and pupil diameter were filtered using a first-order low-pass filter to suppress sensor noise, and the sampling period was a fixed time interval;

[0054] The PSO optimization unit is used to automatically adjust the initial parameters of the fuzzy adaptive PID controller through the particle swarm optimization algorithm based on the integral time absolute error criterion when the system is started or the lighting mode is switched;

[0055] The algorithm is executed under a predetermined number of particles and iterations, linearly decreasing inertia weights, and a fixed learning factor, and searches for the optimal solution within a limited parameter search space;

[0056] A fuzzy adaptive PID control unit is used to input the filtered illumination deviation, deviation change rate, and relative change in pupil diameter into a five-level fuzzy rule base based on pedestrian flow, visual comfort indicators, and scene type settings;

[0057] Obtain PID parameter increments through fuzzy reasoning and dynamically adjust the proportional, integral, and differential gains of the PID controller;

[0058] Output control increment according to the adjusted PID parameters;

[0059] Lighting driver module, including multi-channel LED driver, configured as:

[0060] Receive control increments and adjust the brightness and color temperature of lamps in each area to achieve real-time illumination compensation and optimize visual comfort;

[0061] When the flow of people exceeds the first threshold, it automatically switches to peak mode to enhance the key lighting of the display area;

[0062] Automatically switch to energy-saving mode when the flow of people is lower than the second threshold or at night, reducing the overall lighting to basic brightness;

[0063] When a customer is detected moving into a specific area, the system automatically switches to dynamic following mode and adjusts the brightness and color temperature of the local lighting in real time.

[0064] The communication module is used to realize two-way wireless communication between data acquisition, control instructions and remote monitoring centers.

[0065] Compared with the prior art, the present invention has the following beneficial effects:

[0066] In the present invention, by integrating ambient light, pedestrian flow and customer pupil diameter data, PSO-optimized fuzzy adaptive PID control and dynamic mode switching mechanism are adopted to achieve dual optimization of store lighting energy saving and display effect, while ensuring product exposure while reducing total energy consumption by 19%; combined with pupil biometric feedback, color temperature and illumination are adjusted in real time, which reduces the customer's visual fatigue index by 28% and extends the stay time by 15 minutes; through 100ms high-speed sampling and differential advance algorithm, the system responds quickly to sudden changes in lighting or surges in customer flow, which is 3 times faster than the traditional solution, effectively eliminating flicker and brightness oscillation problems, and taking into account dynamic scene stability and visual comfort. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 This is a flow chart of a control method of a store lighting control system with automatic adjustment function according to the present invention;

[0068] Figure 2 This is a system block diagram of a store lighting control system with automatic adjustment function according to the present invention. DETAILED DESCRIPTION

[0069] See also Figure 1-Figure 2 , the present invention provides a technical solution:

[0070] A shop lighting control system with automatic adjustment function and a control method thereof, comprising the following steps:

[0071] Step 1: Data collection: Use ambient light sensors to collect real-time illumination values E inside and outside the store, and use cameras or infrared sensors to obtain customer traffic distribution and pupil diameter D;

[0072] Step 2: Deviation calculation: The main control chip calculates the ambient illumination deviation e and the deviation change rate Δe based on the ambient illumination value and the preset scene illumination threshold, and calculates the relative change in pupil diameter δD based on the customer's pupil diameter in two adjacent frames;

[0073] Step 3: PSO optimization: When the system starts or switches modes, the particle swarm optimization algorithm is used to minimize the absolute error of the integral time as the fitness function to optimize the initial parameter K of the fuzzy adaptive PID controller. p0 , K i0 , K d0 ;

[0074] Step 4: Fuzzy adaptive PID control: Input the ambient illumination deviation e, deviation change rate Δe and pupil diameter relative change δD into the fuzzy rule library preset according to the flow of people, pupil comfort and scene type, and dynamically adjust the PID parameter K p , K i , K d And calculate the output control increment;

[0075] Step 5: Based on the PID output of step S4, the brightness and color temperature of the lamps in each area of the store are adjusted through the LED driver to achieve illumination compensation and optimize visual comfort;

[0076] Step 6: Multi-mode switching:

[0077] When the flow of people is higher than the first threshold, the system enters the peak period mode and gives priority to enhancing the key lighting of the display area;

[0078] When the flow of people is lower than the second threshold or at night, the system enters energy-saving mode and reduces the overall lighting brightness to the basic brightness;

[0079] When a customer is detected moving in a specific area, the system enters dynamic following mode and adjusts the lighting of nearby local lamps in real time;

[0080] Step 7: Loop execution: Steps S1 to S6 are executed periodically or on demand to achieve adaptive adjustment and energy-saving optimization of store lighting. Accurate lighting demand determination is achieved through multi-source data fusion (ambient light + biometrics), which improves energy-saving efficiency by 23%-37% compared to single light sensor control. At the same time, the dynamic mode switching mechanism takes into account both commercial display and energy-saving needs. The measured illumination uniformity of the display area is improved by 41% while the total energy consumption is reduced by 19%. In addition, pupil diameter feedback forms a closed-loop visual comfort adjustment, and the average customer stay time is extended by 15 minutes.

[0081] As a technical solution for further implementing this solution, in step 1, the ambient illumination value E and the customer's pupil diameter D are determined by the following formulas:

[0082] E=a·U+b

[0083] Where U is the output voltage of the ambient light sensor, a and b are coefficients obtained by sensor calibration;

[0084] D=N pix ·p

[0085] Where N pix is the number of pixels corresponding to the pupil in the camera image, and p is the scale from pixels to actual length. The two-dimensional bio-optical measurement model ensures that the pupil diameter detection error is less than 0.3mm, and the photoelectric conversion formula uses linear regression calibration to achieve an illumination measurement accuracy of ±5lx (0-2000lx range). At the same time, the scale dynamic calibration technology eliminates the influence of camera distortion, and the spatial positioning accuracy reaches ±5cm;

[0086] As a further technical solution for implementing this scheme, the ambient light sensor calibration coefficients a and b are obtained by performing least squares linear regression on different known illuminances and sensor output voltages, namely:

[0087]

[0088] At the same time, the pixel scale p is obtained by taking a picture of the standard ruler and measuring the corresponding pixel number. and the actual length L std The ratio is: Least squares calibration reduces sensor nonlinearity to <1.2%, exceeding the industry standard of 3%. Standard scale multi-point correction eliminates image edge distortion, resulting in a scale error rate of <0.08%. Automatic temperature compensation keeps sensor drift within ±0.5% / °C.

[0089] As a technical solution for further implementing this solution, in step 2, the ambient illumination deviation e and the deviation change rate Δe and the relative change in pupil diameter δD are calculated by the following formulas:

[0090] e(k)=E ref -E(k)

[0091] Δe(k)=e(k)-e(k-1)

[0092]

[0093] Where, E refis the preset illumination threshold for the corresponding scene, E(k) and D(k) are the ambient illumination and pupil diameter at the kth sampling moment, respectively. A differential-first structure design controls the calculation delay of the ambient illumination deviation change rate to within 50 milliseconds, significantly improving the system's real-time responsiveness. A pupil diameter differential algorithm is used to effectively filter out transient interference such as blinking, reducing the false trigger rate to less than 0.2 times per hour, ensuring the reliability of biometric feedback. The system also supports dynamic loading of 100 preset scene threshold schemes, enabling seamless switching of lighting modes in different areas to meet the diverse operational needs of stores.

[0094] As a technical solution for further implementation of this solution, the sampling period T s Fixed to 100ms;

[0095] The ambient illumination E(k) and pupil diameter D(k) are filtered using first-order low-pass filters to suppress measurement noise. The filtering formula is:

[0096] E f (k) = αE(k) + (1-α)E f (k-1)

[0097] D f (k) = αD(k) + (1-α)D f (k-1)

[0098] The fixed 100-millisecond sampling period with α = 0.2 precisely matches the persistence of vision characteristic of the human eye, completely eliminating lighting flicker and complying with the IEEE 1789-2015 safety standard. A first-order low-pass filter is combined to increase the ambient light signal-to-noise ratio to 42dB, effectively suppressing sensor noise interference. An adaptive filter coefficient adjustment strategy stabilizes the system's overshoot within 3% during sudden lighting changes, balancing dynamic response speed and stability.

[0099] As a technical solution for further implementation of this solution, in step 3, the particle swarm optimization algorithm adopts the following update formula and fitness function:

[0100]

[0101]

[0102] Where, and are the parameter vector and velocity vector of the i-th particle in the t-th generation, w, c1, c2 are the inertia weight and learning factor, r1, r2 are random numbers, and g bestare the individual optimal and global optimal positions, respectively, and J is the fitness function based on the absolute error of the integral time. The particle swarm optimization algorithm quickly adjusts the initial PID parameters using the absolute error criterion of the integral time, reducing the traditional manual parameter adjustment time by 75%. The linear decreasing inertia weight strategy is used to accelerate the convergence of the algorithm, reducing the number of iterations by 35%. The optimized PID parameters reduce the steady-state error by 18% compared with the traditional method.

[0103] As a technical solution for further implementation of this solution, in step 4, the controller output Δu of the fuzzy adaptive PID controller and the dynamic adjustment formula of each parameter are:

[0104] Δu(k)=K p (k)Δe(k)+K i (k)e(k)+K d (k)[Δe(k)-Δe(k-1)]

[0105] K p (k) = K p0 +ΔK p ,K i (k) = K i0 +ΔK i ,K d (k) = K d0 +ΔK d

[0106] Where K p0 , K i0 , K d0 is the initial PID parameter after optimization in step 3, ΔK p , ΔK i , ΔK d The three-dimensional fuzzy inference architecture dynamically adjusts PID parameters through nonlinear mapping, shortening the step response adjustment time by 42%.

[0107] As a technical solution for further implementation of this solution, the fuzzy rule base and membership functions of the fuzzy adaptive PID controller include:

[0108] The input variables “environmental deviation e”, “deviation change rate Δe” and “relative change of pupil diameter δD” are divided into five fuzzy subsets: {NB, NS, ZO, PS, PB};

[0109] Each membership function uses a symmetrical triangular function, the center point corresponds to the most typical value of the subset, and the width is automatically calculated according to the adjustable range;

[0110] Output increment ΔK p , ΔK i , ΔK dThe system is also divided into five subsets and reasoned based on the classic 5×5×5 rule table. The maximum-minimum method is used for fuzzy aggregation and the centroid method is used for defuzzification. The five-level fuzzy subset division makes the rule base completeness index reach 0.93, and the control sophistication is better than the three-level division.

[0111] As a further technical solution for implementing this solution, a data acquisition module is included, which is used to obtain the ambient illumination inside and outside the store through an ambient light sensor and convert it into an actual illumination value through a pre-calibrated linear calibration coefficient;

[0112] The pixel size of the customer's pupil in the image is obtained through a camera or infrared sensor, and converted into pupil diameter based on the ratio of pixels to actual length;

[0113] Measure the number and distribution of customers in the store through traffic sensors;

[0114] Deviation calculation unit, used to calculate the illuminance deviation and its change rate according to the preset scene illuminance threshold and the real-time ambient illuminance value;

[0115] Calculate the relative change of pupil diameter based on the difference of pupil diameters in adjacent frames;

[0116] The contrast value and pupil diameter were filtered using a first-order low-pass filter to suppress sensor noise, and the sampling period was a fixed time interval;

[0117] The PSO optimization unit is used to automatically adjust the initial parameters of the fuzzy adaptive PID controller through the particle swarm optimization algorithm based on the integral time absolute error criterion when the system is started or the lighting mode is switched;

[0118] The algorithm is executed under a predetermined number of particles and iterations, linearly decreasing inertia weights, and a fixed learning factor, and searches for the optimal solution within a limited parameter search space;

[0119] A fuzzy adaptive PID control unit is used to input the filtered illumination deviation, deviation change rate, and relative change in pupil diameter into a five-level fuzzy rule base based on pedestrian flow, visual comfort indicators, and scene type settings;

[0120] Obtain PID parameter increments through fuzzy reasoning and dynamically adjust the proportional, integral, and differential gains of the PID controller;

[0121] Output control increment according to the adjusted PID parameters;

[0122] Lighting driver module, including multi-channel LED driver, configured as:

[0123] Receive control increments and adjust the brightness and color temperature of lamps in each area to achieve real-time illumination compensation and optimize visual comfort;

[0124] When the flow of people exceeds the first threshold, it automatically switches to peak mode to enhance the key lighting of the display area;

[0125] Automatically switch to energy-saving mode when the flow of people is lower than the second threshold or at night, reducing the overall lighting to basic brightness;

[0126] When a customer is detected moving into a specific area, the system automatically switches to dynamic following mode and adjusts the brightness and color temperature of the local lighting in real time.

[0127] The communication module is used to implement two-way wireless communication between data acquisition, control commands, and remote monitoring centers. Multi-channel drive achieves professional-grade color tolerance of SDCM<3. The LoRa protocol transmission distance reaches 300 meters, and the wall penetration performance is improved by 5 times. The modular design reduces expansion costs by 60% and deployment time is less than 30 minutes.

[0128] This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only used to help understand the method of the present invention and its core ideas. The above is only a preferred implementation method of the present invention. It should be pointed out that due to the limitations of textual expression, there are objectively infinite specific structures. For ordinary technicians in this technical field, without departing from the principles of the present invention, they can make several improvements, modifications or changes, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of the present invention.

Claims

1. A control method for a store lighting control system with an automatic adjustment function, characterized in that: The following steps are involved: Step 1: Data collection: Use ambient light sensors to collect real-time illumination values E inside and outside the store, and use cameras or infrared sensors to obtain customer traffic distribution and pupil diameter D; Step 2: Deviation calculation: The main control chip calculates the ambient illumination deviation e and the deviation change rate Δe based on the ambient illumination value and the preset scene illumination threshold, and calculates the relative change in pupil diameter δD based on the customer's pupil diameter in two adjacent frames; Step 3: PSO optimization: When the system starts or switches modes, the particle swarm optimization algorithm is used to minimize the absolute error of the integral time as the fitness function to optimize the initial parameter K of the fuzzy adaptive PID controller. p0 , K i0 , K d0 ; Step 4: Fuzzy adaptive PID control: Input the ambient illumination deviation e, deviation change rate Δe and pupil diameter relative change δD into the fuzzy rule library preset according to the flow of people, pupil comfort and scene type, and dynamically adjust the PID parameter K p , K i , K d And calculate the output control increment; Step 5: Based on the PID output of step S4, the brightness and color temperature of the lamps in each area of the store are adjusted through the LED driver to achieve illumination compensation and optimize visual comfort; Step 6: Multi-mode switching: When the flow of people is higher than the first threshold, the system enters the peak period mode and gives priority to enhancing the key lighting of the display area; When the flow of people is lower than the second threshold or at night, the system enters energy-saving mode and reduces the overall lighting brightness to the basic brightness; When a customer is detected moving in a specific area, the system enters dynamic following mode and adjusts the lighting of nearby local lamps in real time; Step 7: Loop execution: Steps S1 to S6 are executed periodically or on demand to achieve adaptive adjustment and energy-saving optimization of store lighting.

2. The control method of a store lighting control system with automatic adjustment function according to claim 1, characterized in that: In step 1, the ambient illumination value E and the customer's pupil diameter D are determined by the following formulas: E=a·U+b Where U is the output voltage of the ambient light sensor, a and b are coefficients obtained by sensor calibration; D=N pix ·p Where N pix is the number of pixels corresponding to the pupil in the camera image, and p is the scale from pixels to actual length.

3. The control method of a store lighting control system with automatic adjustment function according to claim 2, characterized in that: The ambient light sensor calibration coefficients a and b are obtained by performing least squares linear regression on different known illuminances and sensor output voltages, namely: At the same time, the pixel scale p is obtained by taking a picture of the standard ruler and measuring the corresponding pixel number. and the actual length L std The ratio is:

4. The control method of a store lighting control system with automatic adjustment function according to claim 1, characterized in that: In step 2, the ambient illumination deviation e, the deviation change rate Δe, and the relative change in pupil diameter δD are calculated by the following formulas: e(k)=E ref -E(k) Δe(k)=e(k)-e(k-1) Where, E ref is the preset illumination threshold of the corresponding scene, E(k) and D(k) are the ambient illumination and pupil diameter at the kth sampling moment, respectively.

5. The control method of a store lighting control system with automatic adjustment function according to claim 4, characterized in that: The sampling period T s Fixed to 100ms; The ambient illumination E(k) and pupil diameter D(k) are filtered using a first-order low-pass filter to suppress measurement noise. The filtering formula is: E f (k)=αE(k)+(1-α)E f (k-1) D f (k)=αD(k)+(1-α)D f (k-1) Among them, α=0.

2.

6. The control method of a store lighting control system with automatic adjustment function according to claim 1, characterized in that: In step 3, the particle swarm optimization algorithm uses the following update formula and fitness function: Where, and are the parameter vector and velocity vector of the i-th particle in the t-th generation, w, c1, c2 are the inertia weight and learning factor, r1, r2 are random numbers, and g best are the individual optimal and global optimal positions respectively, and J is the fitness function based on the absolute error of the integrated time.

7. The control method of a store lighting control system with automatic adjustment function according to claim 1, characterized in that: In step 4, the controller output Δu of the fuzzy adaptive PID controller and the dynamic adjustment formula of each parameter are: Δu(k)=K p (k)Δe(k)+K i (k)e(k)+K d (k)[Δe(k)-Δe(k-1)] K p (k)=K p0 +ΔK p ,K i (k)=K i0 +ΔK i ,K d (k)=K d0 +ΔK d Where K p0 , K i0 , K d0 is the initial PID parameter after optimization in step 3, ΔK p , ΔK i , ΔK d It is obtained by fuzzy rule reasoning based on human flow, relative pupil change and environmental deviation.

8. The control method of a store lighting control system with automatic adjustment function according to claim 7, characterized in that: The fuzzy rule base and membership function of the fuzzy adaptive PID controller include: The input variables "environmental deviation e", "deviation change rate Δe" and "relative change of pupil diameter δD" are divided into five fuzzy subsets: {NB, NS, ZO, PS, PB}; Each membership function uses a symmetrical triangular function, the center point corresponds to the most typical value of the subset, and the width is automatically calculated according to the adjustable range; Output increment ΔK p , ΔK i , ΔK d It is also divided into five subsets, and reasoning is performed based on the classic 5×5×5 rule table. The maximum-minimum method is used for fuzzy aggregation and the center of gravity method is used for defuzzification.

9. A store lighting control system with automatic adjustment function according to any one of claims 1 to 8, characterized in that: It includes a data acquisition module, which is used to obtain the ambient illumination inside and outside the store through the ambient light sensor and convert it into the actual illumination value through the pre-calibrated linear calibration coefficient; The pixel size of the customer's pupil in the image is obtained through a camera or infrared sensor, and converted into pupil diameter based on the ratio of pixels to actual length; Measure the number and distribution of customers in the store through traffic sensors; Deviation calculation unit, used to calculate the illuminance deviation and its change rate according to the preset scene illuminance threshold and the real-time ambient illuminance value; Calculate the relative change of pupil diameter based on the difference of pupil diameters in adjacent frames; The contrast value and pupil diameter were filtered using a first-order low-pass filter to suppress sensor noise, and the sampling period was a fixed time interval; The PSO optimization unit is used to automatically adjust the initial parameters of the fuzzy adaptive PID controller through the particle swarm optimization algorithm based on the integral time absolute error criterion when the system is started or the lighting mode is switched; The algorithm is executed under a predetermined number of particles and iterations, linearly decreasing inertia weights, and a fixed learning factor, and searches for the optimal solution within a limited parameter search space; A fuzzy adaptive PID control unit is used to input the filtered illumination deviation, deviation change rate, and relative change in pupil diameter into a five-level fuzzy rule base based on pedestrian flow, visual comfort indicators, and scene type settings; Obtain PID parameter increments through fuzzy reasoning and dynamically adjust the proportional, integral, and differential gains of the PID controller; Output control increment according to the adjusted PID parameters; Lighting driver module, including multi-channel LED driver, configured as: Receive control increments and adjust the brightness and color temperature of lamps in each area to achieve real-time illumination compensation and optimize visual comfort; When the flow of people exceeds the first threshold, it automatically switches to peak mode to enhance the key lighting of the display area; Automatically switch to energy-saving mode when the flow of people is lower than the second threshold or at night, reducing the overall lighting to basic brightness; When a customer is detected moving into a specific area, the system automatically switches to dynamic following mode and adjusts the brightness and color temperature of the local lighting in real time. The communication module is used to realize two-way wireless communication between data acquisition, control instructions and remote monitoring centers.

Citation Information

Cited By

  • LED illumination energy-saving control system based on data judgment

    CN121262684A