Adaptive LED lamp energy-saving control method and system

By constructing a dual-stable segment recognition mechanism based on illumination and behavior, the problem of insufficient illumination and user behavior recognition in existing LED lamp energy-saving control is solved, realizing adaptive energy-saving control of LED lamps and improving the energy saving and stability of the lighting system.

CN121645603BActive Publication Date: 2026-04-17SHENZHEN DESTAR OPTO ELECTRONICS TECH
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN DESTAR OPTO ELECTRONICS TECH
Filing Date
2026-02-04
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

Existing LED lamp energy-saving control methods lack in-depth analysis of light change trends, cannot accurately identify long-term light stability, and fail to identify user behavior patterns, resulting in low lighting efficiency, large energy consumption fluctuations, and equipment response lag.

Method used

By acquiring regional light intensity values ​​and daily LED lighting control logs, the system calculates illumination differences and behavioral stability, constructs a dual-stable segment identification mechanism for illumination and behavior, generates a brightness output parameter maintenance list, and periodically transmits control signals to achieve continuous management of LED status.

Benefits of technology

Effectively select the time range for maintaining brightness and power, ensure that the control state is adaptable and responsive, avoid ineffective energy consumption maintenance and response lag, and improve the energy saving and stability of the lighting system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121645603B_ABST
    Figure CN121645603B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of energy-saving control, in particular to a self-adaptive LED lamp energy-saving control method and system, comprising the following steps: acquiring illumination and behavior data, identifying stable period, extracting brightness parameter, generating control signal, monitoring changes and triggering adaptive adjustment. In the present application, by collecting illumination intensity changes and combining behavior logs for joint analysis, a dual stable section identification mechanism of illumination and behavior is constructed, effectively screening out the time section that can execute brightness power retention, and after identifying the retention state, the signal control structure is constructed by outputting parameters and periodically transmitted, realizing the continuous management of LED state, continuously monitoring the environmental and behavior changes during the maintenance of the control state and judging its effectiveness, ensuring that the control state always has adaptability and responsiveness, avoiding energy consumption invalid maintenance and response lag phenomenon, and improving the comprehensive control efficiency of the lighting system in energy saving, stability and environmental adaptation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of energy-saving control technology, and in particular to an adaptive LED lamp energy-saving control method and system. Background Technology

[0002] Energy-saving control technology involves the effective management and control of energy consumption, including monitoring, analyzing, and adjusting the operating status of energy-consuming systems such as lighting equipment, air conditioning systems, and power installations to reduce energy consumption, optimize efficiency, and extend equipment life. It typically employs a combination of sensor detection, control logic setting, power regulation, circuit design, and intelligent response mechanisms to achieve automated and intelligent control of energy consumption management. Traditional LED lighting energy-saving control methods refer to adjusting the operating status of LED lights to achieve energy savings. This usually involves using preset timer programs for on / off control, or using photoresistors to sense ambient brightness and adjust LED brightness. Other methods include setting fixed brightness levels or using simple infrared sensors to turn on when someone is present and off when no one is around. These methods provide basic energy-saving management and control over the start / stop and luminous intensity of LED lights.

[0003] In current LED lighting energy-saving control processes, energy saving is typically achieved by setting timer programs or directly adjusting LED brightness after collecting ambient light data using photoresistors. This approach lacks in-depth analysis of light change trends and cannot accurately identify long-term light stability. Furthermore, in terms of user behavior response, it relies on simple sensor start-stop mechanisms, failing to identify repetitive behavioral patterns. This results in only passive response characteristics for controlling the lighting status, lacking the ability to coordinate judgments based on both environmental and behavioral factors. At the same time, no mechanism has been established to verify the continuous effectiveness of the lighting status, which can easily lead to ineffective control even when the environment changes or behavior is abnormal. Consequently, problems such as low lighting efficiency, large energy consumption fluctuations, and equipment response lag occur. Summary of the Invention

[0004] The purpose of this invention is to overcome the shortcomings of existing technologies and propose an adaptive LED lamp energy-saving control method.

[0005] To achieve the above objectives, the present invention adopts the following technical solution: an adaptive LED lamp energy-saving control method, comprising the following steps:

[0006] S1: Obtain the regional light intensity value, calculate the absolute value of the light difference between adjacent time periods per hour, record and mark the stable time periods, and generate a sequence of stable light segment numbers.

[0007] S2: Obtain the daily lighting control log of LED lights, compare the time difference between switching on and off behavior with the number of brightness adjustments within the same time period, and mark the corresponding time period as a periodic stable segment when the time difference between switching on and off behavior is lower than the set behavior difference threshold and the number of adjustments is zero, and generate a behavior stable period identification sequence.

[0008] S3: Perform segment cross-calculation on the light-stable segment number sequence and the behavior-stable time period identification sequence in the same lighting area time dimension, filter the target segment for maintaining the current lighting state, extract the LED output brightness value and lighting power level for the corresponding time period, and obtain the brightness output parameter maintenance list.

[0009] S4: Based on the brightness output value and lighting power level in the brightness output parameter hold list, construct a data structure including a signal to disable brightness refresh and a signal to keep the power constant, periodically transmit it to the terminal of each LED lighting control node, and generate a record of LED device control signal content;

[0010] S5: Based on the LED device control signal content recording, read the brightness adjustment times and light acquisition data recorded by each control node. When the adjustment times are non-zero, mark it as a state failure, release the current LED lamp control state and re-enter adaptive adjustment, and obtain the LED lamp adaptive energy-saving control result.

[0011] As a further aspect of the present invention, the stable period specifically refers to the time period when the absolute value of the illumination difference for three consecutive time periods is less than a preset illumination difference threshold.

[0012] The target segment for maintaining the current lighting state specifically refers to the time segment that exists simultaneously within the sequence of stable lighting segments and the sequence of stable behavior periods.

[0013] As a further aspect of the present invention, the illumination stability segment numbering sequence includes illumination change trend type and continuous stable time length; the behavior stability period identification sequence includes behavior time consistency index, brightness adjustment intervention frequency index, and periodic behavior matching degree; the brightness output parameter maintenance list includes brightness stability value, power constant level, and output fluctuation tolerance range; the LED device control signal content record includes state maintenance identifier, control execution instruction, and control target node number; and the LED lamp adaptive energy-saving control result includes state validity record and adaptive adjustment record.

[0014] As a further aspect of the present invention, the step of obtaining the number sequence of the illumination-stable section is specifically as follows:

[0015] S111: Obtain the light intensity value recorded by the regional illumination sensor. For the light intensity values ​​of adjacent time periods within an hour, subtract the light intensity value of the current time period from the light intensity value of the previous time period, extract the difference and perform absolute value conversion. Arrange the absolute values ​​of the differences corresponding to all time periods in chronological order to generate a sequence of absolute values ​​of illumination differences.

[0016] S112: Based on the absolute value sequence of illumination difference, the absolute value of the difference corresponding to each group of three consecutive time periods is judged. If all three are less than the preset illumination difference threshold, the starting number of the corresponding time period interval is extracted and marked as a stable segment. All interval marking numbers that meet the conditions are extracted in sequence to generate a stable illumination time period marking sequence.

[0017] S113: Based on the stable illumination period marker sequence, arrange each stable segment in sequence, combine them into a sequence format according to the order of the stable segments, and output the stable illumination segment number sequence.

[0018] As a further aspect of the present invention, the step of obtaining the behavior stable period identification sequence specifically comprises:

[0019] S211: Obtain the daily lighting control log of LED lights, extract the data of the time the lights are turned on, the time the lights are turned off, and the number of times the brightness is adjusted within each hour, pair the light-on and light-off records in time sequence, and sum the number of times all brightness adjustment behaviors are performed within each hour to generate an hourly lighting behavior dataset.

[0020] S212: Based on the hourly lighting behavior dataset, perform a pairwise difference operation on all the time when the lights are turned on and off within each hour to obtain the duration of all the time when the lights are turned on and off within the hour. Combine this with the brightness adjustment count value corresponding to each record to calculate and obtain the behavior stability metric value for each hour, and output the lighting behavior stability metric sequence by hour.

[0021] S213: According to the lighting behavior stability measurement sequence, if the behavior stability measurement value of the current hour is less than the set behavior difference threshold, and the number of brightness adjustments in the current hour is zero, then the current hour is marked as a periodic stable segment, all short periods that meet the conditions are extracted, and a behavior stable period identification sequence is generated.

[0022] As a further aspect of the present invention, the formula for calculating the behavioral stability metric is as follows:

[0023] ;

[0024] in, Indicates the first Hourly behavioral stability metric and They represent the first Lights on and off times. Indicates the first Number of brightness adjustments This represents the standard response time corresponding to a unit brightness adjustment behavior. This indicates the number of light-on / off operation records within that hour.

[0025] As a further aspect of the present invention, the step of obtaining the brightness output parameter hold list specifically comprises:

[0026] S311: Based on the light-stable segment number sequence and the behavior-stable time period identification sequence, the segments are aligned according to the time axis of the same lighting area. The start and end times of each segment in the two sequences are compared one by one. Time segments with completely overlapping start and end times are extracted, marked as cross segments and numbered in advance to generate a joint stability segment number set.

[0027] S312: Based on the stability joint segment number set, locate the start and end time range of each cross segment, and retrieve the LED light brightness output record and power control record in the corresponding cross segment. Extract the output brightness value and lighting power level in each cross segment in chronological order to generate the target segment lighting output data frame.

[0028] S313: Based on the target segment lighting output data frame, aggregate the output brightness value and lighting power level according to the cross segment number to construct a dual attribute parameter item of the cross segment dimension, and combine the corresponding attributes of all cross segments to generate a brightness output parameter hold list.

[0029] As a further aspect of the present invention, the step of recording and acquiring the LED device control signal content specifically comprises:

[0030] S411: Based on the output brightness value and lighting power level in the brightness output parameter holding list, extract the corresponding control value of each lighting segment, set the brightness value of each segment to constant mode, set the power level to locked state, and generate LED lighting control instruction set;

[0031] S412: Based on the LED lighting control instruction set, construct the instruction frame content in the form of a data structure, embed a brightness lock field and a power stability field, and attach a segment number field to complete the frame-level organization processing. At the same time, set the transmission interval within the data frame to a fixed periodic structure to generate a periodic control data frame sequence.

[0032] S413: According to the periodic control data frame sequence, each data frame is sent to the corresponding LED lighting control node terminal, and the reception status and transmission time are confirmed for each successfully transmitted data frame. All transmitted control commands are aggregated in chronological order to generate LED device control signal content records.

[0033] As a further aspect of the present invention, the step of obtaining the adaptive energy-saving control result of the LED lamp is specifically as follows:

[0034] S511: Based on the LED device control signal content record, read the brightness adjustment times and light acquisition data stored in each control node within the control cycle, perform synchronous pairing processing on the adjustment times and light values ​​according to the timestamp, and combine them into data pairs according to the node dimension to generate a node control cycle behavior data pair sequence.

[0035] S512: Based on the node control cycle behavior data pair sequence, determine whether the number of brightness adjustments in each data pair is greater than zero or whether the change in the light acquisition value is non-zero. If either condition is met, mark the corresponding control state as failed and perform the control state clearing operation. At the same time, record all nodes whose control states have been released and generate a control state failed node index set.

[0036] S513: Based on the control state failure node index set, reactivate the adaptive control logic for all LED light nodes whose states have been deactivated, extract the latest brightness response value and power adjustment result in node order, and summarize the adaptively adjusted control results of each node to generate LED light adaptive energy-saving control results.

[0037] An adaptive LED lamp energy-saving control system, comprising:

[0038] The illumination stability identification module is used to perform S1: obtain the regional light intensity value, calculate the absolute value of the illumination difference between adjacent time periods per hour, record and mark the stable time periods, and generate a sequence of illumination stability segment numbers.

[0039] The behavior cycle determination module is used to execute S2: obtain the daily lighting control log of LED lights, compare the time difference of switching on and off behavior with the number of brightness adjustments within the same time period, and mark the corresponding time period as a periodic stable segment when the time difference of switching on and off behavior is lower than the set behavior difference threshold and the number of adjustments is zero, and generate a behavior stable period identification sequence.

[0040] The state preservation construction module is used to execute S3: perform segment cross calculation on the light stable segment number sequence and the behavior stable time period identification sequence in the same lighting area time dimension, filter the current lighting state preservation target segment, extract the LED output brightness value and lighting power level of the corresponding time period, and obtain the brightness output parameter preservation list;

[0041] The instruction generation module is used to execute S4: based on the brightness output value and lighting power level in the brightness output parameter hold list, construct a data structure including a signal to prohibit brightness refresh and a constant power signal, periodically transmit it to the terminal of each LED lighting control node, and generate a record of LED device control signal content;

[0042] The energy-saving control identification module is used to execute S5: based on the LED device control signal content recording, read the brightness adjustment times and light acquisition data recorded by each control node, mark the state failure when the adjustment times are non-zero, release the current LED lamp control state and re-enter adaptive adjustment, and obtain the LED lamp adaptive energy-saving control result.

[0043] Compared with the prior art, the advantages and positive effects of the present invention are as follows:

[0044] In this invention, by collecting changes in light intensity and combining them with behavioral logs for joint analysis, a dual-stable segment identification mechanism for light intensity and behavior is constructed. This effectively filters out time segments where brightness and power can be maintained. After identifying the maintenance state, a signal control structure is constructed through output parameters and transmitted periodically to achieve continuous management of the LED state. During the maintenance of the control state, environmental and behavioral changes are continuously monitored and their effectiveness is judged to ensure that the control state always has adaptability and responsiveness, avoiding ineffective energy consumption maintenance and response lag, and improving the overall control efficiency of the lighting system in terms of energy saving, stability, and environmental adaptability. Attached Figure Description

[0045] Figure 1 This is a flowchart of the main steps of the present invention;

[0046] Figure 2 This is a flowchart of the process for obtaining the number sequence of the illumination-stable section in this invention;

[0047] Figure 3 This is a flowchart of the process for obtaining the sequence for identifying stable behavioral periods in this invention;

[0048] Figure 4 This is a flowchart for obtaining the brightness output parameter hold list of the present invention;

[0049] Figure 5 This is a flowchart of the LED device control signal content recording and acquisition process of the present invention;

[0050] Figure 6 This is a flowchart of the process for obtaining the adaptive energy-saving control results of LED lights according to the present invention. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0052] In the description of this invention, it should be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships, are based on the orientation or positional relationships shown in the accompanying drawings and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, in the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0053] Please see Figure 1 An adaptive LED lamp energy-saving control method includes the following steps:

[0054] S1: Obtain the light intensity value recorded by the regional light sensor, calculate the absolute value of the light difference between adjacent time periods per hour, and when the absolute value of the light difference between three consecutive time periods is less than the preset light difference threshold, record the corresponding time period as a stable time period and mark it, and generate a sequence of stable light segment numbers.

[0055] S2: Obtain the daily lighting control log of LED lights, including the time of turning on the lights, the time of turning off the lights, and the number of brightness adjustments per hour. Aggregate the data by hour and compare the time difference between the switching on and off behavior and the number of brightness adjustments within the same time period. When the time difference between the switching on and off behavior is lower than the set behavior difference threshold and the number of adjustments is zero, mark the corresponding time period as a periodic stable segment and generate a behavior stable period identification sequence.

[0056] S3: Perform segment cross-calculation on the stable illumination segment number sequence and the stable behavior time period identification sequence in the same lighting area time dimension, select the time segment that exists in both sequences as the target segment for maintaining the current lighting state, and extract the current output brightness value and lighting power level of the LED light in the corresponding time period to obtain the brightness output parameter maintenance list.

[0057] S4: Based on the brightness output value and lighting power level in the brightness output parameter hold list, write the hold instruction content, construct a data structure including the prohibition of brightness refresh and the constant power signal, and periodically transmit it to the LED lighting control node terminal through the communication interface to generate LED device control signal content record;

[0058] S5: Based on the LED device control signal content recording, read the brightness adjustment times and light acquisition data recorded by each control node, perform real-time change detection within the control cycle, mark the state as invalid when the adjustment times are non-zero, release the current LED lamp control state, and re-enter adaptive adjustment to obtain the LED lamp adaptive energy-saving control results.

[0059] The sequence of stable illumination sections includes the type of illumination change trend and the length of continuous stable time. The sequence of stable behavior periods includes the behavior time consistency index, the brightness adjustment intervention frequency index, and the degree of periodic behavior matching. The brightness output parameter maintenance list includes the brightness stability value, the power constant level, and the output fluctuation tolerance range. The LED device control signal content record includes the status maintenance identifier, the control execution instruction, and the control target node number. The LED lamp adaptive energy-saving control results include the status validity record and the adaptive adjustment record.

[0060] Please see Figure 2 Step S1 is as follows:

[0061] S111: Obtain the light intensity value recorded by the regional illumination sensor. For the light intensity values ​​of adjacent time periods within an hour, subtract the light intensity value of the current time period from the light intensity value of the previous time period, extract the difference and perform absolute value conversion. Arrange the absolute values ​​of the differences corresponding to all time periods in chronological order to generate a sequence of absolute values ​​of illumination differences.

[0062] First, a high-precision light sensor network is deployed in the target lighting area (e.g., a large open-plan office area or industrial plant), configured with a sampling frequency of 1Hz, meaning ambient light intensity (Lux) is collected once per second. To eliminate noise interference caused by momentary occlusion or flashes, a moving average filtering algorithm is used to process the raw data. The arithmetic mean of the sampled values ​​every 60 seconds is taken as the effective light intensity for that minute. Then, the data from each 60-minute interval is aggregated and averaged again to obtain the representative light intensity value for that hour. The data acquisition system transmits the pre-processed light intensity data to the central processing unit via an RS485 bus or Zigbee wireless network.

[0063] Subsequently, a difference operation is performed on the light intensity values ​​of adjacent time periods within each hour. The time axis is then set. Use 24-hour time format to extract the current time period. Light intensity values ​​(e.g., 10:00-11:00) Compared with the previous period Light intensity value (09:00-10:00) Perform subtraction. This difference reflects the trend and magnitude of changes in illumination. Next, the obtained difference... Perform absolute value conversion operation This was done to uniformly quantify the severity of light fluctuations, regardless of whether the light intensity increased or decreased. Finally, the intensity was determined according to the time series. The absolute values ​​of the differences calculated for all time periods are arranged sequentially to construct a one-dimensional array structure. For example, if the light intensity is 450 Lux from 08:00 to 09:00 and 520 Lux from 09:00 to 10:00, the absolute value of the difference is 70; if the light intensity drops to 480 Lux from 10:00 to 11:00, the absolute value of the difference is 40. This process continues to form a complete sequence of absolute values ​​of light intensity differences.

[0064] S112: Based on the absolute value sequence of illumination difference, the absolute value of the difference corresponding to each group of three consecutive time periods is judged. If all three are less than the preset illumination difference threshold, the starting number of the corresponding time period interval is extracted and marked as a stable segment. All interval marking numbers that meet the conditions are extracted in sequence to generate a stable illumination time period marking sequence.

[0065] Based on the generated sequence of absolute values ​​of illumination differences, a sliding window algorithm is introduced to determine illumination stability. The sliding window size is defined as 3, meaning that the absolute values ​​of the differences corresponding to three consecutive time periods are selected as a set of analysis objects (e.g., ...). Set the preset illumination difference threshold to ). The threshold is based on long-term ambient light monitoring experiments: experimental data shows that when the change in ambient light between adjacent hours is less than 50 Lux, the human eye does not perceive the change in ambient light significantly, and at this time, the natural light is in a relatively stable period (such as around noon on a sunny day or throughout the day on a cloudy day). Therefore, in this embodiment, the threshold for the difference in ambient light is set as follows: Set to 50 Lux.

[0066] When performing a judgment operation, if the absolute values ​​of the three differences within a certain group simultaneously satisfy the following condition: and and If the condition is met, the three consecutive time periods (i.e., the corresponding time intervals) are determined to be in a stable illumination state. Once the condition is met, the starting number of the corresponding time interval of the window is immediately extracted. For example, if the differences between hours 10, 11, and 12 in the sequence are 30, 20, and 45 respectively, all less than 50, then the starting number 10 is extracted, and its corresponding time interval (10:00-13:00) is marked as a stable segment. The algorithm traverses the entire sequence, extracting all interval marker numbers that meet the conditions sequentially and storing them in a dynamic list, ultimately generating a stable illumination time interval marker sequence.

[0067] S113: Based on the stable illumination period marking sequence, organize each stable segment in sequence, combine them into a sequence format according to the stable segment order, and output the stable illumination segment number sequence.

[0068] Based on the stable illumination period marker sequence, sequence sorting and formatted output operations are performed. First, the starting numbers of all extracted stable segments are sorted in ascending order to remove duplicate markers that may occur due to overlapping sliding windows (for example, if 10-12 is stable and 11-13 is also stable, they need to be merged into a long stable segment of 10-13 or their independent indices are retained). In this embodiment, an independent segment retention strategy is adopted, that is, all marked starting points are retained.

[0069] Subsequently, the sorted numbers and their corresponding durations (fixed at 3 hours or the combined duration) are combined sequentially. The data structure is designed as a list of objects {Start_Time, Duration, Stability_Index}. For example, if two stable segments are identified starting at 10:00 and 14:00 respectively, the output sequence is formatted as [(10, 3), (14, 3)]. This process ensures that subsequent steps can quickly index to the specific physical time address. After integrity verification (ensuring no time reversal or illegal indexing), the final sequence of stable illumination segment numbers is output.

[0070] Please see Figure 3 Step S2 is as follows:

[0071] S211: Obtain the daily lighting control log of LED lights, extract the data of the time the lights are turned on, the time the lights are turned off, and the number of times the brightness is adjusted within each hour, pair the light-on and light-off records in time sequence, and sum the number of times all brightness adjustment behaviors are performed within each hour to generate an hourly lighting behavior dataset.

[0072] Retrieve the daily lighting control log for LED lights. This log is stored in an SQL database and contains the following fields: Device_ID, Timestamp, Action_Type (ON / OFF / DIM), and Value. First, use an SQL query to extract all records from the past 24 hours and bin them by hour. For each hourly data bin, extract the timestamps for turning on and off the lights, as well as the number of times the brightness adjustment command was triggered.

[0073] Next, the timing pairing logic is executed: a stack structure is used to process the light on / off records. A "light on" record is pushed onto the stack, and a "light off" record is popped from the stack and paired with the most recent "light on" record to form a complete lighting session. If there are on / off states spanning an hour, the records are truncated according to hourly boundaries, and the effective duration within that hour is calculated. Simultaneously, all logs within that hour are traversed, and the total number of records with Action_Type "DIM" (dimming) is counted. The paired list of light on / off time periods and the total number of brightness adjustments are used as attributes for that hour, encapsulated into a JSON object, for example, {Hour: 9, Sessions: [{On: 09:10, Off: 09:50}], Dim_Count: 5}, thus generating an hourly lighting behavior dataset.

[0074] S212: Based on the hourly lighting behavior dataset, perform a pairwise difference operation on all light-on and light-off times within each hour to obtain the duration of all light-on / off operations within the hour. Combined with the corresponding brightness adjustment count for each record, the following formula is used:

[0075] ;

[0076] The algorithm calculates and obtains the behavioral stability metric value for each hour, and outputs an hourly sequence of lighting behavioral stability metrics; where, Indicates the first Hourly behavioral stability metric and They represent the first Lights on and off times. Indicates the first Number of brightness adjustments This represents the standard response time corresponding to a unit brightness adjustment behavior. This indicates the number of light-on / off operation records within that hour;

[0077] Based on an hourly lighting behavior dataset, the stability of user lighting behavior is quantitatively calculated. First, the duration of all paired on / off light operations within each hour is calculated. All units are converted to minutes. This is combined with the recorded number of brightness adjustments. Introducing the formula:

[0078] ;

[0079] Perform the calculation.

[0080] The parameters are selected as follows:

[0081] (Standard response time corresponding to unit brightness adjustment behavior): This parameter was determined through user behavior psychology experiments. Experimental data shows that each active dimming operation by a user is accompanied by an average of about 5 minutes of distraction or adjustment period due to dissatisfaction with the current lighting environment. Therefore, in order to "penalize" or weight frequent dimming behavior in the stability metric, this embodiment sets... (minute).

[0082] : Indicates the number of records (sessions) of light switching operations within this hour.

[0083] Assuming that within the 10th hour (10:00-11:00), records are made... Next light switch operation:

[0084] First time: Lights on at 10:05, lights off at 10:35, brightness adjusted 3 times during the period;

[0085] Duration: minute;

[0086] Adjustment items: The penalty value is ;

[0087] Single measurement value: .

[0088] Second time: Lights on at 10:45, lights off at 10:55, brightness adjusted 0 times during the period;

[0089] Duration: minute;

[0090] Adjustment items: The penalty value is ;

[0091] Single measurement value: .

[0092] Substitute into the formula to calculate :

[0093] ;

[0094] The value of 27.5 comprehensively reflects the duration of lighting and the frequency of user intervention within that hour. A higher value indicates a more persistent lighting demand with some adjustment; a lower value indicates a more brief or fragmented lighting behavior. This formula is primarily used here to quantify the "activity" or "non-steady state" of the behavior. However, in this solution's logic, we need to find "stable" and "intervention-free" periods, thus requiring threshold judgments in subsequent steps. The calculation iterates through all 24 hours of data, outputting a lighting behavior stability measurement sequence in hourly order.

[0095] S213: Based on the lighting behavior stability measurement sequence, if the behavior stability measurement value of the current hour is less than the set behavior difference threshold, and the number of brightness adjustments in the current hour is zero, then the current hour is marked as a periodic stable segment, all short periods that meet the conditions are extracted, and a behavior stable period identification sequence is generated.

[0096] Based on the lighting behavior stability metric sequence, periodic stable segments are identified. A behavior difference threshold (i.e., an upper limit for the stability metric value) is set. Based on cluster analysis of a large amount of historical data, it was found that when Value at When there is no brightness adjustment within a certain range, it typically corresponds to a user engaging in prolonged reading, meetings, or stable work, representing the optimal window for implementing constant light control. If If the value is too small (e.g., less than 10), it usually indicates a brief passing by or temporary supplemental lighting, and has no control value; if If it is too large, it may contain drastic changes.

[0097] The specific judgment logic is as follows: if the current hour's behavior stability metric value... The brightness difference threshold is less than the set threshold (60 in this embodiment, serving as the dividing line for filtering high-frequency interactions), and the total number of brightness adjustments within the current hour is strictly equal to zero. Both conditions being met simultaneously mean that although the user used the lights during this period, no human intervention was performed, and the usage duration was moderate, indicating a stable state of "default acceptance." All sub-segments that meet the conditions (e.g., the 14th hour, the 15th hour) are extracted and marked as "periodic stable segments." Finally, all extracted sub-segments are arranged in chronological order to generate a sequence of behaviorally stable periods.

[0098] Please see Figure 4 Step S3 is as follows:

[0099] S311: Based on the stable illumination segment number sequence and the stable behavior time period identification sequence, the segments are aligned according to the time axis of the same illumination area. The start and end times of each segment in the two sequences are compared one by one. Time segments with completely overlapping start and end times are extracted, marked as cross segments and numbered in advance to generate a stable joint segment number set.

[0100] Based on the sequence of stable illumination segments (from S113, e.g., stable illumination period is 10:00-13:00) and the sequence of stable behavior periods (from S213, e.g., stable behavior period is 11:00-14:00), a segment alignment operation is performed. The two sequences are mapped to a unified coordinate system according to the 24-hour absolute time axis of the same illumination area.

[0101] The start and end times are compared one by one to find the intersection. The specific algorithm uses interval intersection logic:

[0102] Let the stable illumination section be The stable behavioral segment is .

[0103] Calculate the intersection section: , .

[0104] like This indicates the existence of a valid overlapping interval. .

[0105] Stable lighting period: 10:00-13:00.

[0106] Stable behavioral period: 11:00-14:00.

[0107] .

[0108] .

[0109] Result: The intersection section is from 11:00 to 13:00.

[0110] All extracted overlapping time segments are marked and defined as "cross segments," and numbered in advance according to their order of appearance (e.g., Cross_01, Cross_02). This segment represents a dual steady-state window where both "ambient lighting is stable" and "user behavior is stable," ultimately generating a joint stability segment number set.

[0111] S312: Based on the stability joint segment number set, locate the start and end time range of each cross segment, and retrieve the LED light brightness output record and power control record in the corresponding cross segment. Extract the output brightness value and lighting power level in each cross segment in time order to generate the target segment lighting output data frame.

[0112] Based on the stability joint segment number set, the start and end time range of each cross segment is accurately located (e.g., Cross_01 corresponds to 11:00-13:00). Then, the historical database is accessed to retrieve the corresponding LED light operation records within that time range. Two types of data are extracted: first, the output brightness value (PWM duty cycle, range 0-100%), and second, the lighting power level (real-time power level reported by the intelligent driver, such as High / Mid / Low or specific wattage).

[0113] To eliminate data fluctuations, data points are extracted at the minute level and arranged chronologically. For example, brightness and power values ​​for each minute between 11:00 and 13:00 are extracted to form a time-series matrix containing 120 rows of data. This matrix fully reproduces the original operating parameter trajectory under a dual steady state. The structured dataset generated in this process is the target section lighting output data frame.

[0114] S313: Based on the target section lighting output data frame, aggregate the output brightness value and lighting power level according to the cross section number, construct a dual attribute parameter item of the cross section dimension, and combine the corresponding attributes of all cross sections to generate a brightness output parameter hold list.

[0115] Based on the target section lighting output data frames, a fixed control parameter needs to be determined to replace any potential minor fluctuations. The output brightness values ​​and lighting power levels within each cross-section are aggregated. Specifically, a hybrid aggregation strategy of "mode-median" is adopted: first, the mode (the most frequently occurring value) of the brightness values ​​within the section is calculated; if the mode frequency exceeds 50%, the mode is selected; otherwise, the median is selected. This method effectively eliminates occasional data spikes and identifies the most "mainstream" brightness setting for that time period.

[0116] Data examples and Table 1 are shown below:

[0117] Assuming some data was collected within the Cross_01 segment (11:00-13:00), the aggregation process is shown in the table below:

[0118] Table 1: Aggregate Calculation Table of Cross Section Parameters

[0119] ;

[0120] As shown in Table 1, statistical analysis determined that the target brightness retention rate for the Cross_01 segment is 75%, and the target locking power is 18.5W. A dual-attribute parameter item containing {Section_ID: Cross_01, Target_Brightness: 75, Target_Power: 18.5} is constructed. After processing all cross segments, a brightness output parameter retention list is generated.

[0121] Please see Figure 5 Step S4 is as follows:

[0122] S411: Based on the output brightness value and lighting power level in the brightness output parameter hold list, extract the corresponding control values ​​of each lighting section, set the brightness value of each section to constant mode, set the power level to locked state, and generate LED lighting control instruction set;

[0123] Based on the brightness output parameter hold list, the statistically optimal values ​​obtained from the analysis are converted into specific hardware control instructions. The corresponding control values ​​for each lighting zone are extracted (e.g., brightness 75%, power 18.5W). The control mode for each zone is logically set to "constant mode," distinct from the conventional "adaptive mode."

[0124] Generate a specific set of LED lighting control instructions. This instruction set contains specific register operation code for the underlying driver. For example, converting a brightness value of 75% to a 12-bit PWM register value (…). The instruction set sets the power lockout state to 1. This instruction set specifies that within a certain time period, the driver should ignore regular light sensor feedback and forcibly maintain the current output parameters, thereby achieving deep energy saving by "switching from dynamic to static"—because eliminating frequent adjustment actions can reduce the dynamic losses of the driver itself.

[0125] S412: Based on the LED lighting control instruction set, construct the instruction frame content in the form of a data structure, embed the brightness lock field and power stability field, and attach the segment number field to complete the frame-level organization processing. At the same time, set the transmission interval within the data frame to a fixed periodic structure to generate a periodic control data frame sequence.

[0126] Based on the LED lighting control instruction set, a data frame conforming to the industrial control protocol is constructed. The structure is designed as: [Header][Section_ID][Start_Time][End_Time][Lock_Brightness][Lock_Power][CheckSum]. The "Brightness Lock Field" is filled with the calculated PWM value, and the "Power Stabilization Field" is filled with the power limiting instruction.

[0127] Specifically, to prevent control failures caused by packet loss, the transmission interval within the data frame is set to a fixed periodic structure. For example, the locking command is retransmitted every 15 minutes as a "heartbeat maintenance" signal. If the segment is 2 hours long, a sequence of 8 (120 minutes / 15 minutes) repeating command frames is generated, each frame with a precise pre-execution timestamp. This ultimately generates a periodic control data frame sequence.

[0128] S413: Based on the periodic control data frame sequence, use the communication interface to send each data frame to the corresponding LED lighting control node terminal, and confirm the reception status and record the transmission time for each successfully transmitted data frame. Aggregate all transmitted control commands in chronological order to generate LED device control signal content record.

[0129] Based on the periodic control data frame sequence, each data frame is sent to the corresponding LED lighting control node terminal using an RS485 or Zigbee communication interface. The transmission process adopts a "send-wait acknowledgment (ACK)" mechanism. After each frame is sent, the waiting node returns an "acknowledgment successful" ACK signal; if no signal is received within a timeout period, a retransmission mechanism is triggered (maximum of 3 retransmissions).

[0130] Simultaneously, the transmission time and status are recorded. The system aggregates all successfully transmitted and acknowledged control commands in chronological order and writes them to the operation log. For example: [2024-03-20-11:00:01]->Node_05->CMD: Lock_75%->ACK: OK. This process generates a detailed record of LED device control signal content, providing original evidence for subsequent fault tracing and effect verification.

[0131] Please see Figure 6 The S5 steps are as follows:

[0132] S511: Based on the recording of LED device control signal content, read the number of brightness adjustments and light acquisition data stored in each control node within the control cycle, perform synchronous pairing processing on the number of adjustments and light values ​​according to the timestamp, and combine them into data pairs according to the node dimension to generate a sequence of node control cycle behavior data pairs.

[0133] During the execution of control commands, the feedback monitoring phase begins. Based on the node ID locked in the LED device control signal content record, runtime data stored by each control node within the control cycle is read in real time. This includes two key indicators: the number of brightness adjustments actively triggered by the user (counted by local interrupts generated via wall switches or an app) and the real-time illumination value collected by the light sensor.

[0134] The adjustment count and illumination value are synchronized and paired using millisecond-level timestamps. For example, at 11:15:00, the adjustment count register value is read as 0, and the illumination sensor value is 450 Lux. These two types of data are combined by node dimension to generate a sequence with the following structure: {Node_ID: 05, Timestamp: 11:15, Manual_Count: 0, Light_Sensor: 450}. This sequence is refreshed frequently (e.g., once per minute) to generate a sequence of node control cycle behavior data pairs for real-time monitoring of whether the "lock-in" strategy is still applicable.

[0135] S512: Based on the sequence of node control cycle behavior data pairs, determine whether the number of brightness adjustments in each data pair is greater than zero. If the condition is met, mark the corresponding control state as failed and perform the control state clearing operation. At the same time, record all nodes whose control states have been released and generate a control state failed node index set.

[0136] Based on the node control cycle behavior data sequence, the "failure judgment" logic is executed. The core of this step is to identify whether the user has broken the preset "stable" state. The judgment logic includes two parallel conditions:

[0137] Brightness adjustment count greater than zero: If the user presses a physical switch or adjusts the APP slider, it means that the user is uncomfortable with the currently locked brightness (e.g., 75%) and intends to change the environment.

[0138] If the conditions are met, the current "constant locking mode" is deemed invalid. A control state clearing operation is immediately executed, sending an "unlock" command to the node to release control. Simultaneously, the node's ID is recorded, generating an index set of nodes with invalid control states.

[0139] S513: Based on the control state failure node index set, reactivate the adaptive control logic for all LED lamp nodes whose states have been deactivated, extract the latest brightness response value and power adjustment result in the order of nodes, and summarize the adaptively adjusted control results of each node to generate the LED lamp adaptive energy-saving control result.

[0140] Based on the control state failure node index set, for all LED light nodes whose states have been cleared, a seamless switch back to "adaptive control logic" is achieved. This means that the lighting control is returned to the PID closed-loop algorithm, which dynamically adjusts the PWM output based on real-time light sensor data to maintain a constant illuminance (e.g., a target of 500 Lux).

[0141] Extract the latest brightness response value (such as 85% after automatic adjustment) and power adjustment results in the order of nodes, and summarize these data to generate the LED lamp adaptive energy-saving control results.

[0142] To verify the effectiveness of this method, a week-long comparative experiment was conducted in a 1000-square-meter office area (Group A used traditional light-sensing control, and Group B used the long-term locking control of this embodiment).

[0143] Table 2 Comparison of Energy-Saving Control Effect Experimental Data:

[0144] ;

[0145] As shown in Table 2, this method identifies dual stable segments of illumination and behavior and implements parameter locking. At the same time, due to the reduction of frequent fluctuations in lighting, user satisfaction actually increased from 7.8 to 8.9, demonstrating the significant advantage of this method in balancing energy saving and comfort.

[0146] An adaptive LED lamp energy-saving control system, comprising:

[0147] The illumination stability identification module is used to perform S1: obtain the regional light intensity value, calculate the absolute value of the illumination difference between adjacent time periods per hour, record and mark the stable time periods, and generate a sequence of illumination stability segment numbers.

[0148] The behavior cycle determination module is used to execute S2: obtain the daily lighting control log of LED lights, compare the time difference of switching on and off behavior with the number of brightness adjustments within the same time period, and mark the corresponding time period as a periodic stable segment when the time difference of switching on and off behavior is lower than the set behavior difference threshold and the number of adjustments is zero, and generate a behavior stable period identification sequence.

[0149] The state preservation module is used to execute S3: perform segment cross-calculation on the light stable section number sequence and the behavior stable time period identification sequence in the same lighting area time dimension, filter the current lighting state preservation target segment, extract the LED output brightness value and lighting power level of the corresponding time period, and obtain the brightness output parameter preservation list;

[0150] The hold instruction generation module is used to execute S4: based on the brightness output value and lighting power level in the brightness output parameter hold list, it constructs a data structure including signals to disable brightness refresh and constant power, and periodically transmits it to the terminal of each LED lighting control node to generate a record of LED device control signal content;

[0151] The energy-saving control identification module is used to execute S5: based on the LED device control signal content recording, read the brightness adjustment times and light acquisition data recorded by each control node, mark the state as invalid when the adjustment times are non-zero, release the current LED lamp control state and re-enter adaptive adjustment, and obtain the LED lamp adaptive energy-saving control results.

[0152] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention in any other way. Any person skilled in the art may make changes or modifications to the above-disclosed technical content to create equivalent embodiments that can be applied to other fields. However, any simple modifications, equivalent changes, and modifications made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the protection scope of the present invention.

Claims

1. An adaptive LED lamp energy-saving control method, characterized in that, Includes the following steps: S1: Obtain the regional light intensity value, calculate the absolute value of the light difference between adjacent time periods per hour, record and mark the stable time periods, and generate a sequence of stable light segment numbers. S2: Obtain the daily lighting control log of LED lights, compare the time difference between switching on and off behavior with the number of brightness adjustments within the same time period, and mark the corresponding time period as a periodic stable segment when the time difference between switching on and off behavior is lower than the set behavior difference threshold and the number of adjustments is zero, and generate a behavior stable period identification sequence. S3: Perform segment cross-calculation on the light-stable segment number sequence and the behavior-stable time period identification sequence in the same lighting area time dimension, filter the target segment for maintaining the current lighting state, extract the LED output brightness value and lighting power level for the corresponding time period, and obtain the brightness output parameter maintenance list. S4: Based on the brightness output value and lighting power level in the brightness output parameter hold list, construct a data structure including a signal to disable brightness refresh and a signal to keep the power constant, periodically transmit it to the terminal of each LED lighting control node, and generate a record of LED device control signal content; S5: Based on the LED device control signal content recording, read the brightness adjustment times and light acquisition data recorded by each control node. When the adjustment times are non-zero, mark it as a state failure, release the current LED lamp control state and re-enter adaptive adjustment, and obtain the LED lamp adaptive energy-saving control result.

2. The adaptive LED lamp energy-saving control method according to claim 1, characterized in that: The stable period specifically refers to the time period when the absolute value of the illumination difference for three consecutive time periods is less than the preset illumination difference threshold. The target segment for maintaining the current lighting state specifically refers to the time segment that exists simultaneously within the sequence of stable lighting segments and the sequence of stable behavior periods.

3. The adaptive LED lamp energy-saving control method according to claim 1, characterized in that: The illumination stability segment numbering sequence includes the illumination change trend type and the length of continuous stability time. The behavior stability period identification sequence includes the behavior time consistency index, the brightness adjustment intervention frequency index, and the degree of periodic behavior matching. The brightness output parameter maintenance list includes the brightness stability value, the power constant level, and the output fluctuation tolerance range. The LED device control signal content record includes the status maintenance identifier, the control execution instruction, and the control target node number. The LED lamp adaptive energy-saving control result includes the status validity record and the adaptive adjustment record.

4. The adaptive LED lamp energy-saving control method according to claim 1, characterized in that, The specific steps for obtaining the number sequence of the illumination-stable section are as follows: S111: Obtain the light intensity value recorded by the regional illumination sensor. For the light intensity values ​​of adjacent time periods within an hour, subtract the light intensity value of the current time period from the light intensity value of the previous time period, extract the difference and perform absolute value conversion. Arrange the absolute values ​​of the differences corresponding to all time periods in chronological order to generate a sequence of absolute values ​​of illumination differences. S112: Based on the absolute value sequence of illumination difference, the absolute value of the difference corresponding to each group of three consecutive time periods is judged. If all three are less than the preset illumination difference threshold, the starting number of the corresponding time period interval is extracted and marked as a stable segment. All interval marking numbers that meet the conditions are extracted in sequence to generate a stable illumination time period marking sequence. S113: Based on the stable illumination period marker sequence, arrange each stable segment in sequence, combine them into a sequence format according to the stable segment order, and output the stable illumination segment number sequence.

5. The adaptive LED lamp energy-saving control method according to claim 1, characterized in that, The specific steps for obtaining the behavior stable period identification sequence are as follows: S211: Obtain the daily lighting control log of LED lights, extract the data of the time the lights are turned on, the time the lights are turned off, and the number of times the brightness is adjusted within each hour, pair the light-on and light-off records in time sequence, and sum the number of times all brightness adjustment behaviors are performed within each hour to generate an hourly lighting behavior dataset. S212: Based on the hourly lighting behavior dataset, perform a pairwise difference operation on all the time when the lights are turned on and off within each hour to obtain the duration of all the time when the lights are turned on and off within the hour. Combine this with the brightness adjustment count value corresponding to each record to calculate and obtain the behavior stability metric value for each hour, and output the lighting behavior stability metric sequence by hour. S213: According to the lighting behavior stability measurement sequence, if the behavior stability measurement value of the current hour is less than the set behavior difference threshold, and the number of brightness adjustments in the current hour is zero, then the current hour is marked as a periodic stable segment, all short periods that meet the conditions are extracted, and a behavior stable period identification sequence is generated.

6. The adaptive LED lamp energy-saving control method according to claim 5, characterized in that, The formula for calculating the behavioral stability metric is as follows: ; in, Indicates the first Hourly behavioral stability metric and They represent the first Lights on and off times. Indicates the first Number of brightness adjustments This represents the standard response time corresponding to a unit brightness adjustment behavior. This indicates the number of light-on / off operation records within that hour.

7. The adaptive LED lamp energy-saving control method according to claim 1, characterized in that, The steps for obtaining the brightness output parameter hold list are as follows: S311: Based on the light-stable segment number sequence and the behavior-stable time period identification sequence, the segments are aligned according to the time axis of the same lighting area. The start and end times of each segment in the two sequences are compared one by one. Time segments with completely overlapping start and end times are extracted, marked as cross segments and numbered in advance to generate a joint stability segment number set. S312: Based on the stability joint segment number set, locate the start and end time range of each cross segment, and retrieve the LED brightness output record and power control record in the corresponding cross segment. Extract the output brightness value and lighting power level in each cross segment in chronological order to generate the target segment lighting output data frame. S313: Based on the target segment lighting output data frame, aggregate the output brightness value and lighting power level according to the cross segment number to construct a dual attribute parameter item of the cross segment dimension, and combine the corresponding attributes of all cross segments to generate a brightness output parameter hold list.

8. The adaptive LED lamp energy-saving control method according to claim 1, characterized in that, The specific steps for recording and acquiring the control signal content of the LED device are as follows: S411: Based on the output brightness value and lighting power level in the brightness output parameter holding list, extract the corresponding control value of each lighting segment, set the brightness value of each segment to constant mode, set the power level to locked state, and generate LED lighting control instruction set; S412: Based on the LED lighting control instruction set, construct the instruction frame content in the form of a data structure, embed a brightness lock field and a power stability field, and attach a segment number field to complete the frame-level organization processing. At the same time, set the transmission interval within the data frame to a fixed periodic structure to generate a periodic control data frame sequence. S413: According to the periodic control data frame sequence, each data frame is sent to the corresponding LED lighting control node terminal, and the reception status and transmission time are confirmed for each successfully transmitted data frame. All transmitted control commands are aggregated in chronological order to generate LED device control signal content records.

9. The adaptive LED lamp energy-saving control method according to claim 1, characterized in that, The specific steps for obtaining the LED lamp adaptive energy-saving control result are as follows: S511: Based on the LED device control signal content record, read the brightness adjustment times and light acquisition data stored in each control node within the control cycle, perform synchronous pairing processing on the adjustment times and light values ​​according to the timestamp, and combine them into data pairs according to the node dimension to generate a node control cycle behavior data pair sequence. S512: Based on the node control cycle behavior data pair sequence, determine whether the number of brightness adjustments in each data pair is greater than zero or whether the change in the light acquisition value is non-zero. If either condition is met, mark the corresponding control state as failed and perform the control state clearing operation. At the same time, record all nodes whose control states have been released and generate a control state failed node index set. S513: Based on the control state failure node index set, reactivate the adaptive control logic for all LED light nodes whose states have been deactivated, extract the latest brightness response value and power adjustment result in node order, and summarize the adaptively adjusted control results of each node to generate LED light adaptive energy-saving control results.

10. An adaptive LED lamp energy-saving control system, characterized in that, The system is used to implement the adaptive LED lamp energy-saving control method according to any one of claims 1-9, comprising: The illumination stability identification module is used to perform S1: obtain the regional light intensity value, calculate the absolute value of the illumination difference between adjacent time periods per hour, record and mark the stable time periods, and generate a sequence of illumination stability segment numbers. The behavior cycle determination module is used to execute S2: obtain the daily lighting control log of LED lights, compare the time difference of switching on and off behavior with the number of brightness adjustments within the same time period, and mark the corresponding time period as a periodic stable segment when the time difference of switching on and off behavior is lower than the set behavior difference threshold and the number of adjustments is zero, and generate a behavior stable period identification sequence. The state preservation construction module is used to execute S3: perform segment cross calculation on the light stable segment number sequence and the behavior stable time period identification sequence in the same lighting area time dimension, filter the current lighting state preservation target segment, extract the LED output brightness value and lighting power level of the corresponding time period, and obtain the brightness output parameter preservation list; The instruction generation module is used to execute S4: based on the brightness output value and lighting power level in the brightness output parameter hold list, construct a data structure including a signal to prohibit brightness refresh and a constant power signal, periodically transmit it to the terminal of each LED lighting control node, and generate a record of LED device control signal content; The energy-saving control identification module is used to execute S5: based on the LED device control signal content recording, read the brightness adjustment times and light acquisition data recorded by each control node, mark the state failure when the adjustment times are non-zero, release the current LED lamp control state and re-enter adaptive adjustment, and obtain the LED lamp adaptive energy-saving control result.

Citation Information

Patent Citations

  • LED ceiling lamp control system based on dynamic light source adjustment

    CN120659189A

  • Method for determining adaptive adjustment curve of ambient illuminance of intelligent lamp

    CN120857325A