A light effect control method for intelligent chandelier

By using multiple light sensors and advanced ray tracing algorithms in smart chandeliers, combined with big data and machine learning, the beam angle is dynamically adjusted to solve the complexity of beam angle optimization and achieve the efficiency and comfort of the smart lighting system, improving improved lighting quality and energy efficiency.

CN118488631BActive Publication Date: 2024-09-10WALSUN LIGHTING HUIZHOU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410909885.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-09-10
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

When smart chandeliers achieve precise control and optimization of beam angles, they face the complexity of light propagation and scattering and multi-parameter constraints, which leads to an increase in the complexity of light effect control and makes it difficult to achieve fast and accurate beam angle optimization within limited computing resources and time. and fitting.

Method used

By arranging multiple light sensors in the room, Monte Carlo ray tracing algorithm and radiometric algorithm are used to calculate the beam angle, and combined with big data analysis and machine learning technology, the beam angle is dynamically adjusted, the light projection path is optimized, and the object position and reflection are considered. Features, provides a variety of preset modes, and continuously optimizes the beam angle calculation model.

Benefits of technology

It achieves an intelligent, efficient and comfortable light environment, optimizes indoor lighting quality, and improves energy efficiency and user comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118488631B
    Figure CN118488631B
Patent Text Reader

Abstract

The present application provides a lighting effect control method for an intelligent chandelier, including: 1. Arranging multiple light sensors in the room to collect light intensity information at different angles, and transmitting the collected light intensity data to the control unit of the intelligent chandelier for analysis and processing; 2. After the control unit of the intelligent chandelier receives the light intensity data collected by the light sensor, it uses a Monte Carlo ray tracing algorithm or a radiosity algorithm to calculate the optimal beam angle, and simulates the light propagation path and intensity distribution in the room to obtain a set of candidate beam angle parameters; 6. The intelligent chandelier continuously collects data from the light sensor, and continuously optimizes the parameters and strategies of the beam angle calculation model through big data analysis and machine learning algorithms, and uses historical data and user feedback to train the beam angle prediction model to improve the fitting accuracy and adjustment effect of the beam angle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a light effect control method for an intelligent chandelier. Background Art

[0002] In practical applications, smart chandeliers need to dynamically adjust the beam angle and light distribution according to different usage scenarios and user needs to create the best lighting effect. However, in the process of achieving this goal, there is a key technical contradiction: how to ensure soft and comfortable light while accurately controlling the beam angle to meet the lighting requirements of specific scenes. The core of this contradiction is that the scattering characteristics of natural light are very complex and difficult to accurately describe with a simple mathematical model. Smart chandeliers need to analyze ambient lighting conditions and user needs in real time through a large amount of sensor data and complex algorithms, and dynamically adjust the beam angle according to the analysis results. However, due to the many uncertain factors in the propagation and scattering of light in space, how to quickly and accurately optimize and fit the beam angle within limited computing resources and time is a technical problem that needs to be solved urgently. At the same time, smart chandeliers also need to consider the optimization of multiple parameters such as light color temperature and brightness, as well as the coordinated control between multiple light sources, which further increases the complexity of light effect control. How to achieve the optimal fitting of the beam angle under the constraints of multiple lighting parameters and ensure real-time and stability is also a challenging problem. In short, the light effect control of smart chandeliers involves multiple technical fields such as optics, sensors, and algorithm optimization, and it is necessary to seek balance and breakthroughs in complex technical contradictions. Only by deeply analyzing the lighting needs and environmental factors in specific application scenarios and designing optimization algorithms and control strategies in a targeted manner can we ultimately achieve an intelligent, efficient, and comfortable light environment. Summary of the invention

[0003] The present invention provides a light effect control method for an intelligent chandelier, which mainly includes:

[0004] Step S101. Arrange multiple light sensors in the room to collect light intensity information at different angles, and transmit the collected light intensity data to the control unit of the smart chandelier for analysis and processing;

[0005] Step S102. After receiving the light intensity data collected by the light sensor, the control unit of the smart chandelier calculates the optimal beam angle using a Monte Carlo ray tracing algorithm or a radiosity algorithm, and obtains a set of candidate beam angle parameters by simulating the light propagation path and intensity distribution in the room;

[0006] Step S103. Input the candidate beam angle parameters into the angle adjustment mechanism of the intelligent chandelier, control the rotation and tilt motor of the light source, dynamically adjust the projection angle of the beam, and continuously monitor the illuminance data of each light sensor during the angle adjustment process, and compare the feedback data with the preset illuminance threshold in real time. If the illuminance in a certain direction is lower than the threshold, the control unit will further fine-tune the beam angle in that direction, and continuously reduce the illuminance error through iterative optimization until the best light distribution effect is achieved;

[0007] Step S104. According to the position and reflection characteristic information of the objects in the room, the ray tracing algorithm is used to optimize the projection path of the light, reduce the occlusion and interference of the light, and calculate the reflection, absorption and transmission characteristics of different objects to the light through analysis and modeling of the surface material of the object. The influence of these factors is taken into account in the process of adjusting the beam angle, so that the light can better bypass the obstruction and evenly illuminate the entire room;

[0008] Step S105. The smart chandelier provides a variety of preset beam angle modes, such as reading mode, entertainment mode, etc. Each lighting mode corresponds to a set of optimized beam angle parameters. Users can choose a suitable lighting mode according to their personalized needs. Through the mode switching function of the control unit, the angle and brightness of the light source can be quickly adjusted to meet the lighting needs in different scenes.

[0009] Step S106. The smart chandelier continuously collects data from the light sensor, and continuously optimizes the parameters and strategies of the beam angle calculation model through big data analysis and machine learning algorithms. It uses historical data and user feedback to train the beam angle prediction model to improve the fitting accuracy and adjustment effect of the beam angle.

[0010] The technical solution provided by the embodiment of the present invention may have the following beneficial effects:

[0011] The present invention discloses an intelligent lighting system, which solves the problem of indoor light distribution and adjustment through a highly integrated and intelligent method. The main business scenario of the present invention is to dynamically adjust the beam angle of the chandelier according to the real-time data of the light in the room to achieve the best lighting effect. The specific solutions include:

[0012] 1. Arrange multiple light sensors in the room to collect light intensity data at different angles in real time and transmit the data to the control unit.

[0013] 2. After receiving the data, the control unit uses the Monte Carlo ray tracing algorithm or the radiosity algorithm to calculate the optimal beam angle and simulate the light distribution in the room.

[0014] 3. According to the calculation results, adjust the angle adjustment mechanism of the smart chandelier, dynamically change the projection angle of the light source, and continuously monitor the illuminance data to fine-tune the beam angle and reduce the illuminance error.

[0015] 4. Consider the position and reflection characteristics of objects in the room, optimize the light projection path, reduce light blockage and interference, and ensure that the light evenly illuminates the entire space.

[0016] 5. Provide a variety of preset beam angle modes (such as reading mode, entertainment mode, etc.), allowing users to choose the appropriate lighting mode according to different needs.

[0017] 6. Combine big data analysis and machine learning technology to continuously optimize the beam angle calculation model and improve the accuracy and adjustment effect of the prediction model.

[0018] In general, the present invention integrates advanced ray tracing algorithms, big data analysis and machine learning technologies to realize an intelligent lighting system that can intelligently adjust the beam angle according to the real-time environment and user needs. This system not only optimizes the indoor lighting quality, but also improves energy efficiency and user comfort, and has important practical value and broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 The present invention is a flow chart of a light effect control method of an intelligent chandelier.

[0020] Figure 2 It is a schematic diagram of a light effect control method of an intelligent chandelier according to the present invention.

[0021] Figure 3 It is another schematic diagram of a light effect control method of an intelligent chandelier according to the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.

[0023] like Figure 1-3 In this embodiment, a light effect control method of an intelligent chandelier may specifically include:

[0024] Step S101, by arranging multiple light sensors in the room, light intensity information at different angles is collected, and the collected light intensity data is transmitted to the control unit of the smart chandelier for analysis and processing.

[0025] Arrange multiple light sensors in the room to collect light intensity information at different angles. The collected light intensity data is transmitted to the control unit of the smart chandelier through the wireless communication module. After receiving the light intensity data collected by the sensor, the control unit uses data preprocessing technology to denoise and normalize the data to obtain standardized light intensity data. According to the standardized light intensity data, the fuzzy clustering algorithm is used to partition the light environment in the room and divide the room into several light areas. By calculating the average light intensity in each light area, the light intensity of each area is judged. For areas where the light intensity is lower than the preset threshold, the control unit uses the light compensation algorithm to calculate the number and brightness parameters of the fill light fixtures required in the area. According to the calculation results of the light compensation algorithm, the control unit sends a control instruction to the smart chandelier in the area to adjust the beam angle and brightness of the chandelier to achieve local fill light. At the same time, the control unit also uses an adaptive weight adjustment algorithm to dynamically adjust the weight coefficient of each light area according to the activities of people in the room and time changes, so as to optimize the light compensation effect. Finally, the control unit synchronizes the optimized intelligent chandelier parameter settings to each chandelier node to achieve intelligent lighting control of the entire room.

[0026] Specifically, 8 light sensors are arranged in the room, installed in the four corners and the center of the four walls of the room, to collect light intensity information at different angles. The collected light intensity data is transmitted to the control unit of the smart chandelier through the ZigBee wireless communication module at a rate of 250kbps. After receiving the light intensity data collected by the sensor, the control unit uses the Kalman filter algorithm to denoise the data, and then maps the light intensity value to the [0,1] interval through the minimum-maximum normalization method to obtain standardized light intensity data. According to the standardized light intensity data, the fuzzy C-means clustering algorithm is used to partition the lighting environment in the room. By setting the number of cluster centers to 4, the maximum number of iterations to 100, and the convergence threshold to 01, the room is divided into 4 lighting areas. By calculating the average light intensity in each lighting area, the light intensity of each area is judged. For areas with light intensity lower than 300lux, the control unit uses the light compensation algorithm to calculate the number and brightness parameters of the required fill light fixtures in the area by combining parameters such as room area, light source height and target illumination. For example, in an area of ​​20 square meters, the height of the chandelier is 5 meters, and the target illumination is 500 lux. It is calculated that three 9W LED lamps are needed, and their beam angle is set to 30 degrees and the brightness is set to 80%. According to the calculation results of the light compensation algorithm, the control unit sends control instructions to the smart chandelier in the area, and adjusts the beam angle and brightness of the chandelier through PWM control to achieve local fill light. At the same time, the control unit also adopts an adaptive weight adjustment algorithm to detect the activities of people in the room through infrared sensors, and dynamically adjusts the weight coefficients of each lighting area in combination with time change factors. For example, in areas with frequent human activities during the day, the weight coefficient is increased, while in areas with fewer people at night, the weight coefficient is reduced to optimize the light compensation effect. Finally, the control unit synchronizes the optimized smart chandelier parameter settings to each chandelier node through the WiFi network to achieve intelligent lighting control of the entire room.

[0027] In step S102, after receiving the light intensity data collected by the light sensor, the control unit of the smart chandelier calculates the optimal beam angle using a Monte Carlo ray tracing algorithm or a radiosity algorithm, and obtains a set of candidate beam angle parameters by simulating the light propagation path and intensity distribution in the room.

[0028] After receiving the light intensity data collected by the light sensor, the control unit of the smart chandelier uses the Monte Carlo ray tracing algorithm to simulate the light propagation path and intensity distribution in the room. The algorithm randomly samples a large number of light rays and tracks the propagation path and reflection of each light ray in the room to obtain the light intensity distribution at different positions in the room. According to the simulation results, a set of candidate beam angle parameters are determined, including the position, direction and divergence angle of the light source. In order to further optimize the beam angle, the control unit can also use the radiometry algorithm to evaluate and screen the candidate parameters. The radiometry algorithm calculates the energy transfer relationship between the surfaces in the room to obtain the uniformity and lighting effect of different beam angles. According to the calculation results of the radiometry algorithm, the control unit of the smart chandelier can select the best beam angle combination from the candidate parameters to make the light distribution in the room more uniform while avoiding areas that are too bright or too dark. After determining the optimal beam angle, the control unit will send the corresponding control instructions to the motor and light source of the smart chandelier to adjust the direction and light intensity of the lamp so that it can illuminate according to the calculated optimal angle. At the same time, the control unit will continue to monitor the changes in light intensity in the room and dynamically adjust the beam angle based on real-time data to adapt to different environmental conditions and user needs. Through the combined application of Monte Carlo ray tracing algorithm and radiosity algorithm, the smart chandelier can achieve more accurate and intelligent light control, providing a more comfortable and efficient lighting experience.

[0029] Specifically, after the control unit of the smart chandelier receives the light intensity data collected by the light sensor, it uses the Monte Carlo ray tracing algorithm to simulate the light propagation path and intensity distribution in the room. The algorithm randomly samples 10,000 light rays and tracks the propagation path and reflection of each light ray in the room. It uses the Fresnel reflection law and Lambert's cosine law to calculate the reflection and refraction of light on different material surfaces to obtain the light intensity distribution at different positions in the room. According to the simulation results, a set of 8 candidate beam angles including parameters such as light source position, direction and divergence angle are determined. In order to further optimize the beam angle, the control unit uses the radiometry algorithm to evaluate and screen the candidate parameters. The radiometry algorithm is based on finite element analysis, divides the room into 500 grid units, calculates the energy transfer relationship between each grid unit by solving the radiation transfer equation, and uses the Gauss-Seidel iteration method to solve it, and obtains the illumination uniformity and lighting effect evaluation indicators at different beam angles. According to the calculation results of the radiometric algorithm, the control unit of the smart chandelier selects the best beam angle combination from the candidate parameters, which improves the uniformity of light distribution in the room by 15%, while reducing the light intensity in over-bright areas by 20% to avoid glare. Finally, the control unit converts the optimized beam angle parameters into control instructions, adjusts the direction and light intensity of the smart chandelier, and achieves the best lighting effect. At the same time, the control unit samples and analyzes the light intensity in the room every 10 minutes, and dynamically fine-tunes the beam angle according to real-time data and preset lighting standards. The light intensity adjustment range is within 5% to adapt to changes in environmental conditions and the personalized needs of users.

[0030] Step S103, input the candidate beam angle parameters into the angle adjustment mechanism of the smart chandelier, control the rotation and tilt motor of the light source, and dynamically adjust the projection angle of the beam. During the angle adjustment process, the illuminance data of each light sensor is continuously monitored, and the feedback data is compared with the preset illuminance threshold in real time. If the illuminance in a certain direction is lower than the threshold, the control unit will further fine-tune the beam angle in that direction, and continuously reduce the illuminance error through iterative optimization until the best light distribution effect is achieved.

[0031] The candidate beam angle parameters are input into the angle adjustment mechanism of the intelligent chandelier to control the rotation and tilt motors of the light source and dynamically adjust the projection angle of the beam. According to the input candidate beam angle parameters, the fuzzy control algorithm is used to accurately control the rotation motor and the tilt motor to obtain the real-time angle position of the light source. During the angle adjustment process, the illuminance data of each light sensor is continuously monitored, and the feedback data is compared with the preset illuminance threshold in real time. The Euclidean distance between the current illuminance data and the target illuminance threshold is calculated by the iterative nearest point algorithm to determine the magnitude of the illuminance error. If the illuminance in a certain direction is lower than the threshold, the control unit will further fine-tune the beam angle in that direction, optimize the beam angle using the gradient descent algorithm, and continuously reduce the illuminance error by iterative optimization. In each iteration, the current beam angle parameters are obtained, the gradient direction of the illuminance error function is calculated, and the angle parameters are updated along the negative gradient direction until the illuminance error converges to the preset accuracy range. During the iterative optimization process, the adaptive learning rate adjustment strategy is used to dynamically control the step size of parameter update to improve the convergence speed and stability. When the illumination error meets the termination condition, the optimal beam angle parameters are determined and applied to the angle adjustment mechanism of the smart chandelier to achieve the best light distribution effect.

[0032] Specifically, after the angle adjustment mechanism of the smart chandelier receives the candidate beam angle parameters, the fuzzy control algorithm is used to accurately control the rotating motor and the tilting motor. The fuzzy control rule base contains 25 rules, the input variables are the beam angle deviation and the angle deviation change rate, and the output variable is the motor control amount. The system uses 20ms as the control cycle. According to the deviation between the current beam angle and the target angle, combined with the deviation change rate, the motor control amount is obtained through fuzzy reasoning to achieve real-time angle adjustment of the light source. At the same time, the smart chandelier is equipped with 8 light sensors distributed in different positions of the lighting area. The sensor collects illuminance data every 50ms and transmits the data to the control unit. Based on the nearest point algorithm, the control unit calculates the Euclidean distance between the current illuminance data and the preset threshold (such as 300lux) to determine the illuminance error. If the illuminance in a certain direction is lower than the threshold, the control unit will start the gradient descent algorithm to optimize the beam angle in that direction. During the optimization process, the beam angle is used as the independent variable, the sum of squares of the illuminance error is used as the objective function, and the angle parameter is updated along the negative gradient direction by calculating the gradient direction of the objective function with respect to the independent variable. The initial value of the learning rate is set to 01, and the learning rate is adaptively adjusted in each iteration according to the change of the illumination error. When the error decreases by less than 1% for 5 consecutive iterations, it is judged to be converged and the optimal beam angle parameters are obtained. Finally, the optimized angle parameters are applied to the angle adjustment mechanism, and the dynamic adjustment of the beam angle is achieved through fuzzy control, so that the light distribution in the illumination area can achieve the best effect.

[0033] Step S104, based on the position and reflection characteristics of objects in the room, a ray tracing algorithm is used to optimize the projection path of the light to reduce light obstruction and interference. By analyzing and modeling the surface material of the object, the reflection, absorption and transmission characteristics of different objects to the light are calculated, and the influence of these factors is taken into account in the process of adjusting the beam angle, so that the light can better bypass the obstruction and evenly illuminate the entire room.

[0034] According to the position and reflection characteristics of objects in the room, the ray tracing algorithm is used to optimize the projection path of light and reduce the occlusion and interference of light. By analyzing and modeling the surface material of the object, the reflection, absorption and transmission characteristics of different objects on light are obtained. In the process of adjusting the beam angle, the influence of these object material characteristics is considered. According to the influence of the material characteristics of the object on the propagation of light, combined with the spatial position distribution of objects in the room, a three-dimensional light propagation model is constructed. The Monte Carlo method is used to randomly sample the light propagation path, and the optimal propagation path of light in the room is obtained through multiple iterative calculations. Based on the optimal propagation path, the starting point and direction of each light ray are calculated according to the position and direction of the light source. The calculation method of the intersection of light and the surface of the object is used to determine whether the light intersects with the surface of the object during propagation. If the light intersects with the surface of the object, the reflection direction, absorption ratio and transmission direction of the light are calculated according to the material characteristics of the surface of the object. By tracing the propagation paths of a large number of light rays, the energy distribution of light in the room is obtained. According to the energy distribution, the area and intensity of light irradiation are determined. Finally, according to the distribution of the light irradiation area and intensity, the angle and direction of the light source are optimized so that the light can better bypass the obstructions and evenly illuminate the entire room. At the same time, according to the optimized light source angle and direction, the projection path of the light beam is dynamically adjusted to reduce the energy loss of light during propagation and improve lighting efficiency.

[0035] Specifically, when optimizing the ray tracing algorithm, it is first necessary to collect and analyze information about the position and reflection characteristics of objects in the room. Through three-dimensional scanning technology, the spatial coordinate data of objects in the room can be obtained, and the reflectivity, absorptivity and transmittance of different object surfaces to different wavelengths of light such as visible light and infrared light can be measured using a spectrometer. For example, for white walls, the visible light reflectivity can reach more than 85%, while for dark wooden furniture, the visible light reflectivity is less than 30%. Using the acquired spatial coordinates and material property data, by constructing a three-dimensional space model and Monte Carlo random sampling, more than 10,000 light propagation paths can be simulated, and the energy loss of each path and the light intensity distribution reaching the irradiated area can be calculated. On this basis, through iterative optimization algorithms, such as the gradient descent method, the optimal light source angle and beam projection direction can be obtained after 5-10 iterations, so that the illumination uniformity of the irradiated area is increased by more than 20%, and the light energy loss is reduced by more than 10%. In the actual ray tracing process, the calculation formula of the intersection of light and the surface of the object can be used to determine the propagation path of each light in real time, and the change of light energy can be calculated in real time based on the material characteristic data. Ultimately, by tracing and analyzing more than 10,000 rays, the illumination distribution of each area in the room can be accurately obtained, and efficient and uniform room lighting can be achieved based on the optimal angle of the light source and the direction of the beam projection.

[0036] Step S105: The smart chandelier provides a variety of preset beam angle modes, such as reading mode, entertainment mode, etc. Each lighting mode corresponds to a set of optimized beam angle parameters. Users can choose a suitable lighting mode according to their personalized needs, and quickly adjust the angle and brightness of the light source through the mode switching function of the control unit to meet the lighting needs in different scenes.

[0037] According to the lighting mode selected by the user, the intelligent chandelier system obtains the corresponding optimized beam angle parameter combination from the preset lighting mode parameter library. The obtained parameter combination is calculated and processed by the fuzzy control algorithm to obtain the precise angle control value and brightness control value of each light source. The system uses the illumination uniformity evaluation model to evaluate the calculated control value to determine whether it meets the optimal illumination uniformity requirements under the lighting mode. If the requirements are met, the control value is transmitted to the light source control unit; if the requirements are not met, the parameter combination is optimized and adjusted through the iterative optimization algorithm, and the control value is recalculated until the optimal illumination uniformity requirements are met. According to the precise angle control value and brightness control value received, the light source control unit controls the angle and brightness of each light source, adjusts the beam irradiation direction and intensity, and forms the best lighting effect that meets the lighting mode. During the adjustment of the beam angle and brightness, the system collects the light sensor data in real time, evaluates the current lighting environment through the illumination distribution evaluation model, and dynamically optimizes the light source control parameters to ensure that the best lighting effect can be maintained when the external lighting conditions change.

[0038] Specifically, the intelligent chandelier system presets a variety of lighting modes, such as reading mode, meeting mode, dining mode, etc. Each mode corresponds to a set of optimized beam angle parameter combinations in the parameter library. When the user selects "reading mode", the system obtains the beam angle parameters of this mode from the parameter library, calculates and processes the parameters through the fuzzy control algorithm, and obtains the precise angle control value and brightness control value of each light source, such as the main light source angle 30°, brightness 80%, auxiliary light source angle 120°, brightness 50%. Then, the system uses the illumination uniformity evaluation model to evaluate the calculated control value, and by calculating the illumination uniformity coefficient U0, it is determined whether it reaches 7 or above to meet the optimal illumination uniformity requirements in this mode. If the requirements are met, the control value will be transmitted to the light source control unit; if not, the system will use the particle swarm optimization algorithm, with the illumination uniformity coefficient as the optimization target, to iteratively optimize the beam angle parameter combination, and continuously adjust the various parameter values ​​until the optimal illumination uniformity requirements are met. After receiving the precise angle control value and brightness control value, the light source control unit will control the angle and brightness of each light source, such as adjusting the main light source angle to 35°, the brightness to 85%, the auxiliary light source angle to 115°, and the brightness to 55%, to form the best lighting effect that meets the "reading mode". At the same time, the system will also collect data from light sensors distributed throughout the space in real time, calculate the illumination distribution index DGI of the current lighting environment through the illumination distribution evaluation model, and dynamically optimize the light source control parameters. For example, if the external light becomes brighter, the system will reduce the brightness of the light source by 10%, ensuring that when the external light conditions change, the best lighting effect can still be maintained to provide a comfortable lighting environment.

[0039] Step S106: The smart chandelier continuously collects data from the light sensor, and continuously optimizes the parameters and strategies of the beam angle calculation model through big data analysis and machine learning algorithms. The beam angle prediction model is trained using historical data and user feedback to improve the fitting accuracy and adjustment effect of the beam angle.

[0040] The smart chandelier continuously collects data from the light sensor, and continuously optimizes the parameters and strategies of the beam angle calculation model through big data analysis and machine learning algorithms: Based on the historical light data collected by the light sensor, the least squares method is used to estimate the parameters of the beam angle calculation model to obtain the initial beam angle calculation model. The model fitting effect is evaluated by the cross-validation method. If the mean square error of the model is greater than the preset threshold, the gradient descent method is used to fine-tune the model parameters until the mean square error of the model is less than the preset threshold to determine the optimal beam angle calculation model parameters. After obtaining the optimal beam angle calculation model, the newly collected light data is input into the model to calculate the optimal beam angle, and the beam angle of the smart chandelier is controlled to be adjusted in real time. At the same time, based on the user's feedback data on the beam angle adjustment effect, the incremental learning method is used to update and optimize the beam angle calculation model online, so that the model can continuously adapt to environmental changes and user preferences. Through the analysis of historical light data and user feedback data, the association rule mining algorithm is used to find the user's preference pattern for beam angle under different environmental conditions, and the association rules between environmental conditions and the optimal beam angle are obtained. The association rules are integrated into the beam angle calculation model as prior knowledge to improve the prediction accuracy of the model. According to the changes in environmental conditions and user feedback, the weights of the association rules in the beam angle calculation model are dynamically adjusted so that the model can adapt to the lighting needs in different scenarios. Through transfer learning, the optimized beam angle calculation model is applied to other types of smart lighting equipment to achieve the generalization and reuse of the model. The subjective rating data of users on different beam angles are continuously collected, and the collaborative filtering algorithm is used to predict the current user's preference rating for different beam angles based on the similarity between users. The beam angle with the highest predicted score is used as the recommended angle to provide a personalized lighting experience. At the same time, the actual feedback of the user is compared with the predicted preference, the accuracy and recall rate of the recommendation system are calculated, and the parameters of the collaborative filtering algorithm are tuned to improve the quality of the recommendation. Through the above methods, the smart chandelier can continuously optimize the beam angle calculation model, provide more accurate and personalized lighting services, and enhance the user experience.

[0041] Specifically, the smart chandelier continuously collects data from the light sensor, collects the ambient light intensity every 10 minutes, and transmits the data to the cloud server for processing. The 500 sets of historical data collected were fitted by the least squares method to obtain the initial parameters of the beam angle calculation model, and the model effect was evaluated using 5-fold cross validation, with a mean square error of 8. Since the error was greater than the preset threshold of 5, the gradient descent method was used to fine-tune the model parameters with a learning rate of 0.1. After 100 iterations, the mean square error dropped to 3, meeting the requirements. The optimized model was deployed to the embedded system of the smart chandelier. Whenever new light data was received, the model was input to calculate the optimal beam angle, and the stepper motor was controlled to adjust the beam direction in real time. At the same time, the data of the user manually adjusting the beam angle was recorded, and the model was incrementally learned at a decay rate of 1 to adapt to user preferences. The historical data was analyzed by the Apriori algorithm, and it was found that when the light intensity was lower than 500 lux, 80% of users tended to adjust the beam angle to between 30° and 45°. Association rules were generated and given a weight of 8, which were integrated into the beam angle calculation model. Using transfer learning technology, the model was applied to other models of smart chandeliers and tested on 50 sample data with an average error of 5, proving that the model has good generalization ability. The subjective ratings of 100 users on different beam angles were collected to construct a user-angle rating matrix. The item-based collaborative filtering algorithm was used to predict the current user's preference based on the user's ratings on historical angles and recommend the angle with the highest rating. The similarity between users was calculated using cosine similarity, and the data of the 10 users with the highest similarity were selected for prediction. The average accuracy reached 85%, meeting the needs of personalized lighting.

[0042] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A light effect control method for an intelligent chandelier, characterized in that: The method comprises: S101. By arranging multiple light sensors in the room, light intensity information at different angles is collected, and the collected light intensity data is transmitted to the control unit of the smart chandelier for analysis and processing; S102. After receiving the light intensity data collected by the light sensor, the control unit of the smart chandelier calculates the optimal beam angle using a Monte Carlo ray tracing algorithm or a radiosity algorithm, and obtains a set of candidate beam angle parameters by simulating the light propagation path and intensity distribution in the room; S103. Input the candidate beam angle parameters into the angle adjustment mechanism of the intelligent chandelier, control the rotation and tilt motor of the light source, dynamically adjust the projection angle of the beam, and continuously monitor the illuminance data of each light sensor during the angle adjustment process, and compare the feedback data with the preset illuminance threshold in real time. If the illuminance in a certain direction is lower than the threshold, the control unit will further fine-tune the beam angle in that direction, and continuously reduce the illuminance error through iterative optimization until the best light distribution effect is achieved; S104. Based on the position and reflection characteristics of objects in the room, the ray tracing algorithm is used to optimize the projection path of the light, reduce the occlusion and interference of the light, and calculate the reflection, absorption and transmission characteristics of different objects to the light through analysis and modeling of the surface material of the object. The influence of these factors is taken into account in the process of adjusting the beam angle, so that the light can better bypass the obstruction and evenly illuminate the entire room; S105. The smart chandelier provides a variety of preset beam angle modes, such as reading mode and entertainment mode. Each lighting mode corresponds to a set of optimized beam angle parameters. Users can choose the appropriate lighting mode according to their personalized needs. Through the mode switching function of the control unit, the angle and brightness of the light source can be quickly adjusted to meet the lighting needs in different scenes. S106. The smart chandelier continuously collects data from light sensors, and continuously optimizes the parameters and strategies of the beam angle calculation model through big data analysis and machine learning algorithms. It uses historical data and user feedback to train the beam angle prediction model to improve the fitting accuracy and adjustment effect of the beam angle.

2. The light effect control method according to claim 1, characterized in that: In step S101, multiple light sensors are arranged in the room to collect light intensity information at different angles, and the collected light intensity data is transmitted to the control unit of the smart chandelier for analysis and processing, including: Arrange multiple light sensors in the room to collect light intensity information at different angles; The collected light intensity data is transmitted to the control unit of the smart chandelier through the wireless communication module; After receiving the light intensity data collected by the sensor, the control unit uses data preprocessing technology to denoise and normalize the data to obtain standardized light intensity data; According to the standardized light intensity data, the fuzzy clustering algorithm is used to partition the lighting environment in the room and divide the room into several lighting areas; By calculating the average light intensity in each lighting area, the light intensity of each area can be determined; For areas where the light intensity is lower than the preset threshold, the control unit uses a light compensation algorithm to calculate the number of fill-in lights and brightness parameters required in the area; According to the calculation results of the light compensation algorithm, the control unit sends control instructions to the smart chandelier in the area to adjust the beam angle and brightness of the chandelier to achieve local fill light; At the same time, the control unit also uses an adaptive weight adjustment algorithm to dynamically adjust the weight coefficient of each lighting area according to the activities of people in the room and time changes, thereby optimizing the lighting compensation effect; Finally, the control unit synchronizes the optimized intelligent chandelier parameter settings to each chandelier node to achieve intelligent lighting control of the entire room.

3. The light effect control method according to claim 1, characterized in that: In step S102, after receiving the light intensity data collected by the light sensor, the control unit of the smart chandelier calculates the optimal beam angle using a Monte Carlo ray tracing algorithm or a radiosity algorithm, and simulates the light propagation path and intensity distribution in the room to obtain a set of candidate beam angle parameters, including: After receiving the light intensity data collected by the light sensor, the control unit of the smart chandelier uses the Monte Carlo ray tracing algorithm to simulate the light propagation path and intensity distribution in the room; The algorithm obtains the light intensity distribution at different locations in the room by randomly sampling a large number of light rays and tracking the propagation path and reflection of each light ray in the room; According to the simulation results, a set of candidate beam angle parameters are determined, which include the position, direction and divergence angle of the light source; To further optimize the beam angle, the control unit can also use a radiometric algorithm to evaluate and screen candidate parameters; The radiometric algorithm calculates the energy transfer relationship between various surfaces in the room to obtain the lighting uniformity and lighting effect at different beam angles; Based on the calculation results of the radiometric algorithm, the control unit of the smart chandelier can select the best beam angle combination from the candidate parameters to make the light distribution in the room more uniform while avoiding areas that are too bright or too dark; After determining the optimal beam angle, the control unit will send corresponding control instructions to the motor and light source of the smart chandelier to adjust the direction and light intensity of the lamp so that it can illuminate at the calculated optimal angle; At the same time, the control unit will continuously monitor the changes in light intensity in the room and dynamically adjust the beam angle based on real-time data to adapt to different environmental conditions and user needs; Through the combined application of Monte Carlo ray tracing algorithm and radiosity algorithm, smart chandeliers can achieve more precise and intelligent light control, providing a more comfortable and efficient lighting experience.

4. The light effect control method according to claim 1, characterized in that: In step S103, the candidate beam angle parameters are input into the angle adjustment mechanism of the intelligent chandelier to control the rotation and tilt motor of the light source to dynamically adjust the projection angle of the beam; during the angle adjustment process, the illuminance data of each light sensor is continuously monitored, and the feedback data is compared with the preset illuminance threshold in real time; if the illuminance in a certain direction is lower than the threshold, the control unit will further fine-tune the beam angle in that direction, and continuously reduce the illuminance error through iterative optimization until the best light distribution effect is achieved, including: The candidate beam angle parameters are input into the angle adjustment mechanism of the intelligent chandelier to control the rotation and tilt motor of the light source to dynamically adjust the projection angle of the beam; According to the input candidate beam angle parameters, the fuzzy control algorithm is used to accurately control the rotation motor and tilt motor to obtain the real-time angle position of the light source; During the angle adjustment process, the illumination data of each light sensor is continuously monitored, and the feedback data is compared with the preset illumination threshold in real time; The Euclidean distance between the current illumination data and the target illumination threshold is calculated by iterative nearest point algorithm to determine the magnitude of illumination error. If the illumination in a certain direction is lower than the threshold, the control unit will further fine-tune the beam angle in that direction and optimize the beam angle using a gradient descent algorithm, thereby continuously reducing the illumination error through iterative optimization. In each iteration, the current beam angle parameter is obtained, the gradient direction of the illumination error function is calculated, and the angle parameter is updated along the negative gradient direction until the illumination error converges to the preset accuracy range; During the iterative optimization process, an adaptive learning rate adjustment strategy is used to dynamically control the step size of parameter updates to improve convergence speed and stability; When the illumination error meets the termination condition, the optimal beam angle parameters are determined and applied to the angle adjustment mechanism of the smart chandelier to achieve the best light distribution effect.

5. The light effect control method according to claim 1, characterized in that: In step S104, according to the position and reflection characteristic information of the objects in the room, the ray tracing algorithm is used to optimize the projection path of the light to reduce the occlusion and interference of the light; by analyzing and modeling the surface material of the object, the reflection, absorption and transmission characteristics of different objects to the light are calculated, and the influence of these factors is considered in the process of adjusting the beam angle, so that the light can better bypass the obstruction and evenly illuminate the entire room, including: According to the position and reflection characteristics of objects in the room, a ray tracing algorithm is used to optimize the projection path of light and reduce light obstruction and interference; By analyzing and modeling the surface material of objects, we can obtain the reflection, absorption and transmission characteristics of different objects to light; In the process of adjusting the beam angle, the influence of these object material characteristics is considered; According to the influence of the material properties of objects on light propagation, combined with the spatial distribution of objects in the room, a three-dimensional light propagation model is constructed; The Monte Carlo method is used to randomly sample the light propagation path, and the optimal light propagation path in the room is obtained through multiple iterative calculations; Based on the optimal propagation path, the starting point and direction of each light ray are calculated according to the position and direction of the light source; The calculation method of the intersection point between light and the surface of the object is used to determine whether the light intersects with the surface of the object during propagation; If the light intersects with the surface of an object, the reflection direction, absorption ratio and transmission direction of the light are calculated according to the material properties of the surface of the object; By tracing the propagation paths of a large number of light rays, the energy distribution of light rays in the room is obtained; Determine the area and intensity of light irradiation based on energy distribution; Finally, based on the distribution of light irradiation area and intensity, optimize the angle and direction of the light source so that the light can better bypass obstructions and evenly illuminate the entire room; At the same time, according to the optimized light source angle and direction, the projection path of the light beam is dynamically adjusted to reduce the energy loss of light during propagation and improve lighting efficiency.

6. The light effect control method according to claim 1, characterized in that: In step S105, the smart chandelier provides a variety of preset beam angle modes, such as reading mode and entertainment mode, and each lighting mode corresponds to a set of optimized beam angle parameters; the user can select a suitable lighting mode according to personalized needs, and quickly adjust the angle and brightness of the light source through the mode switching function of the control unit to meet the lighting needs in different scenes, including: The intelligent chandelier system obtains the corresponding optimized beam angle parameter combination from the preset lighting mode parameter library according to the lighting mode selected by the user; The obtained parameter combination is calculated and processed through the fuzzy control algorithm to obtain the precise angle control value and brightness control value of each light source; The system uses a light uniformity evaluation model to evaluate the calculated control value to determine whether it meets the optimal light uniformity requirements under this lighting mode; If the requirements are met, the control value is transmitted to the light source control unit; If the requirements are not met, the parameter combination is optimized and adjusted through an iterative optimization algorithm, and the control value is recalculated until the requirements for optimal illumination uniformity are met; The light source control unit controls the angle and brightness of each light source according to the received precise angle control value and brightness control value, and adjusts the irradiation direction and intensity of the light beam to form the best lighting effect that meets the lighting mode; During the process of adjusting the beam angle and brightness, the system collects light sensor data in real time, evaluates the current lighting environment through the illumination distribution evaluation model, and dynamically optimizes the light source control parameters to ensure that the best lighting effect is maintained when the external lighting conditions change.

7. The light effect control method according to claim 1, characterized in that: In step S106, the smart chandelier continuously collects data from the light sensor, and continuously optimizes the parameters and strategies of the beam angle calculation model through big data analysis and machine learning algorithms; uses historical data and user feedback to train the beam angle prediction model to improve the fitting accuracy and adjustment effect of the beam angle, including: The smart chandelier continuously collects data from the light sensor and continuously optimizes the parameters and strategies of the beam angle calculation model through big data analysis and machine learning algorithms: Based on the historical light data collected by the light sensor, the least squares method is used to estimate the parameters of the beam angle calculation model to obtain the initial beam angle calculation model; The model fitting effect is evaluated by the cross-validation method. If the mean square error of the model is greater than the preset threshold, the model parameters are fine-tuned by the gradient descent method until the mean square error of the model is less than the preset threshold, and the optimal beam angle calculation model parameters are determined; After obtaining the optimal beam angle calculation model, the newly collected illumination data is input into the model to calculate the optimal beam angle, and the beam angle of the smart chandelier is controlled to be adjusted in real time; At the same time, based on the user's feedback on the beam angle adjustment effect, the beam angle calculation model is updated and optimized online using incremental learning, so that the model can continuously adapt to environmental changes and user preferences; By analyzing historical lighting data and user feedback data, the association rule mining algorithm is used to discover the user's preference pattern for beam angle under different environmental conditions, and obtain the association rules between environmental conditions and the optimal beam angle; The association rules are used as prior knowledge and integrated into the beam angle calculation model to improve the prediction accuracy of the model; According to changes in environmental conditions and user feedback, the weights of association rules in the beam angle calculation model are dynamically adjusted to enable the model to adapt to lighting needs in different scenarios; Through transfer learning, the optimized beam angle calculation model is applied to other types of intelligent lighting equipment to achieve model generalization and reuse; Continuously collect users' subjective rating data on different beam angles, use collaborative filtering algorithms to predict the current user's preference ratings for different beam angles based on the similarities between users, and use the beam angle with the highest predicted rating as the recommended angle to provide a personalized lighting experience; At the same time, the actual feedback of users is compared with the predicted preferences, the accuracy and recall of the recommendation system are calculated, and the parameters of the collaborative filtering algorithm are tuned to improve the quality of recommendations; Through the above methods, the smart chandelier can continuously optimize the beam angle calculation model, provide more accurate and personalized lighting services, and enhance the user experience.