LED strip ceiling lamp and intelligent lighting control method thereof

By using lens snaps and dial switches in LED bar ceiling lights, the problem that existing LED ceiling lights cannot flexibly adjust brightness and color temperature is solved, achieving rapid installation, flexible adjustment and high user experience.

CN119468141BActive Publication Date: 2025-04-04SHENZHEN XINSHENGYANG OPTOELECTRONICS TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510058714.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-04-04
Estimated Expiration
2045-01-15

AI Technical Summary

Technical Problem

Existing LED ceiling light products cannot flexibly adjust brightness and color temperature according to user needs, making it difficult to obtain the most suitable lighting effect in different application scenarios.

Method used

An LED strip ceiling lamp is designed, and the light source module is fixed with a lens snap buckle to simplify installation and maintenance; and a preset brightness and color temperature gear is provided through a dial switch and control circuit, which users can adjust according to their needs.

Benefits of technology

It realizes the rapid installation and maintenance of light source modules, provides flexible light effect adjustment, meets the needs of different environments and usage scenarios, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119468141B_ABST
    Figure CN119468141B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of LED lamp technology, solves the problem that existing lighting equipment lacks flexible and intuitive operation methods, and provides an LED strip ceiling lamp and its intelligent lighting control method. A lamp body bottom shell, a power module, a light source module, a control circuit and a dial switch, the power module is electrically connected to the light source module; the light source module includes a lens bottom plate, a light board, a lens and a lens buckle, the light source module is connected to the lamp body bottom shell through the lens buckle; the power module is arranged on the lamp body bottom shell, the power module is electrically connected to the control circuit, the control circuit is electrically connected to the dial switch, the dial switch includes a preset number of dial gears, and different dial gears correspond to different brightness values ​​and color temperature values. The present invention can easily adjust the lighting effect of the lamp according to needs, and adapt to different environments and usage scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of lighting control, and in particular to an LED strip ceiling lamp and an intelligent lighting control method thereof. Background Art

[0002] In the current lighting industry, LED ceiling lamps are widely used due to their high energy efficiency, long life and versatility. However, existing LED ceiling lamp products usually only have fixed brightness and color temperature settings and cannot be flexibly adjusted according to user needs. This single brightness and color temperature configuration makes it difficult for users to obtain the most suitable lighting effect in different application scenarios (such as home, office, shopping mall, etc.).

[0003] To solve this problem, some LED lamps with adjustable brightness and color temperature have appeared on the market, but the adjustment methods of these products usually rely on remote controls or smart devices, requiring additional control devices and complex operation steps. This not only increases production and maintenance costs, but also reduces user convenience. At the same time, traditional adjustment methods often cannot meet the personalized needs of specific scenarios, especially for users of different ages or lighting needs in different time periods (such as day and night). Existing products lack flexibility and intuitive operation methods. Summary of the invention

[0004] In view of this, the embodiments of the present invention provide an intelligent lighting control method, device, equipment and medium for an LED strip ceiling lamp, so as to solve the problem that existing lighting equipment lacks flexible and intuitive operation methods.

[0005] In a first aspect, an embodiment of the present invention provides an LED strip ceiling lamp, comprising: a lamp body bottom shell, a power module, a light source module, a control circuit and a dip switch, wherein the power module is electrically connected to the light source module to supply energy to the light source module;

[0006] The light source module comprises a lens base plate, a lamp board provided with LED lamp beads, a lens and a lens buckle, wherein the lens buckle is provided on the lens base plate, and the light source module is connected to the lamp body bottom shell through the lens buckle;

[0007] The power module is arranged on the bottom shell of the lamp body, the power module is electrically connected to the control circuit, the control circuit is electrically connected to the dip switch, the dip switch includes a preset number of dip positions, and different dip positions correspond to different brightness values ​​and color temperature values;

[0008] The control circuit is used to control the brightness and / or color temperature of the LED lamp beads according to a preset control mode.

[0009] In a second aspect, an embodiment of the present invention further provides an intelligent lighting control method of an LED strip ceiling lamp, which is used to control the LED strip ceiling lamp of the first aspect, and the method comprises:

[0010] The priority of obtaining infrared sensing information and ambient light information;

[0011] According to the priority, controlling the sensor to acquire sensing information, wherein the sensing information includes the ambient light information and / or the infrared sensing information;

[0012] The LED strip ceiling light is controlled to illuminate according to the priority, the sensor information and the preset gear position of the dip switch.

[0013] In summary, the beneficial effects of the present invention are as follows:

[0014] The LED strip ceiling lamp provided by the embodiment of the present invention conveniently fixes the light source module on the bottom shell of the lamp body by using the lens buckle, so that the installation and removal of the light source module are simpler and faster, and no additional tools are required. This not only saves installation time, but also facilitates future maintenance and replacement of the light source module, thereby improving the user experience. The lens buckle structure can ensure the firm fixation of the light source module, avoid the risk of the light source loosening or falling off during use, and improve the overall structural stability and safety of the lamp. The design of the dial switch provides a preset number of gears, and different gears can correspond to different brightness and color temperature values. Flexible light effect adjustment can be achieved by switching the dial gears. Users can easily adjust the lighting effect of the lamp according to their needs to adapt to different environments and usage scenarios. The control circuit adjusts the brightness and color temperature of the LED lamp beads through a preset control mode, giving the lamp a certain intelligent adjustment function. Compared with traditional lamps with fixed brightness and color temperature, this solution can provide a more personalized lighting solution and improve user experience. The modular design of components such as the power module, the light source module, and the control circuit facilitates production and assembly, helps save production costs, and also facilitates functional expansion or upgrading of the lamp. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.

[0016] Figure 1 is a schematic diagram of the structure of an LED strip ceiling lamp in an embodiment of the present invention;

[0017] Figure 2 is another three-dimensional structural schematic diagram of the LED strip ceiling lamp in the embodiment of the present invention;

[0018] Figure 3 It is a structural schematic diagram of an LED strip ceiling lamp with an emergency power supply in an embodiment of the present invention;

[0019] Figure 4 It is a schematic diagram of the three-dimensional structure of the LED strip ceiling lamp installed by hanging mode of the present invention;

[0020] Figure 5 It is a schematic diagram of the three-dimensional structure of the LED strip ceiling lamp adopting the ceiling installation method of the present invention;

[0021] Figure 6 It is a schematic diagram of a process of an intelligent lighting control method of an LED strip ceiling lamp in an embodiment of the present invention;

[0022] Figure 7 It is another flow chart of the intelligent lighting control method of the LED strip ceiling lamp in the embodiment of the present invention.

[0023] Reference numerals:

[0024] 1. Lamp body bottom shell; 2. Illumination module; 3. Ceiling mounting assembly; 4. Sensor; 11. Power module; 12. Safety rope; 13. Emergency power supply; 14. Y-shaped lifting wire rope; 21. Lens buckle; 22. Lens bottom plate; 23. Lamp board; 24. Lens; 41. Sensor base; 42 Sensor bracket; 43. Sensor lens. DETAILED DESCRIPTION

[0025] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.

[0026] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0027] It should be noted that all actions of acquiring signals, information or data in the present invention are performed in compliance with the corresponding data protection laws and policies of the location and with the authorization given by the owner of the corresponding device.

[0028] Example 1

[0029] like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides an LED strip ceiling lamp, comprising: a lamp body bottom shell, a power module, a light source module, a control circuit and a dip switch, wherein the power module is electrically connected to the light source module to supply energy to the light source module;

[0030] The light source module comprises a lens base plate, a lamp board provided with LED lamp beads, a lens and a lens buckle, wherein the lens buckle is provided on the lens base plate, and the light source module is connected to the lamp body bottom shell through the lens buckle;

[0031] The power module is arranged on the bottom shell of the lamp body, the power module is electrically connected to the control circuit, the control circuit is electrically connected to the dip switch, the dip switch includes a preset number of dip positions, and different dip positions correspond to different brightness values ​​and color temperature values;

[0032] The control circuit is used to control the brightness and / or color temperature of the LED lamp beads according to a preset control mode.

[0033] Specifically, a power module is provided in the bottom shell of the lamp body, which is electrically connected to the light source module. The power module is responsible for providing power to the light source module (including LED lamp beads) to ensure that the LED lamp can work normally. The light source module consists of a lens base plate, an LED light board, a lens and a lens buckle. The lens buckle is used to firmly fix the light source module on the bottom shell of the lamp body. During installation, the lens, the light board and the lens base plate are fixed together by the lens buckle and connected to the bottom shell to ensure that the light source is stable and easy to replace and maintain in the future. The power module is connected to the dip switch through the control circuit. The function of the control circuit is to adjust the brightness and color temperature of the LED lamp beads according to different preset control modes. Users can select different gears through the dip switch. The dip switch presets multiple gears, each gear corresponds to a specific brightness and color temperature value. The user only needs to adjust the position of the dip switch to switch to different brightness or color temperature modes to meet the lighting effects of different environments and needs. When the user adjusts the dip switch, the control circuit will detect the current gear setting and control the brightness or color temperature of the LED lamp beads according to the corresponding brightness and color temperature values. When the ceiling lamp is powered on, the user can select the desired lighting mode through the DIP switch, and the control circuit will automatically adjust the brightness and color temperature of the LED lamp beads to achieve the desired lighting effect. This design is easy for users to operate, saves electricity, and can adapt to different lighting needs.

[0034] like Figure 2 As shown, a safety rope is further provided between the lamp body bottom shell and the light source module, and the safety rope has a contracted state and an extended state. When the light source module is connected to the lamp body bottom shell through the lens buckle, the safety rope is in the contracted state.

[0035] Specifically, the setting of the safety rope further improves the installation safety and convenience of the LED strip ceiling lamp. The safety rope is installed between the bottom shell of the lamp body and the light source module, and has a dual state of retractability and extension. It is usually in a retracted state and can be stretched to an extended state during installation and removal. In the process of connecting the light source module to the bottom shell of the lamp body through the lens buckle, the safety rope is in a retracted state, which plays an auxiliary fixing role. When the light source module needs to be removed for replacement or maintenance, the safety rope can be stretched to a certain length to prevent the light source module from falling off suddenly, provide additional support, and prevent damage and accidents. The safety rope provides temporary support so that the light source module will not completely detach from the bottom shell during installation or maintenance, which is convenient for the operator to install and position, while reducing the difficulty of operation and simplifying the maintenance process. In unexpected situations (such as the lens buckle is not completely locked or loosened due to vibration), the safety rope can be used as a protective device to prevent the light source module from falling, thereby ensuring the safety of the lamp during installation and use. The safety rope design enhances the safety and convenience of installation and maintenance, effectively protects the light source module during disassembly or installation, avoids damage and improves the stability and safety of the overall structure.

[0036] like Figure 3 As shown, the LED strip ceiling lamp also includes an emergency power supply, which is arranged on the bottom shell of the lamp body. The emergency power supply is electrically connected to the control circuit, and the control circuit is also used to automatically switch to the emergency power supply when the power module is in a power-off state.

[0037] like Figure 4 and Figure 5 As shown, the LED strip ceiling lamp also includes a hanging assembly and / or a ceiling mounting assembly, wherein the hanging assembly includes a Y-shaped lifting wire rope, and the Y-shaped lifting wire rope is connected to the mounting hole on the lamp body base; the ceiling mounting assembly includes a ceiling mounting plate, and the ceiling mounting plate is connected to the lamp body base through bolts.

[0038] The Y-shaped lifting wire rope can be connected to the mounting hole on the base of the lamp body, which is suitable for suspension installation. This structure increases the installation method of the lamp, is suitable for higher spaces or occasions where suspension lighting is required, and provides flexible arrangement.

[0039] The ceiling mounting plate is fixed to the base of the lamp body by bolts to achieve direct ceiling installation. This component is suitable for fixing close to the ceiling, which simplifies the fixing process of the lamp and is suitable for installation needs in low-space scenes.

[0040] These two installation methods provide flexible choices of suspended ceiling and ceiling mounted, allowing the lamps to adapt to the installation requirements of different scenarios.

[0041] Preferably, the LED strip ceiling light also includes a sensor, which includes an infrared sensor and an ambient light sensor, wherein the infrared sensor is used to obtain infrared sensing information, and the ambient light sensor is used to obtain ambient light information, and the control circuit is also used to control the brightness and / or color temperature of the LED lamp beads according to the preset control mode, combined with the preset gear position of the dip switch, and the ambient light information and / or the infrared sensing information.

[0042] The lamp is equipped with infrared sensors and ambient light sensors, which enable the lamp to dynamically respond to environmental changes and achieve intelligent lighting control.

[0043] Infrared sensors are used to detect people or moving objects in the surrounding environment and collect infrared sensing information. With this function, when the sensor detects that someone enters or leaves the range, the lamp can automatically turn on or off or adjust the brightness, thus achieving the intelligent "lights turn on when people come and turn off when people leave" effect.

[0044] The ambient light sensor is used to detect the light intensity of the current environment. According to the ambient light information, the lamp can automatically adjust the brightness to maintain the appropriate lighting effect. For example, during the day or when the ambient light is bright, the lamp can automatically lower the brightness to save energy; at night or when the ambient light is dark, it automatically increases the brightness to provide better lighting. The control circuit combines the preset control mode, the gear setting of the dip switch, the ambient light information and the infrared sensing information to dynamically control the brightness and color temperature of the LED lamp beads. This control logic enables the lamp to have higher automation and intelligent adjustment capabilities: when the ambient brightness is low or when a person enters, the brightness is automatically increased or the color temperature is optimized to meet the user's lighting needs. When the ambient brightness is high or there is no one, the brightness is automatically reduced or the lamp is turned off to achieve energy saving effects.

[0045] Example 2

[0046] See also Figure 6 , an embodiment of the present invention provides an intelligent lighting control method for an LED strip ceiling lamp, the LED strip ceiling lamp comprising an LED light bar, a sensor and a dip switch, the sensor comprising an infrared sensor for acquiring infrared sensing information and an ambient light sensor for acquiring ambient light information, the dip switch being used to adjust the color temperature and power of the LED light bar, the dip switch comprising a plurality of preset gears, and different preset gears having different color temperature values ​​and / or power values;

[0047] Specifically, the LED light bar is the core lighting part of this device, providing efficient and adjustable lighting effects. Users can adjust its color temperature and power through the dip switch to meet different lighting needs. The sensor consists of two main parts: an infrared sensor for detecting the user's motion status; and an ambient light sensor: used to obtain ambient light information in order to adjust the brightness of the LED light bar according to the ambient brightness, ensuring a reasonable lighting effect under natural light conditions.

[0048] Among them, the following factors need to be considered for infrared sensors:

[0049] The Fresnel lens of the infrared sensor must be lower than the lamp housing to ensure that the sensor's detection angle is not affected. The lens is in direct contact with the air to prevent the metal lamp housing from reflecting microwave signals and affecting the sensing effect. Due to its structural characteristics, the detection distance of objects moving in parallel is farther than that of objects moving vertically.

[0050] Infrared sensors should not be used in environments with sudden temperature changes or airflow, and there should be no obstructions between the detection range to ensure the best detection effect. In addition, the sensitivity of the sensor cannot be changed by simple adjustment, because the detection effect is mainly determined by the structure of the Fresnel lens.

[0051] The method includes:

[0052] S1, obtaining the priority of the infrared sensing information and the ambient light information;

[0053] First, the priority of infrared sensing information and ambient light information is obtained. The setting of priority provides a basis for the collection and analysis of sensor information in subsequent steps, thereby guiding the subsequent control strategy. Infrared sensing information and ambient light information can be pre-set, or adjusted according to the scene information of the scene where the LED strip ceiling light is located. For example but not limitation, when the priority of infrared sensing information is higher than that of ambient light information, the lighting control strategy is dominated by infrared sensing information to meet the needs of rapid response. When the priority of ambient light information is higher than that of infrared sensing information, it is based on ambient light control to reflect intelligent energy saving.

[0054] S2. According to the priority, control the sensor to obtain sensing information, wherein the sensing information includes the ambient light information and / or the infrared sensing information;

[0055] Specifically, the working state of the sensor is dynamically adjusted according to the determined priority to collect the required sensing information, thereby achieving flexible and accurate environmental perception. For example, when the infrared sensing information has a higher priority, the infrared sensor is enabled first to collect the user's presence or motion status, while the sampling frequency of the ambient light sensor may be reduced or used only as an auxiliary reference. When the ambient light information has a higher priority, the sampling frequency of the ambient light sensor is increased to accurately detect changes in ambient light, thereby better controlling the brightness of the light.

[0056] According to the priority-adjusted strategy, sensing information is obtained, including ambient light information and / or infrared sensing information.

[0057] S3. Control the LED strip ceiling light to illuminate according to the priority, the sensor information and the preset gear position of the DIP switch.

[0058] Specifically, based on sensor information and user settings, the lighting status and brightness of the LED light strip are intelligently controlled to meet the lighting needs of different scenes. The dip switch is used to set the color temperature of the LED light strip, such as 3000K, 4000K, 5000K, and the power, such as 30W, 40W, 50W. Users can adjust different gears according to actual needs to obtain suitable lighting effects.

[0059] If the dip switch is in the "high brightness mode" position, the system will select the highest power value for lighting when infrared sensing is prioritized; if the dip switch is in the "energy saving mode" position, even if the user's presence is sensed, the power value and color temperature will be limited to the range of the energy saving mode.

[0060] Then, the priority, sensor information (ambient light brightness and personnel presence) and preset gear position of the DIP switch are used as input conditions to comprehensively judge the working status of the LED light bar;

[0061] Through the above three steps, the solution of the present invention can flexibly adjust the working state of the LED light bar in complex scenes, which can not only achieve energy-saving control, but also provide an efficient user experience. At the same time, through priority management and intelligent acquisition of sensor information, the problem of information conflict or invalid detection between sensors can be effectively avoided.

[0062] In one embodiment, the LED strip ceiling light can determine a lighting control mode of the LED strip ceiling light according to different priorities, and the lighting control mode includes:

[0063] When the difference between the priority of the ambient light information and the priority of the infrared sensing information is greater than the first threshold, the infrared uncontrolled mode, that is, the priority difference > the first threshold;

[0064] Light priority mode when the priority difference is greater than the second threshold and less than or equal to the first threshold, that is, the second threshold < priority difference ≤ first threshold;

[0065] The balancing mode when the priority difference is less than or equal to the second threshold but greater than or equal to the third threshold, that is, the third threshold ≤ priority difference ≤ second threshold;

[0066] And, when the priority difference is less than the third threshold value, the light sensing is in an uncontrolled mode,

[0067] Wherein, the first threshold is greater than the second threshold, and the second threshold is greater than or equal to the third threshold;

[0068] Specifically, in the infrared uncontrolled mode, the lighting is only controlled by the ambient light information. When the ambient light brightness is lower than the above preset turn-on brightness, the light will automatically turn on and change in the opposite direction with the change of natural light, that is, when the natural light becomes darker, the light becomes brighter; when the natural light becomes brighter, the light becomes darker to supplement the ambient light.

[0069] In the light-sensing priority mode, the ambient light information is dominant. When the ambient light brightness is lower than the preset turn-on brightness value, the lamp brightness is adjusted according to the infrared sensing information; when no one is moving, the preset standby brightness is maintained, and when someone is moving, it is increased to the preset lighting brightness, which is higher than the standby brightness; when the ambient light brightness is higher than the preset turn-off brightness value, the lamp is turned off;

[0070] In the uncontrolled light sensing mode, infrared sensing information is dominant and changes in ambient light brightness are ignored. That is, no matter how bright or dark the ambient light is, as long as motion is detected, the light will automatically turn on at the preset brightness. After the sensor detects no motion, it will automatically enter the delay time, and then enter the waiting brightness. After the delay time, if there is no one walking in the sensing area, the brightness of the light will dim and enter the waiting time state until someone is detected walking again, and the light will turn on fully. This cycle repeats, and after the waiting time, the sensor automatically turns off the light.

[0071] In the balanced mode, the ambient light information and infrared sensing information jointly determine the state of the lamp. When the ambient light brightness is higher than the preset off brightness value, the lamp remains off; when the ambient light brightness is lower than the preset off brightness value and human movement is detected, the lamp turns on and works at the preset lighting brightness; when no one is moving, the lamp enters the delay state, the waiting brightness state, and finally turns off; the specific processes of the above four modes will be described in detail in the subsequent embodiments, so I will not go into details here;

[0072] In this embodiment, different scenes are suitable for different lighting control modes, so the priority of obtaining the infrared sensing information and the ambient light information includes:

[0073] S11, determining a scene type of the scene according to scene information of the scene in which the LED strip ceiling lamp is located;

[0074] Specifically, scene information refers to the specific parameters of the environment in which the LED strip ceiling light is located, such as the type of place (office, living room, corridor, etc.); the purpose of use (work, rest, auxiliary lighting, etc.); the time period (day, evening, night), etc. Through scene information, the user's main needs for lighting can be preliminarily determined. For example, in an office scene, the uniformity and comfort of lighting are particularly important; while in a corridor scene, the main demand is to detect and respond to lighting based on the flow of people.

[0075] Scene information directly affects the priority of infrared sensing information and ambient light information. For example, in office or reading scenes, ambient light information usually has a higher priority because the indoor lighting needs to be adjusted according to the brightness of natural light. In corridor or aisle scenes, infrared sensing information has a higher priority so that the lights can be quickly adjusted on and off according to the movement of people.

[0076] First, the user sets and obtains scene information. Assuming that the LED light strip is installed in the corridor, the scene type may be defined as "corridor lighting scene". For another example, if the light strip is installed in the living room and the user sets it mainly for reading, the scene type can be further subdivided into "family reading lighting scene". The beneficial effect of this is that the system can set the priority allocation strategy for different types of scenes in a targeted manner based on the recognition results of the scene type, thereby improving the adaptability of lighting control.

[0077] S12, determining the basic priority of the infrared sensing information and the ambient light information according to the scene type;

[0078] The basic priority refers to the initial weight setting value of infrared sensing information and ambient light information in different scene types. For example, in the "corridor lighting scene", the basic priority of infrared sensing information may be set to high, while the basic priority of ambient light information is relatively low, because corridor lighting focuses more on user motion detection rather than changes in ambient brightness. The purpose of this step is to preliminarily assign weights to the two types of information based on the scene type, providing a benchmark for subsequent dynamic adjustment of priorities.

[0079] S13. Adjust the basic priority according to historical infrared sensing information and historical ambient light information to obtain the priority of the infrared sensing information and the ambient light information.

[0080] Specifically, historical infrared sensing information and historical ambient light information refer to the user's motion status and ambient brightness data collected by the system in different time periods, respectively. The purpose of this step is to dynamically adjust the basic priority by analyzing the user's activity patterns and ambient light changes in different time periods, so that the system can adaptively adjust the lighting control strategy. For example, if historical data shows that the user is active in a certain period of time (such as the evening period), the priority of infrared sensing information in this period should be appropriately increased. Conversely, if the ambient brightness is high during the day, the ambient light priority should be higher than the infrared sensing information.

[0081] Preferably, the adjusting the basic priority according to the historical infrared sensing information and the historical ambient light information to obtain the priority of the infrared sensing information and the ambient light information includes:

[0082] S131. Acquire user motion data according to historical infrared sensing information, wherein the user motion data includes the number of times the user enters the illumination range of the LED strip ceiling lamp and the corresponding timestamp;

[0083] Historical infrared sensing information is the activity information of users entering the illumination range of LED strip ceiling lights recorded by infrared sensors. Each time an infrared sensing signal is detected, a "user entry" event is recorded and the timestamp of the event is marked. The original infrared sensing data is sorted in chronological order to form user movement data, thereby providing accurate user behavior information, helping to identify the peak and low peak periods of user activities, and providing data support for dynamically adjusting infrared priorities. S132. According to the historical ambient light information, obtain ambient brightness data, wherein the ambient brightness data includes a number of brightness values ​​and corresponding sampling times;

[0084] Specifically, ambient brightness data is feature data containing brightness values ​​and corresponding times, which is used to analyze lighting changes. The sampling time is the specific time point when the ambient light sensor records the brightness value. The ambient light sensor collects light intensity data, and records a brightness value and the corresponding sampling time each time it is sampled, thereby providing accurate data on ambient light brightness changes, helping to identify brightness change patterns under natural light conditions, and providing a data basis for dynamically adjusting brightness priorities.

[0085] S133, performing statistical analysis on the user motion data and the ambient brightness data to obtain frequency analysis results and brightness analysis results;

[0086] Specifically, the purpose of this step is to extract meaningful features through statistical analysis of user motion data and ambient brightness data, so as to provide data support for priority adjustment. In the specific implementation process, the system first analyzes the user motion data in each time window, calculates the user entry frequency (such as the number of entries per minute) and counts its distribution characteristics (such as maximum value, minimum value, mean value, etc.). For ambient brightness data, the average brightness value in each time window is extracted, and the brightness change trend, distribution range and fluctuation are counted. Through these statistical analyses, the system can fully grasp the laws of user behavior and ambient light changes, and provide an accurate data basis for the next step of adjusting priorities. The beneficial effect of this step is that it captures user behavior and environmental change patterns through data analysis, thereby improving the accuracy and flexibility of system response.

[0087] S134, determining infrared priority adjustment factors and brightness priority adjustment factors for different time periods according to the frequency analysis results and the brightness analysis results;

[0088] Specifically, the purpose of this step is to generate adjustment factors for different time periods based on the statistical results of user movement frequency and ambient light brightness, which are used to dynamically optimize the priority of infrared and ambient light information. During the implementation process, the system divides the time into several time periods (such as morning rush hour, noon, and night), and determines the adjustment factor based on the frequency analysis results and brightness analysis results of each time period. For example, when the user enters frequently and the ambient light brightness is low, a higher infrared priority adjustment factor is assigned; and when the user enters frequently and the ambient light brightness is high, a higher brightness priority adjustment factor is assigned. The adjustment factor can be determined based on preset rules or optimized through a machine learning algorithm in combination with historical data. Through this adjustment mechanism, the system can flexibly adapt to the lighting needs of different time periods, improve user experience and save energy.

[0089] S135. Adjust the basic priority according to the infrared priority adjustment factor and the brightness priority adjustment factor to obtain the priority of the infrared sensing information and the ambient light information in different time periods;

[0090] Specifically, the purpose of this step is to dynamically update the basic priority of each time period according to the adjustment factor to ensure that the lighting control mode meets the real-time scene requirements. During the implementation process, the system combines the basic priority (i.e., the priority of infrared and ambient light information initially set) with the adjustment factor to calculate the final priority for different time periods. For example, if infrared sensing information accounts for 60% and ambient light information accounts for 40% in the basic priority, when the infrared priority adjustment factor is +10% and the brightness priority adjustment factor is -10%, the updated priority is 70% for infrared and 30% for ambient light. The updated priority will directly affect the control logic of the system, such as giving priority to infrared sensing for lamp control or dynamically adjusting the brightness of lamps according to the ambient light brightness. Through this step, the system can flexibly adapt to user behavior and ambient light changes, avoiding energy waste or poor user experience caused by fixed priorities.

[0091] In one embodiment, the step S134 includes:

[0092] S1341, calculating the user entry frequency in each time window according to the preset time window and the user movement data;

[0093] Specifically, user entry frequency refers to the number of user entries counted within a specific time window, which is used to measure the intensity and distribution of user activities. By dividing the user movement data into fixed time windows (such as every hour or every half hour) and counting the number of entries in each window, the user activity characteristics of different time periods can be extracted. This process aims to structure the user behavior data for subsequent feature extraction and analysis. In specific implementation, the system sorts the user movement data by timestamp, and then calculates the entry frequency of each window in a sliding window manner to generate the corresponding time series. For example, assuming that the time window is 1 hour, and the number of user entries from 08:00 to 09:00 is counted as 30 times, then the user entry frequency of this time window is 30. The beneficial effect of this step is that it converts the user movement data from scattered original records into an ordered frequency series, providing a clear basis for subsequent pattern analysis and clustering.

[0094] S1342. Acquire a frequency characteristic matrix according to the user entry frequency, wherein the frequency characteristic matrix includes the user entry frequency and frequency increment in each time window;

[0095] The frequency feature matrix refers to a two-dimensional array that organizes and expands the user entry frequency, which contains the user entry frequency value of each time window and the frequency increment between adjacent time windows. The frequency increment reflects the changing trend of the intensity of user activities and is used to describe the dynamic characteristics of user behavior. Its purpose is to extract a data form that can more comprehensively reflect the changes in user behavior based on the original frequency data. In the implementation process, the system first calculates the difference between the user entry frequency value of each time window and the previous time window as the frequency increment. For example, the frequency of 08:00-09:00 is 30 times, and the frequency of 09:00-10:00 is 40 times, then the frequency increment is 10 times. The matrix composed of frequency values ​​and increments can more intuitively describe the changing trend of frequency and support subsequent clustering analysis and pattern recognition. Through the introduction of increments, the feature matrix not only describes the static intensity of user activities, but also captures the dynamic changes of user behavior.

[0096] S1343, extracting the mean value of the ambient brightness in each time window according to the ambient brightness data;

[0097] The mean ambient brightness refers to the average value of all brightness sampling values ​​within a specific time window, which is used to measure the overall light level during that time period. The purpose of this step is to integrate the scattered ambient brightness data into a concise indicator that can describe the light trend, which is convenient for subsequent feature analysis. In specific implementation, the system summarizes the brightness values ​​in each time window and obtains the mean of the window through the arithmetic average formula. For example, if the brightness values ​​collected in a time window are 100 lux, 200 lux, and 150 lux, then the mean is 150 lux. This process allows complex brightness data to be summarized as representative feature values, providing a basis for subsequent feature extraction and cluster analysis. By calculating the brightness mean, the data dimension can be effectively reduced, the efficiency and accuracy of subsequent data processing can be improved, and the light characteristics of different time periods can be reflected at the same time.

[0098] S1344. Obtain a brightness feature matrix according to the ambient brightness mean, wherein the brightness feature matrix includes the ambient brightness mean and brightness increment in each time window;

[0099] The brightness feature matrix is ​​similar to the frequency feature matrix, which is an extended description of the brightness mean and its changing trend. The brightness increment refers to the difference between the brightness means of adjacent time windows, which is used to describe the trend of brightness change. The purpose of this step is to extract more dynamic information based on the brightness mean to capture the changing law of ambient light. During the implementation process, the system calculates the brightness mean sequence to obtain the brightness increment of each time window and its previous window. For example, if the brightness mean of a window is 150 lux and the brightness mean of the previous window is 100 lux, the brightness increment is 50 lux. Integrating the brightness mean and brightness increment into a matrix can not only describe the static brightness characteristics, but also reflect the dynamic lighting changes. This matrix can more comprehensively reflect the characteristics of ambient light and provide multi-dimensional information support for clustering analysis.

[0100] S1345, performing statistical analysis on the frequency feature matrix and the brightness feature matrix to obtain frequency statistical features and brightness statistical features respectively, wherein the frequency statistical features and the brightness statistical features both include a data distribution range and a standard deviation;

[0101] The purpose of this step is to further analyze the frequency feature matrix and the brightness feature matrix to quantify their data characteristics and extract key statistical indicators to support subsequent priority adjustment and pattern analysis. Calculate the difference between the maximum and minimum values ​​of the user entry frequency in the matrix to describe the fluctuation range of user activities. For example, if the maximum frequency is 50 times and the minimum is 10 times, the distribution range is 40 times. By counting the degree to which the user entry frequency in each time window deviates from the mean, the discreteness and fluctuation of the data are measured. The larger the standard deviation, the more drastic the change in user activity frequency. Calculate the difference between the maximum and minimum values ​​of the mean ambient brightness in the matrix to describe the amplitude of light changes. For example, if the maximum brightness is 400 lux and the minimum is 100 lux, the distribution range is 300 lux. Count the degree to which the mean ambient brightness in each time window deviates from the overall mean to reflect the fluctuation of brightness. The larger the standard deviation, the more unstable the change in ambient light.

[0102] Through the distribution range, we can understand the overall fluctuation of user activity frequency and ambient light brightness, identify time periods with drastic or stable changes, and provide a basis for adjusting priorities. The standard deviation can help the system determine whether the changes in a certain time period are too drastic, so as to decide whether a more sensitive priority adjustment strategy is needed. These statistical features can not only accurately reflect the characteristics of the data, but also effectively reduce the impact of noise, laying the foundation for subsequent time period division and dynamic adjustment.

[0103] In one embodiment, the step S135 includes:

[0104] S1351. Generate a frequency label for each time window according to the frequency statistical feature, wherein the frequency label includes a low frequency label, a medium frequency label and a high frequency label;

[0105] The system determines the low-frequency, medium-frequency, and high-frequency thresholds based on frequency statistical characteristics (such as mean, standard deviation, and distribution range). For example:

[0106] Low frequency: user entry frequency < mean - standard deviation;

[0107] Medium frequency: mean - standard deviation ≤ user entry frequency ≤ mean + standard deviation;

[0108] High frequency: User entry frequency > mean + standard deviation;

[0109] According to the user entry frequency in each time window, it is compared with the above threshold and the corresponding frequency label is assigned. By assigning low-frequency, medium-frequency or high-frequency labels to each time window, the strength distribution of user activities can be quickly identified, providing a basis for dynamically adjusting the priority of infrared sensing. This labeling processing method not only facilitates system analysis, but also reduces computational complexity and improves response efficiency.

[0110] S1352: Generate a brightness label for each time window according to the brightness statistical feature, wherein the brightness label includes a low brightness label, a medium brightness label, and a high brightness label;

[0111] Similar to the previous step, the threshold of the brightness label is set according to the statistical results of the brightness feature matrix (such as mean, standard deviation and distribution range). For example:

[0112] Low brightness: mean ambient brightness < mean - standard deviation;

[0113] Medium brightness: mean - standard deviation ≤ mean of ambient brightness ≤ mean + standard deviation;

[0114] High brightness: Ambient brightness mean > mean + standard deviation.

[0115] The system classifies the average brightness of each time window and assigns corresponding brightness labels. For example, if the average brightness of a time window is 200 lux, the mean is 300 lux, and the standard deviation is 50 lux, then the brightness of the window belongs to the low brightness label. By assigning low brightness, medium brightness, or high brightness labels to each time window, the system can quickly determine the ambient light level and dynamically adjust the priority of ambient light information. This method improves the adaptability to changes in ambient light and optimizes the intelligent effect of lighting control.

[0116] S1353: Determine target weight values ​​of frequency labels and brightness labels according to the scene type;

[0117] The target weight value is used to indicate the importance of frequency labels and brightness labels in different scenes, which affects the similarity calculation of subsequent time segments. The scene type (such as office, corridor) determines the weight setting. For example, in the office scene, the light conditions have a greater impact on work efficiency, so the brightness label weight is higher; while in the corridor scene, user activities are the main focus, so the frequency label weight is higher. The system determines the weight value by looking up the mapping table between scenes and weights. It provides flexibility for dynamically adjusting the priority factor for different scenes, so that the algorithm can adapt to diverse application needs.

[0118] S1354, obtaining the similarity of joint labels between adjacent time segments through weighted calculation according to the target weight value;

[0119] Similarity is used to measure the similarity between adjacent time segments on the joint label, and the value range is usually 0 to 1. The similarity of the joint label is obtained by calculating the similarity of the frequency label and the brightness label respectively, and performing weighted calculation according to the weight. This step provides a quantitative basis for the merging of subsequent time segments by systematically calculating the similarity. By comprehensively considering the frequency and brightness characteristics, it ensures that the merged time segments are highly consistent.

[0120] S1355: If the similarity is greater than a first preset merging threshold, merging corresponding time segments to obtain a number of initial time segments;

[0121] The merge threshold is a value (such as 0.85) used to determine whether time segments should be merged. When the similarity of adjacent time segments is higher than the threshold, the system merges these time segments into an initial time segment. For example, if the similarity of T2 to T2, T3 is 0.9 and 0.87 respectively, both greater than the threshold, they are merged into an initial time segment. This step avoids excessive segmentation of time segments and improves the integrity of time segment division. Merging by similarity judgment can ensure the consistency of the characteristics of the time segments and reduce the complexity of subsequent processing.

[0122] S1356, acquiring a joint label of each of the initial time periods according to a preset label adjustment rule and the joint labels of the time segments before merging;

[0123] When multiple time segments are merged, their joint labels need to be adjusted to reflect the overall characteristics of the merged time segment. Adjustment rules usually include "majority principle" or "weighted average". For example, if the frequency labels of the merged time segment are A, A, B, the majority label A is taken as the frequency label after the merge; if the brightness labels are X, Y, Y, the majority label Y is taken. For unclear situations, the dynamic characteristics of frequency and brightness (such as fluctuation amplitude) can be combined for weighted calculation to ensure that the adjusted joint label can accurately describe the characteristics of the merged time period, providing an accurate basis for subsequent priority adjustments.

[0124] S1357: if an initial time period is shorter than a preset time length, mark the initial time as an abnormal time period;

[0125] The preset time length is the minimum requirement for time segmentation (such as 30 minutes). If the length of a time segment is less than this threshold, it is marked as an abnormal time segment. For example, if the duration of the initial time segment is 15 minutes, the time segment is considered an abnormal time segment. This step is intended to identify time segments that do not meet the requirements for further processing, avoid the impact of abnormal time segments on priority adjustment, and improve the stability and robustness of the system.

[0126] S1358. Process the abnormal time period according to a preset abnormality handling strategy to obtain a target time period and a corresponding joint tag, wherein the abnormality handling strategy includes:

[0127] Determine whether the joint labels of the two initial time periods before and after the abnormal time period are consistent. If they are consistent, merge the abnormal time period and the two initial time periods before and after. If they are inconsistent, determine the target initial time period according to the similarity between the joint label of the abnormal time period and the joint labels of the two initial time periods before and after, and merge the abnormal time period with the target initial time period.

[0128] Specifically, the exception handling strategy aims to repair the abnormal time period and ensure the integrity of the time period division. The handling methods include:

[0129] Merge adjacent time periods: If the joint labels of the time periods before and after the abnormal time period are consistent, they are directly merged.

[0130] Selection based on similarity: If the labels of the previous and next time periods are inconsistent, the similarity between the abnormal time period and the previous and next time periods is calculated and merged into the time period with higher similarity.

[0131] The system will first check the joint labels before and after the abnormal time period. If they are consistent, they will be directly merged. If they are inconsistent, the similarity will be calculated. For example, if the similarity between the abnormal time period and the previous period is 0.8 and the similarity between the abnormal time period and the latter period is 0.9, it will be merged into the latter period. The beneficial effect of this step is that through similarity calculation, the attribution of the abnormal time period is ensured to be reasonable while maintaining the consistency of the time period division.

[0132] S1359. Determine an infrared priority adjustment factor and a brightness priority adjustment factor for each target time period according to the joint label of the target time period.

[0133] Specifically, the joint tag of the final time period is used to determine the infrared and brightness priority adjustment factors. For example, the "high frequency-low brightness" time period corresponds to a higher infrared priority factor and a lower brightness priority factor. For each time period, according to its frequency cluster label and brightness cluster label, the corresponding infrared priority adjustment factor and brightness priority adjustment factor are searched in the mapping rule table. The system searches the pre-built mapping table according to the joint tag of each time period and generates the corresponding priority adjustment factor. By combining the priority adjustment of the joint tag, it is possible to dynamically adapt to the needs of different scenes and time periods, and improve the applicability and flexibility of the lighting system.

[0134] In one embodiment, direct mapping through the mapping rule table may result in a large difference in priority factors of adjacent time periods, resulting in frequent switching. The allocation of factors can be optimized through dynamic adjustment and smoothing strategy. Therefore, after step S1359, the following is further included:

[0135] For every two adjacent target time periods, the difference between the infrared factor and the brightness factor is calculated;

[0136] Specifically, the system first compares the infrared priority factor and the brightness priority factor of each time period, and calculates the difference between adjacent time periods. For example, if the infrared factor of time period T1 is 0.8 and time period T2 is 0.6, the difference between the infrared factors of these two time periods is 0.2. Similarly, the brightness factor is compared. For example, if the brightness factor of T1 is 0.3 and T2 is 0.5, the difference is 0.2. The purpose of this comparison step is to identify time periods with significant changes in factors to determine whether smooth adjustment is required.

[0137] If the factor difference value of adjacent time periods exceeds the threshold, smoothing adjustment is performed according to the preset smoothing strategy;

[0138] Specifically, the preset smoothing strategies include:

[0139] Weighted average smoothing: For two adjacent time periods, the factors of the previous time period and the factors of the next time period can be weighted according to a certain ratio. For example, the longer time period has a larger weight, and the shorter time period has a smaller weight. Through weighted calculation, a value between the factors of the two time periods is obtained as the adjusted priority factor. In this way, the transition of factors is smoothed and abrupt changes are reduced.

[0140] Dynamic decreasing adjustment: When the factor changes too much, the change range can be gradually reduced. For example, if the difference between the infrared factors of two adjacent time periods is 0.4, the system can gradually reduce it to the target value in several adjustments in a gradually decreasing manner. This can achieve a smooth transition in multiple time periods and avoid system instability caused by a large change in the factor at one time.

[0141] Smoothing window adjustment: If the factor of a certain time period is significantly different from that of the time periods before and after it, a smoothing window can be introduced to include the factors of multiple time periods before and after it in the calculation. For example, a weighted average value is taken as the final factor value of the current time period by combining the factor values ​​of the current time period and the two time periods before and after it. In this way, the change trend of the factor is ensured to be more natural and stable.

[0142] After the above smooth adjustment, the system generates the final infrared priority factor and brightness priority factor and assigns them to each time period. The adjusted factors can not only reflect the characteristics of the time period, but also avoid frequent switching caused by drastic changes.

[0143] In another embodiment of the present invention, the priority may be set by clustering, specifically:

[0144] Step S133 may be replaced by: performing cluster analysis on the user motion data and the ambient brightness data to obtain frequency clustering results and brightness clustering results;

[0145] Cluster analysis is a data mining method used to classify data points with similar characteristics into the same group. User movement patterns are behavioral patterns obtained by clustering the user's movement status in different time periods. Ambient brightness distribution is a brightness change pattern obtained by clustering the ambient brightness value. The purpose of this step is to analyze the user movement and ambient brightness in a patterned manner, providing an intuitive classification basis for the subsequent adaptive adjustment of priorities.

[0146] During the implementation process, the system first uses clustering algorithms such as K-means and DBSCAN to cluster the historical motion status and ambient brightness data, and obtains the motion mode (such as frequent movement, stillness, etc.) and brightness mode (such as bright, dark, etc.) of different time periods based on the clustering results. The beneficial effect of this is that it can identify the typical patterns of user behavior and ambient light through pattern analysis, and improve the accuracy of priority adjustment.

[0147] S134 may be replaced by: determining infrared priority adjustment factors and brightness priority adjustment factors for different time periods according to the frequency clustering result and the brightness clustering result;

[0148] S135 may be replaced by: adjusting the basic priority according to the infrared priority adjustment factor and the brightness priority adjustment factor, and obtaining the priority of the infrared sensing information and the ambient light information in different time periods.

[0149] Specifically, infrared sensing priority adjustment factors and ambient light priority adjustment factors are generated according to user motion patterns and ambient brightness distribution in different time periods. These factors are then used to dynamically adjust the basic priority to obtain the final priority settings for different time periods. This has the beneficial effect of enabling the system to adapt to the environment and user behavior characteristics in different time periods and optimize the lighting control strategy.

[0150] S1345 may be replaced by: performing statistical analysis on the frequency feature matrix and the brightness feature matrix to obtain frequency statistical features and brightness statistical features respectively, wherein the frequency statistical features and brightness statistical features both include a degree of uniformity of data distribution and a number of outliers;

[0151] Specifically, statistical analysis refers to mathematical operations and pattern extraction on the feature matrix to evaluate the overall characteristics of the data. The uniformity of data distribution describes the discreteness of frequency or brightness data. For example, the uniformity of data is quantified by calculating the coefficient of variation (the ratio of standard deviation to mean); the number of outliers indicates the number of data points that deviate significantly from the normal range. The purpose of this step is to quantitatively analyze the quality and characteristics of the data before clustering in order to select a suitable data processing method. In specific implementation, the system calculates the mean, standard deviation, maximum value, minimum value and other statistics of the feature matrix, and identifies outliers in combination with an outlier detection algorithm (such as the Z-score method). For example, if the brightness increment in a certain time period is much higher than that in other time periods, then this time period may contain outliers. The beneficial effect of this step is that by comprehensively analyzing the data characteristics, the selection and parameter setting of the clustering algorithm can be optimized, and the reliability of the analysis can be improved.

[0152] After step 1345, the following steps are also included:

[0153] S1346. Determine a first target clustering algorithm from preset clustering algorithms according to the frequency statistical feature, wherein the preset clustering algorithms include a K-means algorithm, a hierarchical clustering algorithm, and a DBSCAN algorithm;

[0154] The purpose of this step is to select the most suitable clustering algorithm according to the characteristics of the frequency statistical features, so as to ensure the accuracy and interpretability of the clustering results. K-means is suitable for data with uniform distribution and regular cluster shape; hierarchical clustering is suitable for scenarios with small data volume and hierarchical analysis; DBSCAN is suitable for data with noise and irregular cluster shape. During implementation, the system judges the data distribution characteristics according to the degree of discreteness (such as coefficient of variation) and the number of outliers of the frequency statistical features. For example, if the degree of discreteness is high and there are many outliers, the DBSCAN algorithm is preferred. This process ensures the matching of the algorithm and the data characteristics. The beneficial effect is that it can improve the accuracy of the clustering results and avoid misclassification caused by improper algorithm selection.

[0155] S1347. Determine a second target clustering algorithm in the preset clustering algorithm according to the brightness statistical feature;

[0156] According to the brightness statistical features, a second target clustering algorithm is determined in the preset clustering algorithm. The analysis of brightness statistical features and the clustering algorithm selection process are similar to those of frequency statistical features, and the purpose is to select the most appropriate clustering method for the brightness feature matrix. Specifically, if the change amplitude of the brightness increment is small and the data is evenly distributed, K-means can be selected; if the brightness change trend is complex or there are obvious outliers, DBSCAN is more suitable. Through statistical analysis of the brightness feature matrix, the system can evaluate the overall trend and abnormal characteristics of the brightness data, so as to match the optimal clustering algorithm. The beneficial effect of this step is that by selecting a clustering method based on the characteristics of the brightness data, the lighting patterns of different time periods can be accurately identified, thereby improving the system's ability to adapt to different environments.

[0157] S1348, performing cluster analysis on the frequency feature matrix according to the first target clustering algorithm to obtain a frequency clustering result;

[0158] The purpose of cluster analysis is to group the data points in the frequency feature matrix into several clusters, each cluster representing a time period with similar user activity characteristics. When implemented, the system uses the user entry frequency and frequency increment of each time window as feature inputs to perform cluster division based on the selected clustering algorithm. The clustering results are represented in the form of labels, for example, the high-frequency cluster is "Cluster A" and the medium-frequency cluster is "Cluster B". The beneficial effect of this step is that by clustering the frequency data, the temporal pattern of user behavior can be identified, providing a basis for subsequent priority adjustments.

[0159] S1349, performing cluster analysis on the brightness feature matrix according to a second target clustering algorithm to obtain a brightness clustering result;

[0160] Similarly, the goal of brightness clustering is to divide the data points in the brightness feature matrix into several clusters, each of which corresponds to a time period with similar lighting characteristics. During implementation, the system uses the selected clustering algorithm, takes the brightness mean and brightness increment of each time window as input features, and generates clustering results. The brightness clustering results can reveal the lighting patterns of different time periods. For example, low-brightness clusters represent early morning or nighttime, and brightness fluctuation clusters may correspond to periods of greater weather changes. The beneficial effect of this step is that cluster analysis can better understand the changes in ambient light, laying the foundation for dynamically adjusting lighting strategies.

[0161] Step S1351 and step S1352 may be replaced by: constructing a joint label for each of the time segments according to the frequency clustering result and the brightness clustering result, wherein the joint label includes a frequency label and a brightness label;

[0162] The joint label is a characteristic description of the time segment, which is composed of the frequency clustering results and the brightness clustering results. Its purpose is to combine the frequency and brightness characteristics of each time segment to form a more complete label. For example, the frequency clustering results may be "high frequency (A)", "medium frequency (B)" and "low frequency (C)", and the brightness clustering results may be "high brightness (X)", "medium brightness (Y)" and "low brightness (Z)", then a joint label may be "(A, X)" (high frequency-high brightness). During the implementation process, the system will traverse each time segment in turn, combine its corresponding frequency label and brightness label into a joint label, and record it in a table. Through the construction of the joint label, the characteristics of the time segment can be more comprehensively described, providing a basis for the subsequent time period division and priority adjustment.

[0163] In the first implementation (statistical analysis), labels are generated, priorities are adjusted, and time periods are divided based on the statistical characteristics of frequency and brightness. Statistical analysis requires only simple operations on the data, is easy to implement, and has low computational complexity. If the distribution of user motion data and ambient brightness data is relatively regular, statistical analysis can quickly obtain reliable results.

[0164] However, statistical analysis can only reflect simple features (such as mean and increment), and it is difficult to accurately describe complex user behaviors and lighting change patterns. Outliers may significantly affect statistical results, resulting in label generation deviations, and it is difficult to adapt to changes in data distribution. For example, when user behavior or ambient brightness changes suddenly, it may not be possible to accurately adjust the priority. In this case, the second implementation method combines the clustering solution, and uses the clustering algorithm to perform pattern recognition on user motion data and ambient brightness data to generate joint labels, and optimize priority adjustment and time period division accordingly. Clustering algorithms can discover implicit patterns and structures in data, and are suitable for processing scenes with complex user behavior and ambient lighting changes.

[0165] Select a solution based on the actual application scenario. If the system runs in an environment with limited hardware resources and the data changes are relatively simple, statistical analysis solutions can be given priority. If faced with complex user behaviors and ambient light changes, and computing resources are sufficient, it is recommended to combine clustering solutions to improve intelligence and adaptability.

[0166] Example 3

[0167] This embodiment is further improved on the basis of Embodiment 2. When the priority of the infrared sensing information is higher than the priority of the ambient light information, the sensing information includes infrared sensing information, and the LED strip ceiling lamp is controlled to illuminate according to the priority, the sensing information and the preset gear position of the dip switch, including:

[0168] S2-31, obtaining a motion state of a user within an irradiation range of the LED strip ceiling lamp according to the infrared sensing information, wherein the motion state includes a first state in which the user is within the irradiation range and a second state in which the user is not within the irradiation range;

[0169] Specifically, in this embodiment, the system sets the priority of infrared sensing information over ambient light information. This means that when a user is within the illumination range of the LED strip ceiling light, the system will adjust the light according to the user's presence state (motion state) first, rather than the brightness of the ambient light. First, the information about the existence and movement of objects detected by the infrared sensor. It can identify human body heat, thereby determining whether there is a user within the illumination range of the light. The motion state refers to the state of the user within the illumination range. If a heat change is detected (such as the presence of a human body), it is determined to be the "first state"; if there is no change, it is the "second state". By accurately detecting the user's motion state, the system can realize the function of automatically turning the light on and off, improving the convenience of use and energy saving.

[0170] S2-32, when the motion state is the second state, controlling the LED strip ceiling light to remain turned off;

[0171] Specifically, in the absence of user activity, keeping the light off is a reasonable control strategy. The system monitors the infrared sensor feedback in real time. If the state is the second state, it sends a shutdown command to the LED light bar, which includes sending the control signal and cutting off the power supply. This avoids ineffective energy consumption, enhances environmental protection effects, reduces electricity expenses, and reduces the aging of light sources.

[0172] S2-33, when the motion state is switched from the second state to the first state, generating a first lighting control signal according to the color temperature value and the power value corresponding to the preset gear position of the dip switch;

[0173] Specifically, when the infrared sensor detects that the motion state changes to the first state, the system reads the setting of the dip switch, searches for the corresponding color temperature and power value according to the set gear, and then generates a lighting control signal. By setting the color temperature and power value, it is ensured that the LED light bar provides appropriate lighting conditions when the user appears.

[0174] S2-34, controlling the LED strip ceiling lamp to illuminate according to the first lighting control signal;

[0175] Specifically, in order to achieve real-time response of lights and provide users with the lighting effects required, the control unit drives the LED light strip to work after receiving the first lighting control signal. The specific process includes current regulation and brightness control, wherein the first lighting control signal is an electrical signal used to control the switch, brightness, color temperature and other parameters of the LED light strip.

[0176] S2-35, when the motion state is switched from the first state to the second state, within a preset delay time, according to the first lighting control signal, the lighting state of the LED light bar is maintained;

[0177] Specifically, the preset delay time is a set period of time used to determine whether the user will leave for a short time. When the motion state is detected to change from the first state to the second state, the system enters the preset delay mode, keeps the lighting unchanged, and continuously outputs the lighting control signal until the delay ends. This increases the user's comfort during the activity and avoids the trouble of frequent light extinguishing due to instantaneous departure.

[0178] S2-36. If, after the preset delay time ends, the motion state remains in the second state within the preset waiting time, the first lighting control signal is adjusted according to the waiting lighting power value and the LED strip ceiling lamp is controlled to illuminate, wherein the waiting lighting power value is lower than the power value corresponding to the preset gear position of the DIP switch;

[0179] S2-37, if after the preset delay time ends, the motion state switches from the second state to the first state within the preset waiting time, returning to the step of controlling the LED strip ceiling lamp to illuminate according to the first lighting control signal;

[0180] Specifically, the preset waiting time is the time period during which the system continues to observe whether the user returns after the delay. When the user is absent for a long time, the light brightness is reduced to save energy and avoid unnecessary energy consumption. If the user still does not appear after the preset waiting time after the preset delay time, the system will adjust the lighting control signal and send a signal according to the waiting lighting power value to reduce the light brightness, thereby improving energy efficiency and reducing power waste, while leaving enough flexibility for subsequent users to enter.

[0181] If a user appears within the preset waiting time, that is, the motion state switches from the second state to the first state within the preset waiting time, the first lighting control signal is immediately triggered to restore the lighting, thereby improving the convenience and comfort of the user and ensuring the timely response of the lighting.

[0182] S2-38. When the preset waiting time is over, the LED strip ceiling light is controlled to be turned off.

[0183] Finally, lights should be turned off when there is no user activity to save energy and extend the life of the lamps.

[0184] In one embodiment, after step S2-38, the method further includes:

[0185] Controlling the sensor to collect ambient light information every second preset time period to obtain the ambient light brightness of the second period, and counting the user entry frequency within the preset time period according to the infrared sensing information;

[0186] If the second period ambient light brightness and the user entry frequency meet the second preset priority adjustment condition, the priority of the ambient light information is increased according to the preset priority increment, wherein the second preset priority adjustment condition includes: the second period ambient light brightness is higher than the set brightness threshold and the user entry frequency is lower than the preset frequency threshold;

[0187] When the priority of the ambient light information is higher than the priority of the infrared sensing information, the control switches to a lighting mode of controlling the LED strip ceiling light based on the ambient light information.

[0188] When the "infrared priority" mode is running, the system controls the lighting mainly based on human motion detection, that is, a quick response of "light when there are people, dark when there are no people". However, in the following situations, the infrared priority mode may no longer be the best choice, and you need to start considering the role of ambient light. For example, after sunrise in the early morning, there is sufficient light outside, and the indoor brightness gradually increases and stabilizes at a high level. At this time, as long as the ambient light can meet most lighting needs, there is no need to rely on infrared triggering lighting frequently. It is detected that the ambient light brightness exceeds a certain high threshold (such as 500 lux) for a period of time (such as 10 minutes), and the number of human body sensing triggers has dropped significantly. Avoid "lights turning on when people come" when there is sufficient light, causing unnecessary energy waste.

[0189] The second preset priority adjustment condition can be adjusted adaptively, such as in a daytime office space, after the peak period, the frequency of personnel entering and exiting is significantly reduced, and the ambient light is bright enough. The system detects that the frequency of user entry in the last 30 minutes is lower than a certain threshold (such as 30% of the average value), and the ambient light brightness is higher than the "visible work lighting" standard, reducing the need for the infrared sensor to work frequently, and making ambient light the main lighting basis.

[0190] In summary, the solution of this embodiment will automatically turn on the light as long as the infrared sensor detects human movement, regardless of whether the ambient light is bright or dark. The brightness of the ambient light will not affect the switching of the light. The response is quick, simple and direct, and there is no need to consider the influence of ambient light. It is suitable for occasions where the lights need to be turned on as long as someone passes by. Its applicable scenarios include but are not limited to: Underground parking lots: Usually the light is poor, and whether it is day or night, it is necessary to rely on sensors to control the lighting. Indoor corridors and warehouses: The light conditions are unstable, and it is necessary to ensure that the light can be sensed and turned on every time someone passes by, regardless of changes in the external ambient light. Wardrobes or storage rooms at home: Regardless of the ambient light, the lights will automatically turn on when the cabinet is opened.

[0191] Example 4

[0192] This embodiment is further improved on the basis of Embodiment 2. When the priority of the infrared sensing information is lower than the priority of the ambient light information, the sensing information includes ambient light information and infrared sensing information. According to the priority, the sensing information and the preset gear position of the DIP switch, the LED strip ceiling lamp is controlled to illuminate, including:

[0193] S3-31 obtains an ambient brightness value according to the ambient light information;

[0194] Specifically, the premise of this embodiment is that the priority of infrared sensing information is lower than that of ambient light information. At this time, the system will mainly rely on ambient light information for control, while infrared sensing information is used to assist in determining the user's motion status. This design is suitable for environments with large light changes to ensure the intelligent adjustment of LED light strips. First, the system monitors the surrounding light in real time through the ambient light sensor, reads and records the current ambient brightness value. The ambient light information is the ambient light intensity data collected by the ambient light sensor. The ambient brightness value is a specific light intensity value, usually in lumens or lux, so that the system can make intelligent adjustments according to external lighting conditions to ensure that the LED light strip is turned on or off at the appropriate time.

[0195] S3-32, when the ambient brightness value exceeds the preset off brightness value, controlling the LED strip ceiling light to remain off;

[0196] Specifically, the preset off brightness value is a threshold value set by the system. When the ambient brightness exceeds this value, the LED light bar will automatically turn off. In the case of sufficient light, the LED light bar is prevented from turning on unnecessarily, thereby saving energy. By comparing the current ambient brightness value with the preset off brightness value, if the ambient brightness value is higher than the threshold, a shutdown command is issued to the LED light bar.

[0197] S3-33. When the ambient brightness value is lower than the preset turn-on brightness value, obtaining the motion state of the user within the irradiation range of the LED strip ceiling lamp according to the infrared sensing information, wherein the motion state includes a first state in which the user is within the irradiation range and a second state in which the user is not within the irradiation range, and the preset turn-on brightness value is less than the preset turn-off brightness value;

[0198] Specifically, the preset turn-on brightness value is also a threshold set by the system. When the ambient brightness is lower than this value, the LED light bar will automatically turn on. The motion state is the state of the user within the illumination range, including the first state of the user and the second state of the user not existing. The current ambient brightness value is detected. If it is lower than the preset turn-on brightness value, the system continues to monitor the user's motion state through the infrared sensor. Ensure that users can get timely lighting in dark environments and improve the user experience.

[0199] S3-34, if the motion state is the second state, obtaining the waiting lighting power value and the waiting color temperature value according to the preset gear position of the dip switch;

[0200] Specifically, the waiting lighting power value is the low power value maintained when the user is not there, and the waiting color temperature value is the color temperature maintained when the user is not there. Low brightness lighting is maintained after the user leaves to save energy and maintain a moderate brightness of the environment. If the infrared sensor confirms that the user is not within the irradiation range (second state), the system searches for the corresponding waiting lighting power value and color temperature value according to the setting of the dip switch.

[0201] S3-35, controlling the LED strip ceiling lamp to illuminate according to the waiting lighting power value and the waiting color temperature value;

[0202] Specifically, when the user is not there, a certain ambient brightness is maintained to enhance the sense of security in the space. Based on the obtained waiting power value and color temperature value, a control signal is sent to the LED light strip to maintain its operation in a low-power state, providing continuous soft lighting, avoiding complete darkness, and saving energy.

[0203] S3-36, when the motion state is switched from the second state to the first state, generating a second lighting control signal according to the color temperature value and the power value corresponding to the preset gear position of the dip switch and the ambient brightness value;

[0204] Specifically, when the motion state is detected to switch from the second state to the first state, the system reads the setting of the dip switch and the current ambient brightness, and generates a suitable lighting control signal to ensure that the light can be quickly adjusted to the appropriate brightness when the user appears, thereby improving the light response speed and ensuring that the user can immediately obtain appropriate lighting when entering the lighting range.

[0205] S3-37, controlling the LED strip ceiling lamp to illuminate according to the second lighting control signal;

[0206] Specifically, the control unit receives the second lighting control signal and drives the LED light bar to adjust to corresponding brightness and color temperature.

[0207] S3-38, when the motion state is switched from the first state to the second state, within a preset delay time, according to the second lighting control signal, the lighting state of the LED light bar is maintained;

[0208] Specifically, the preset delay time is a set period of time used to determine whether the user will return soon. After detecting that the user has left, the system enters the delay mode, during which the lighting state of the LED light bar is maintained to avoid frequent switching of lights due to the user's instantaneous departure, thereby improving the user experience, increasing the user's convenience under the light, and avoiding unnecessary frequent turning on and off of the light source.

[0209] S3-39, if after the preset delay time ends, the motion state maintains the second state within the preset waiting time, then according to the waiting lighting power value and the waiting color temperature value, control the LED strip ceiling lamp to illuminate;

[0210] Specifically, after the delay ends, check whether the motion state is still in the second state during the preset waiting time. If so, adjust the brightness of the LED light bar according to the waiting power value and the color temperature value, so that when there is no user activity, further reduce the light brightness to save energy while maintaining a moderate ambient brightness.

[0211] S3-310, if after the preset delay time ends, the motion state switches from the second state to the first state within the preset waiting time, returning to the step of controlling the LED strip ceiling lamp to illuminate according to the second lighting control signal;

[0212] Specifically, if the user's return is detected during the waiting time, the system will execute the second lighting control signal generated previously and adjust the lighting of the LED light bar to ensure that the light can quickly return to a suitable lighting state when the user returns.

[0213] S3-311. When the preset waiting time is over, return to the step of controlling the LED strip ceiling light to illuminate according to the waiting lighting power value and the waiting color temperature value.

[0214] Specifically, when the user is absent for a long time, that is, after the preset waiting time, the second state is maintained, and the light is adjusted to a low brightness to save energy, achieve continuous energy saving, improve overall energy efficiency, and reduce power waste.

[0215] S3-312, controlling the sensor to continuously collect ambient light information at every preset time period to obtain periodic ambient light brightness, and counting the user entry frequency within the preset time period according to the infrared sensing information;

[0216] The purpose of this step is to periodically collect ambient light information and user activity data through sensors to provide basic data support for subsequent priority adjustments. The specific implementation process includes: within each preset time period (for example, 5 minutes or 10 minutes), the ambient light sensor continuously collects light brightness data, and averages all sampled values ​​within the period to obtain the periodic ambient light brightness; at the same time, the infrared sensor records the number of times the user enters the LED illumination range within the period to calculate the frequency of user entry. In this way, the brightness level of the current environment and the frequency of user activities can be dynamically reflected, providing a real-time basis for judging whether the system needs to adjust the priority. This periodic data collection can not only adapt to environmental changes, but also accurately capture user behavior patterns, and improve the sensitivity and adaptability of system control.

[0217] S3-313, according to the periodic ambient light brightness and the user entry frequency satisfying the first preset priority adjustment condition, increasing the priority of the infrared sensing information according to the preset priority increment, wherein the first preset priority adjustment condition includes: the first ambient light brightness is lower than the set brightness threshold and the user entry frequency is higher than the preset frequency threshold;

[0218] This step determines whether the priority of infrared sensing information needs to be adjusted by comparing the relationship between the periodic ambient light brightness and the user entry frequency with the preset threshold. The first preset priority adjustment condition requires that: the ambient light brightness in the current cycle is lower than the set brightness threshold (such as 200 lux), indicating that the environment is dark, and the user entry frequency is higher than the preset frequency threshold (such as 3 times per minute), reflecting that the user activity is more frequent. In this case, the system determines that the user has a higher demand for fast-response lighting, so the priority of infrared sensing information is increased by a preset priority increment (such as increasing the priority by 10%). This adjustment logic can dynamically respond to the user's real-time needs, improve the system's sensitivity to user activities, and ensure the lighting effect when the ambient light is insufficient, thereby improving the user experience.

[0219] The first preset priority adjustment condition may also include:

[0220] As night falls or it is cloudy, the outdoor natural light gradually weakens. The ambient light sensor continuously monitors the ambient light value and checks whether it is lower than the "minimum lighting requirement" threshold for a period of time that exceeds the set duration. This ensures that when the ambient light cannot meet normal visual needs, it quickly switches to infrared priority, responds to human activities in a timely manner, and provides sufficient lighting.

[0221] In corridors or public areas, when a large number of people suddenly appear, users need the lights to respond promptly and quickly. When the number of infrared triggers detected within a unit time (such as 5 minutes) soars to a certain level (such as more than double the previous level), it indicates that users are active frequently. Reduce the reliance on ambient light sensors and provide sufficient lighting for people entering in a timely manner.

[0222] In parking lots late at night or areas with high security requirements, even if there is weak light, priority should be given to ensuring "lighting up when people come". When the time period enters the preset "night mode" or the system detects that the venue has a higher demand for safety illumination, it automatically switches the priority to infrared priority. Avoid turning down the lights too dark because the ambient light sensor collects weak light, causing danger or inconvenience when users move around.

[0223] S3-314, when the priority of the infrared sensing information is higher than the priority of the ambient light information, jump to the step of obtaining the movement state of the user within the illumination range of the LED strip ceiling light according to the infrared sensing information;

[0224] Specifically, when the system detects that the priority of infrared sensing information exceeds the priority of ambient light information through the above adjustment, the system control logic is switched to "infrared priority mode". In this mode, the system will mainly control the lighting of LED lamps based on the user's motion state. Specific operations include: judging in real time whether the user is within the illumination range of the lamp (first state or second state) based on the feedback from the infrared sensor, and dynamically adjusting the brightness or switch of the lamp according to the motion state. This jump logic ensures that the priority adjustment takes effect immediately, enabling the system to quickly respond to changes in user behavior, thereby providing users with more efficient lighting services, especially in low-brightness, high-traffic scenes, which can significantly improve the user's sense of security and comfort.

[0225] This embodiment realizes an intelligent lighting control method by comprehensively utilizing ambient light and infrared sensing information. It can dynamically adjust the lighting state of the LED light bar according to environmental changes and user activities, improve the user experience, and have a good energy-saving effect. Specifically, this embodiment gives priority to the brightness of ambient light, and only responds to the action of the infrared sensor when the ambient light is lower than a preset "on value". When the sensor detects motion, the lights are all on; when no motion is detected, it enters the delay mode, and then becomes a weak low brightness until motion is detected again. If the ambient light becomes brighter, the light bar automatically turns off, which has a good energy-saving effect. The light brightness is adjusted in combination with the ambient light and the movement state of the person to reduce unnecessary lighting time; the applicable scenarios include: public corridors, stairwells, when the light is sufficient during the day, the light can be turned off directly, and at night or when the light is insufficient, when someone passes by, the light gradually lights up and maintains a suitable brightness. Auxiliary lighting for home bedrooms or living rooms: when there is enough natural light during the day, the light is not on, but when someone walks at night, the light gradually lights up to provide appropriate lighting. Aisles in shopping malls and supermarkets: Intelligently adjust light brightness according to different light conditions to ensure energy saving during the day, and increase brightness at night to attract attention when people pass by.

[0226] Example 5

[0227] This embodiment is further improved on the basis of Embodiment 2. When the priority of the infrared sensing information is equal to the priority of the ambient light information, the sensing information includes ambient light information and infrared sensing information. According to the priority, the sensing information and the preset gear position of the dip switch, the LED strip ceiling lamp is controlled to illuminate, including:

[0228] S4-31, obtaining an ambient brightness value according to the ambient light information;

[0229] Specifically, this embodiment is a further improvement on the basis of Embodiment 1, and the prerequisite is that the priority of infrared sensing information is equal to the priority of ambient light information. In this case, the system needs to comprehensively consider the two types of sensing information to intelligently control the state of the LED light strip under different conditions. Since the two types of information are of equal importance, the system must rely on both ambient light information and infrared sensing information for judgment to ensure that appropriate lighting effects can be provided in the case of user activities and changes in ambient brightness, thereby improving the user's overall experience; first, the surrounding environment is monitored in real time through the ambient light sensor, the ambient light intensity data is read, and it is converted into an ambient brightness value. The beneficial effect of this is that the lighting conditions of the current environment can be understood in real time, thereby providing data support for the decision to turn the LED light strip on or off.

[0230] S4-32, when the ambient brightness value exceeds the preset off brightness value, controlling the LED strip ceiling light to remain off;

[0231] Specifically, when the ambient brightness value exceeds the preset off brightness value, the LED light bar is controlled to remain off. The preset off brightness value is a threshold used to determine whether the ambient light is sufficient. When the ambient brightness is higher than this value, it means that the light is sufficient and there is no need to turn on the LED light bar. The purpose of this step is to save energy when there is sufficient light and to avoid turning on the LED light bar unnecessarily. The implementation process is to compare the current ambient brightness value with the preset off brightness value. If the ambient brightness value is higher than the preset value, the system will send a shutdown command to the LED light bar, effectively avoiding power waste while increasing the service life of the lamp.

[0232] S4-33, when the ambient brightness is lower than the preset off brightness value, obtaining the motion state of the user within the irradiation range of the LED strip ceiling lamp according to the infrared sensing information, wherein the motion state includes a first state in which the user is within the irradiation range and a second state in which the user is not within the irradiation range;

[0233] Specifically, when the ambient brightness is lower than the preset off brightness value, the user's motion state within the illumination range of the LED strip ceiling light is obtained based on the infrared sensing information. Infrared sensing information is user activity data detected by an infrared sensor, and the motion state includes a first state when the user is present and a second state when the user is not present. The purpose of this step is to ensure that when the light is insufficient, the system can determine whether the lighting needs to be turned on based on the user's motion state. The implementation process is that when the ambient brightness is lower than the off brightness value, the system further enables the infrared sensor to detect whether the user is within the coverage range of the light, and makes corresponding lighting decisions based on changes in user activities. Even in insufficient light, the LED light bar can be accurately controlled to turn on or off based on the presence or absence of the user, thereby avoiding false triggering or failure to turn on in time.

[0234] S4-34, if the motion state is the second state, obtaining the waiting lighting power value and the waiting color temperature value according to the preset gear position of the dip switch;

[0235] Specifically, the waiting lighting power value refers to the low power state maintained by the LED light bar when the user is not there, and the waiting color temperature value is the color temperature setting when maintaining low brightness. The purpose of this step is to maintain a lower brightness when the user is away to save energy, while keeping the environment at a certain brightness level. The implementation process is that when the infrared sensor confirms that the user is not there, the system searches for the corresponding waiting power value and color temperature value according to the current setting value of the dip switch, and uses these values ​​as subsequent control parameters, which can provide a soft light when the user leaves, avoiding sudden entry into a dark environment, and also plays a role in energy saving.

[0236] S4-35, controlling the LED strip ceiling lamp to illuminate according to the waiting lighting power value and the waiting color temperature value;

[0237] Specifically, the purpose of this step is to keep the lighting at a low brightness when the user is not there. The implementation process is that when the waiting lighting power value and the waiting color temperature value are determined, the system generates a corresponding control signal and sends it to the LED light bar to maintain it in a preset low-power, low-brightness lighting state. The beneficial effect of this is that it can maintain an appropriate light brightness after the user leaves, avoiding complete darkness and saving energy.

[0238] S4-36, when the motion state is switched from the second state to the first state, generating a second lighting control signal according to the color temperature value and the power value corresponding to the preset gear position of the dip switch and the ambient brightness value;

[0239] Specifically, the purpose of this step is to quickly adjust the LED light bar to a suitable lighting state when the user re-enters the illumination range. When the infrared sensor detects that the user switches from the second state to the first state, the system generates a new control signal based on the current ambient brightness and the position of the DIP switch to adjust the power and color temperature of the light bar, which can quickly provide the user with suitable lighting and improve the user's comfort and convenience.

[0240] S4-37, controlling the LED strip ceiling lamp to illuminate according to the second lighting control signal;

[0241] Specifically, after receiving the second lighting control signal, the system adjusts the brightness and color temperature of the LED light strip through PWM (pulse width modulation) or voltage control to ensure that it meets the user's needs and can provide the required lighting state immediately after the user enters the illumination range.

[0242] S4-38, when the motion state is switched from the first state to the second state, within a preset delay time, according to the second lighting control signal, the lighting state of the LED light bar is maintained;

[0243] Specifically, the preset delay time is a buffer period, which is used to avoid frequent switching of lights due to the user's short absence. It keeps the lights on when the user is away for a short time and avoids frequent shutoff. When the user is detected to be away, the system enters the delay mode, during which the current lighting state is kept unchanged, thereby improving the user experience and avoiding the inconvenience caused by frequent switching of lights and shortening of equipment life.

[0244] S4-39, if after the preset delay time ends, the motion state maintains the second state within the preset waiting time, then according to the waiting lighting power value and the waiting color temperature value, control the LED strip ceiling lamp to illuminate;

[0245] Specifically, when the user is not detected for a long time, the light is adjusted to a low power state to save energy. When the delay ends and the user does not return within the preset waiting time, the system adjusts the LED light bar to a lower brightness state based on the waiting lighting power value and color temperature value. This can further save energy and maintain soft lighting when the user is away for a long time.

[0246] S4-310, if after the preset delay time ends, the motion state switches from the second state to the first state within the preset waiting time, returning to the step of controlling the LED strip ceiling lamp to illuminate according to the second lighting control signal;

[0247] Specifically, the lighting can be quickly restored when the user re-enters. If the user's return is detected during the waiting time, the system will re-execute the previous second lighting control signal to restore the light to normal brightness. The lighting can be quickly restored when the user returns, providing a continuous lighting experience.

[0248] S4-311. After the preset waiting time is over, control the LED strip ceiling light to turn off.

[0249] Specifically, when the waiting time is over, the system will send a shutdown command to the LED light strip, completely turning off the lighting, effectively avoiding unnecessary lighting for a long time, thereby saving energy.

[0250] In this embodiment, when the ambient light is bright enough, the light will not turn on even if someone is detected passing by. When the ambient light is not bright enough, the light will turn on when human movement is detected, and will remain at a low brightness after a delay. After the waiting time is over, if no one passes by, the light will automatically turn off and will no longer maintain brightness. The lighting conditions are strictly controlled, and the light will not turn on at all when the ambient light is bright enough to avoid any unnecessary lighting operations. The energy-saving priority of ambient light is emphasized. It is suitable for scenarios when there is sufficient ambient light during the day. Even if someone is walking, the light will not turn on to save energy. The induction lighting scenario will be activated only when the ambient light is insufficient at night, such as offices, school classrooms and other areas with good lighting conditions.

[0251] Example 6

[0252] This embodiment is further improved on the basis of embodiment 4 or 5. Figure 7 , when the motion state is switched from the second state to the first state, generating a second lighting control signal according to the color temperature value and the power value corresponding to the preset gear position of the dip switch and the ambient brightness value, including:

[0253] S361, obtaining a power adjustment coefficient according to a difference between the ambient brightness value and the preset off brightness value;

[0254] Specifically, the power adjustment coefficient is an adjustment factor generated based on the difference between the ambient brightness value and the preset off brightness value, and is used to dynamically adjust the actual output power of the LED light strip. The purpose of this step is to calculate an adjustment coefficient that can affect the power output of the LED light strip through the brightness difference of the ambient light, so as to automatically adjust the brightness output of the light strip when the light is brighter or darker, and avoid over-lighting or under-lighting.

[0255] The system first detects the brightness value read by the current ambient light sensor, compares it with the preset off brightness value, and calculates the difference between the two. Then, the difference is input into the preset power adjustment coefficient calculation formula to obtain a power adjustment coefficient. For example, assuming that the current ambient brightness value is 300 lux and the preset off brightness value is 100 lux, the difference is 200 lux. Through the power adjustment coefficient formula (such as: adjustment coefficient = difference / maximum brightness value), a power adjustment coefficient is obtained. The beneficial effect of this is that the power output of the LED light strip can be dynamically adjusted according to the actual changes in the external light, ensuring that the light output can achieve the user's expected effect in different brightness environments, and achieving more accurate brightness control and energy saving effects.

[0256] S362, obtaining a basic color temperature value and a basic power value according to the color temperature value and the power value corresponding to the preset gear position of the dip switch;

[0257] Specifically, the system first reads the current gear state of the DIP switch and searches for the corresponding color temperature and power values ​​in the built-in gear mapping table. For example, if the DIP switch is set to the third gear, the mapping table shows that the color temperature value corresponding to this gear is 4000K and the power value is 75%. Therefore, the basic color temperature value is 4000K and the basic power value is 75%. The beneficial effect of this is that the system can quickly identify the color temperature and brightness configuration expected by the user, laying the foundation for achieving the lighting effect preferred by the user, and can be combined with the influencing factors of ambient light to generate a more intelligent lighting control strategy.

[0258] S363, adjusting the basic power value according to the power adjustment coefficient to obtain a target power value;

[0259] Specifically, according to the real-time changes in the ambient brightness, the basic power value set by the dial switch is corrected, so as to reduce the power output when the light is brighter and increase the power output when the light is darker, so as to achieve the effect of intelligently adjusting the brightness. Multiply the power adjustment coefficient obtained in S361 by the basic power value obtained in S362. For example, assuming that the basic power value is 75% and the power adjustment coefficient is 0.8, the target power value is 75% × 0.8 = 60%. If the power adjustment coefficient is greater than 1, it means that the ambient light is darker, and the system will increase the target power value; if it is less than 1, it means that the ambient light is brighter, and the system will reduce the target power value. The beneficial effect of this is that more accurate power control can be achieved under different ambient light conditions, avoiding excessive lighting when the external light is sufficient, thereby saving energy, or providing sufficient brightness when the light is insufficient, thereby improving the comfort of users.

[0260] S364: Generate the second lighting control signal according to the target power value and the basic color temperature value.

[0261] The target power value and the basic color temperature value are packaged into a second lighting control signal, which can be sent to the LED driver module in the form of a PWM (pulse width modulation) signal or a digital control signal. For example, if the target power value is 60% and the basic color temperature value is 4000K, the system generates a corresponding control signal and sends it to the LED driver module to adjust the output power of the light to 60% and set the color temperature to 4000K.

[0262] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0263] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0264] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0265] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. An intelligent lighting control method for an LED strip ceiling lamp, used for an LED strip ceiling lamp, characterized in that: The LED strip ceiling lamp comprises: a lamp body bottom shell, a power module, a light source module, a control circuit, a dip switch and a sensor, wherein the power module is electrically connected to the light source module for supplying energy to the light source module; The light source module comprises a lens base plate, a lamp board provided with LED lamp beads, a lens and a lens buckle, wherein the lens buckle is provided on the lens base plate, and the light source module is connected to the lamp body bottom shell through the lens buckle; The power module is arranged on the bottom shell of the lamp body, the power module is electrically connected to the control circuit, the control circuit is electrically connected to the dip switch, the dip switch includes a preset number of dip positions, and different dip positions correspond to different brightness values ​​and color temperature values; The control circuit is used to control the brightness and / or color temperature of the LED lamp beads according to a preset control mode; The sensor includes an infrared sensor and an ambient light sensor; Among them, the intelligent lighting control method of the LED strip ceiling lamp includes: The priority of obtaining infrared sensing information and ambient light information includes: Acquire a scene type according to scene information of a scene in which the LED strip ceiling light is located; Determining the basic priority of the infrared sensing information and the ambient light information according to the scene type; Acquire user motion data according to historical infrared sensing information, wherein the user motion data includes the number of times the user enters the illumination range of the LED strip ceiling light and the corresponding timestamp; Acquire ambient brightness data according to historical ambient light information, wherein the ambient brightness data includes a number of brightness values ​​and corresponding sampling times; Performing statistical analysis on the user motion data and the ambient brightness data to obtain frequency analysis results and brightness analysis results; Determine the infrared priority adjustment factor and the brightness priority adjustment factor for different time periods according to the frequency analysis result and the brightness analysis result; The basic priority is adjusted according to the infrared priority adjustment factor and the brightness priority adjustment factor to obtain the priority of the infrared sensing information and the ambient light information in different time periods; According to the priority, controlling the sensor to acquire sensing information, wherein the sensing information includes the ambient light information and / or the infrared sensing information; The LED strip ceiling light is controlled to illuminate according to the priority, the sensor information and the preset gear position of the dip switch.

2. The intelligent lighting control method of the LED strip ceiling lamp according to claim 1, characterized in that: A safety rope is also provided between the lamp body bottom shell and the light source module. The safety rope has a contracted state and an extended state. When the light source module is connected to the lamp body bottom shell through the lens buckle, the safety rope is in the contracted state.

3. The intelligent lighting control method of the LED strip ceiling lamp according to claim 1, characterized in that: The LED strip ceiling lamp also includes an emergency power supply, which is arranged on the bottom shell of the lamp body. The emergency power supply is electrically connected to the control circuit, and the control circuit is also used to automatically switch to the emergency power supply when the power module is in a power-off state.

4. The intelligent lighting control method of the LED strip ceiling lamp according to claim 1, characterized in that: The LED strip ceiling lamp also includes a hanging assembly and / or a ceiling mounting assembly, wherein the hanging assembly includes a Y-shaped lifting wire rope, and the Y-shaped lifting wire rope is connected to the mounting hole on the bottom shell of the lamp body; the ceiling mounting assembly includes a ceiling mounting plate, and the ceiling mounting plate is connected to the bottom shell of the lamp body by bolts.

5. The intelligent lighting control method of the LED strip ceiling lamp according to any one of claims 1 to 4, characterized in that: The infrared sensor is used to obtain infrared sensing information and determine whether there is a user within the illumination range of the LED strip ceiling light. The ambient light sensor is used to obtain ambient light information. The control circuit is also used to control the brightness and / or color temperature of the LED lamp beads according to the preset control mode, combined with the preset gear position of the dip switch, and the ambient light information and / or the infrared sensing information.

6. The intelligent lighting control method of the LED strip ceiling lamp according to claim 1, characterized in that: When the priority of the infrared sensing information is higher than the priority of the ambient light information, the sensing information includes infrared sensing information, and controlling the LED strip ceiling lamp to illuminate according to the priority, the sensing information and the preset gear position of the dip switch includes: According to the infrared sensing information, the motion state of the user within the irradiation range of the LED strip ceiling lamp is obtained, wherein the motion state includes a first state in which the user is within the irradiation range and a second state in which the user is not within the irradiation range; When the motion state is the second state, controlling the LED strip ceiling light to remain turned off; When the motion state is switched from the second state to the first state, a first lighting control signal is generated according to the color temperature value and the power value corresponding to the preset gear position of the dip switch; According to the first lighting control signal, controlling the LED strip ceiling lamp to illuminate; When the motion state switches from the first state to the second state, within a preset delay time, the lighting state of the LED strip ceiling lamp is maintained according to the first lighting control signal; If, after the preset delay time ends, the motion state remains in the second state within the preset waiting time, the first lighting control signal is adjusted according to the waiting lighting power value and the LED strip ceiling lamp is controlled to illuminate, wherein the waiting lighting power value is lower than the power value corresponding to the preset gear position of the DIP switch; If, after the preset delay time ends, the motion state switches from the second state to the first state within the preset waiting time, returning to the step of controlling the LED strip ceiling lamp to illuminate according to the first lighting control signal; When the preset waiting time is over, the LED strip ceiling light is controlled to be turned off.

7. The intelligent lighting control method of the LED strip ceiling lamp according to claim 6, characterized in that: When the priority of the infrared sensing information is lower than the priority of the ambient light information, the sensing information includes ambient light information and infrared sensing information, and the LED strip ceiling lamp is controlled to illuminate according to the priority, the sensing information and the preset gear position of the dip switch, including: Acquire an ambient brightness value according to the ambient light information; When the ambient brightness value exceeds the preset off brightness value, controlling the LED strip ceiling light to remain off; When the ambient brightness value is lower than the preset turn-on brightness value, the motion state of the user within the irradiation range of the LED strip ceiling lamp is obtained according to the infrared sensing information, wherein the motion state includes a first state in which the user is within the irradiation range and a second state in which the user is not within the irradiation range, and the preset turn-on brightness value is less than the preset turn-off brightness value; If the motion state is the second state, obtaining the waiting lighting power value and the waiting color temperature value according to the preset gear position of the dip switch; According to the waiting lighting power value and the waiting color temperature value, controlling the LED strip ceiling lamp to illuminate; When the motion state is switched from the second state to the first state, a second lighting control signal is generated according to the color temperature value and the power value corresponding to the preset gear position of the dip switch and the ambient brightness value; According to the second lighting control signal, controlling the LED strip ceiling lamp to illuminate; When the motion state switches from the first state to the second state, within a preset delay time, the lighting state of the LED strip ceiling lamp is maintained according to the second lighting control signal; If, after the preset delay time ends, the motion state remains in the second state within the preset waiting time, the LED strip ceiling lamp is controlled to illuminate according to the waiting lighting power value and the waiting color temperature value; If, after the preset delay time ends, the motion state switches from the second state to the first state within the preset waiting time, returning to the step of controlling the LED strip ceiling lamp to illuminate according to the second lighting control signal; When the preset waiting time is over, returning to the step of controlling the LED strip ceiling lamp to illuminate according to the waiting lighting power value and the waiting color temperature value; Controlling the sensor to continuously collect ambient light information at every preset time period to obtain periodic ambient light brightness, and counting the user entry frequency within the preset time period according to the infrared sensing information; According to the periodic ambient light brightness and the user entry frequency satisfying the first preset priority adjustment condition, the priority of the infrared sensing information is increased according to the preset priority increment, wherein the first preset priority adjustment condition includes: the first ambient light brightness is lower than the set brightness threshold and the user entry frequency is higher than the preset frequency threshold; When the priority of the infrared sensing information is higher than the priority of the ambient light information, the process proceeds to the step of obtaining the motion state of the user within the illumination range of the LED strip ceiling light according to the infrared sensing information.

8. The intelligent lighting control method of the LED strip ceiling lamp according to claim 1, characterized in that: The performing statistical analysis on the user motion data and the ambient brightness data to obtain frequency analysis results and brightness analysis results includes: Calculate the user entry frequency in each time window according to the preset time window and the user movement data; According to the user entry frequency, a frequency characteristic matrix is ​​obtained, wherein the frequency characteristic matrix includes the user entry frequency and frequency increment in each time window; Extracting the mean value of the ambient brightness in each time window according to the ambient brightness data; According to the ambient brightness mean, a brightness feature matrix is ​​obtained, wherein the brightness feature matrix includes the ambient brightness mean and brightness increment in each time window; Performing statistical analysis on the frequency feature matrix and the brightness feature matrix to obtain frequency statistical features and brightness statistical features respectively, wherein the frequency statistical features and brightness statistical features both include a data distribution range and a standard deviation; Determining the infrared priority adjustment factor and the brightness priority adjustment factor for different time periods according to the frequency analysis result and the brightness analysis result includes: Generate a frequency label for each time window according to the frequency statistical characteristics, wherein the frequency label includes a low frequency label, a medium frequency label and a high frequency label; Generate a brightness label for each time window according to the brightness statistical feature, wherein the brightness label includes a low brightness label, a medium brightness label and a high brightness label; Determining target weight values ​​of frequency labels and brightness labels according to the scene type; According to the target weight value, the similarity of the joint labels between adjacent time segments is obtained by weighted calculation; If the similarity is greater than a first preset merging threshold, the corresponding time segments are merged to obtain a number of initial time segments; According to a preset label adjustment rule and the joint labels of the time segments before merging, a joint label of each of the initial time segments is obtained; If an initial time period is shorter than a preset time length, the initial time period is marked as an abnormal time period; According to a preset exception handling strategy, the abnormal time period is processed to obtain a target time period and a corresponding joint label, wherein the exception handling strategy includes: Determine whether the joint labels of the two initial time periods before and after the abnormal time period are consistent. If they are consistent, merge the abnormal time period and the two initial time periods before and after. If they are inconsistent, determine the target initial time period according to the similarity between the joint label of the abnormal time period and the joint labels of the two initial time periods before and after, and merge the abnormal time period with the target initial time period. According to the joint tags of the target time periods, an infrared priority adjustment factor and a brightness priority adjustment factor of each target time period are determined.

Citation Information

Patent Citations

  • Fireproof down lamp capable of adjusting color temperature through induction

    CN117759910A

  • Lamp convenient to disassemble and assemble

    CN214249353U

  • Illuminating lamp free of screw installation

    CN216202938U

  • Lamp with intelligent dimming function

    CN217057465U

  • Novel high bay lamp

    CN222142773U