A lighting device control method and a lighting device

By combining real-time distance measurement by sensors with preset distance conditions, the headlamp lighting equipment can be automatically adjusted, solving the problems of cumbersome operation and excessive power consumption, and improving work efficiency and safety.

CN122458271APending Publication Date: 2026-07-24SHENZHEN LANGHENG ELECTRICAL
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN LANGHENG ELECTRICAL
Filing Date
2026-05-29
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

Existing headlamp lighting control solutions are cumbersome to operate, cannot automatically match the optimal working mode according to the actual lighting distance and work scenario, and cannot be adapted to head-mounted devices, resulting in frequent false switching, response lag, and excessive power consumption.

Method used

By using sensors to measure distances in real time, and combining the measured distance values ​​with preset distance conditions, the system accurately identifies lighting conditions and work scenarios, determines the optimal working lighting mode, including gesture adjustment and adaptive adjustment commands, and automatically controls the lighting equipment.

Benefits of technology

No manual adjustment is required, which improves work efficiency and safety, avoids frequent accidental switching, improves response speed and saves power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122458271A_ABST
    Figure CN122458271A_ABST
Patent Text Reader

Abstract

The application relates to the technical field of lighting devices, and discloses a lighting device control method and a lighting device. The lighting device control method comprises the following steps: acquiring a distance value between a lighting device and a front obstacle detected by a sensor in real time; if a plurality of distance values detected within a first preset time length all belong to a gesture adjustment threshold range, determining that a control adjustment instruction of the lighting device is a gesture adjustment instruction; if a plurality of distance values detected within a second preset time length all belong to an adaptive adjustment threshold range, determining that the control adjustment instruction of the lighting device is an adaptive adjustment instruction; and sending a control signal to a power driving unit according to the gesture adjustment instruction or the adaptive adjustment instruction, so as to trigger the power driving unit to control and adjust the lighting device. By using the above method, manual adjustment is not needed, work efficiency and safety are provided, frequent mis-switching is avoided, response speed is improved, and power consumption is saved to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of lighting equipment technology, and in particular to a lighting equipment control method and a lighting equipment. Background Technology

[0002] Currently, headlamp lighting control solutions all use manual button switching or keep the dual LEDs constantly lit to control and adjust the lighting working mode.

[0003] However, this solution often has the following technical problems: cumbersome operation, which seriously affects work efficiency and safety; inability to automatically match the optimal working lighting mode according to the actual lighting distance and work scenario; and inability to adapt to the usage scenarios of head-mounted lighting equipment, which often results in technical problems such as frequent accidental switching, response lag, and excessive power consumption. Summary of the Invention

[0004] In view of this, the present application provides a lighting device control method and a lighting device, which can effectively solve the technical problems existing in the current headlamp lighting control scheme.

[0005] In a first aspect, embodiments of this application provide a method for controlling a lighting device. The lighting device includes a sensor, a power drive unit, and a control unit. The control unit performs the method by: The distance between the lighting device and the obstruction in front, detected by the sensor, is obtained in real time. If multiple distance values ​​detected within a first preset time period all fall within the gesture adjustment threshold range, then the control adjustment command of the lighting device is determined to be a gesture adjustment command; if multiple distance values ​​detected within a second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command of the lighting device is determined to be an adaptive adjustment command. According to the gesture adjustment command or the adaptive adjustment command, a control signal is sent to the power drive unit to trigger the power drive unit to control and adjust the lighting device.

[0006] Secondly, embodiments of this application also provide a lighting equipment control system, the system comprising: Sensors are used to detect the distance between the lighting equipment and an obstruction in front of it; The control unit is used to acquire in real time the distance value between the lighting device and the obstruction in front detected by the sensor; If multiple distance values ​​detected within a first preset time period all fall within the gesture adjustment threshold range, then the control adjustment command of the lighting device is determined to be a gesture adjustment command; if multiple distance values ​​detected within a second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command of the lighting device is determined to be an adaptive adjustment command. A control signal is sent to the power drive unit according to the gesture adjustment command or the adaptive adjustment command; The power drive unit is used to control and adjust the lighting device according to the control signal.

[0007] Thirdly, embodiments of this application also provide a lighting device that performs the above-described lighting device control method.

[0008] The embodiments of this application have the following beneficial effects: By using sensors to measure distance in real time and combining the measured distance value with preset distance conditions, the system accurately identifies lighting conditions / work scenarios, thereby determining the optimal working lighting mode, i.e., the control and adjustment command, that is suitable for the current lighting conditions. No manual adjustment is required, improving work efficiency and safety. It avoids frequent accidental switching, improves response speed, and saves power consumption to a certain extent. Attached Figure Description

[0009] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 A schematic flowchart of a lighting equipment control method according to an embodiment of this application is shown; Figure 2 This paper illustrates a flowchart of gesture adjustment according to an embodiment of the present application. Figure 3 This paper illustrates a flowchart of an adaptive adjustment process according to an embodiment of this application. Figure 4 This paper illustrates a flowchart of a brightness adjustment process according to an embodiment of the present application. Figure 5 A schematic diagram of a color temperature adjustment process according to an embodiment of this application is shown. Detailed Implementation

[0011] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.

[0012] The components of the embodiments of this application described and illustrated in the accompanying drawings can be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of this application provided in the drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0013] In the following text, the terms "comprising," "having," and their cognates, which may be used in various embodiments of this application, are intended only to indicate a particular feature, number, step, operation, element, component, or combination thereof, and should not be construed as primarily excluding the presence of one or more other features, numbers, steps, operations, elements, components, or combinations thereof, or adding the possibility of one or more combinations thereof. Furthermore, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.

[0014] Unless otherwise specified, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which the various embodiments of this application pertain. Terms (such as those defined in commonly used dictionaries) shall be interpreted as having the same meaning as in their contextual meaning in the relevant technical field and shall not be construed as having an idealized or overly formal meaning, unless clearly defined in the various embodiments of this application.

[0015] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.

[0016] Currently, headlamp lighting control solutions typically employ manual button switching or keep both LEDs constantly on for adjusting the lighting mode. However, this approach often suffers from the following technical problems: cumbersome operation, severely impacting work efficiency and safety; inability to automatically match the optimal lighting mode based on actual lighting distance and work scenario; and incompatibility with the usage scenarios of head-mounted lighting equipment, frequently resulting in issues such as accidental switching, delayed response, and excessive power consumption.

[0017] To address the aforementioned technical problems in current headlamp lighting control solutions, this application provides a lighting equipment control method and lighting equipment. By combining measured distance values ​​and preset distance conditions as dual criteria, this application accurately identifies the lighting condition / work scenario, thereby determining the optimal working lighting mode, i.e., the control adjustment command, that is suitable for the current lighting condition. This eliminates the need for manual adjustment, improving work efficiency and safety. It also avoids frequent accidental switching, improves response speed, and saves power consumption to a certain extent.

[0018] The following describes the control method for this lighting device using specific embodiments.

[0019] First, it should be noted that the lighting equipment control method in this application is applied to lighting equipment, which includes a lighting equipment switch, a sensor installed in the lighting equipment, a power drive unit, and a control unit.

[0020] Figure 1 A schematic flowchart of a lighting equipment control method according to an embodiment of this application is shown. Exemplarily, the lighting equipment control method includes the following steps: Step S102: Real-time acquisition of the distance value between the lighting device and the obstruction in front, detected by the sensor.

[0021] The distance value refers to the linear spatial distance between the sensor's installation location and an obstruction (such as a human hand, torso, or obstacle) detected by the sensor in real time. Specifically, the sensor in this application is a ToF sensor, which can measure both distance and illumination. The sensor acquires the distance value between itself and the obstruction in real time. The control unit receives the distance value acquired by the sensor in real time.

[0022] Step S104: Based on the multiple distance values ​​detected within a preset time period and the preset distance conditions, determine the control and adjustment instructions for the lighting equipment.

[0023] The preset duration refers to the length of the time window set to determine the user's intent. It is triggered by a timer inside the control unit and has a defined start time and a fixed duration. The preset duration includes a first preset duration and a second preset duration.

[0024] Preset distance conditions refer to a set of structured threshold rules. For example, continuous intervals with distance values ​​as variables; optionally, the continuous intervals can be a single interval or a combination of multiple intervals.

[0025] Control adjustment commands refer to the high-level control semantic categories determined by the control unit based on the relationship between distance values ​​and preset distance conditions, including gesture adjustment commands and adaptive adjustment commands.

[0026] Optionally, if multiple distance values ​​detected within a first preset time period all fall within the gesture adjustment threshold range, then the control adjustment command for the lighting device is determined to be a gesture adjustment command; if multiple distance values ​​detected within a second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device is determined to be an adaptive adjustment command.

[0027] Specifically, each preset distance condition has a pre-built control adjustment command. If the distance value detected at each moment within a certain period (preset duration) meets a certain preset distance condition, the control unit can directly determine the control adjustment command corresponding to that preset distance condition.

[0028] Step S106: Send a control signal to the power drive unit according to the gesture adjustment command or adaptive adjustment command to trigger the power drive unit to control and adjust the lighting equipment.

[0029] A control signal refers to a standardized digital control command output by the control unit to the power drive unit. Specifically, the control unit generates a control signal based on the control and adjustment command, and sends the generated control signal to the power drive unit so that the power drive unit controls and adjusts the lighting equipment accordingly.

[0030] Through the above embodiments, combining the measured distance value and preset distance conditions as dual criteria, the lighting condition / work scenario is accurately identified, thereby determining the optimal working lighting mode, i.e., the control and adjustment command, that is suitable for the current lighting condition. No manual adjustment is required, improving work efficiency and safety. It avoids frequent accidental switching, improves response speed, and saves power consumption to a certain extent.

[0031] It should be clarified that the control and adjustment instructions in this application mainly include two types: one is gesture adjustment instructions, and the other is adaptive adjustment instructions.

[0032] Optionally, if multiple distance values ​​detected within a first preset time period all fall within the gesture adjustment threshold range, then the control adjustment command for the lighting device is determined to be a gesture adjustment command; if multiple distance values ​​detected within a second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device is determined to be an adaptive adjustment command.

[0033] Among them, the adaptive adjustment command refers to the lighting equipment automatically identifying the usage scenario / operating condition category and triggering the lighting parameter adjustment mode by the control unit based on the changing pattern of the distance value continuously measured by the sensor (such as continuous rise / fall, steady state falling into a certain range, cross-range trend, etc.) without human intervention.

[0034] The gesture adjustment threshold range refers to the range of values ​​that must be fully captured within a specified first preset time period to reliably identify intentional gestures performed by the user (such as waving to switch or moving close to power on).

[0035] The adaptive adjustment threshold range refers to the set of numerical conditions that the distance value must meet within a second preset time period to trigger the adaptive adjustment command.

[0036] Gesture adjustment commands refer to the specific control command category determined by the control unit based on whether the distance value falls entirely within the corresponding gesture adjustment threshold range within a first preset time period in response to the user's intentional gesture action.

[0037] Through the dual threshold range and duration determination mechanism in the above embodiments, the two types of control logic, gesture adjustment and adaptive adjustment, are accurately distinguished, effectively avoiding false triggering and functional conflicts; it not only ensures the reliable recognition of user intentions (such as wave to turn on, stepless dimming), but also achieves seamless working condition matching (such as automatic switching between spotlight and floodlight).

[0038] In one embodiment, reference Figure 2 Gesture control commands should include at least the lighting mode switching sequence, power-on type, and power-off type.

[0039] (i) For the lighting mode switching sequence: If multiple distance values ​​detected within the third preset time period are all within the switching threshold range, obtain the lighting mode switching sequence; determine the current lighting mode of the lighting device, and find the next lighting mode after the current lighting mode in the lighting mode switching sequence; use the next lighting mode as the gesture adjustment command of the lighting device.

[0040] Specifically, scenario one involves cyclical brightness adjustment, see reference. Figure 4 ,include: Triggering prerequisite: The system is in normal working state without stepless adjustment and without adaptive mode; Triggering conditions: The sensor detects a waving distance value d that meets the following conditions: 5cm < d ≤ 15cm (switching threshold range), and the single occlusion holding time meets the following conditions: 0.05s < t ≤ 0.5s (third preset duration); Each time the triggering condition is met, the control unit performs a brightness level cycle switch: high brightness → medium brightness → low brightness → high brightness, and so on.

[0041] In one example, under the continuous stepless brightness adjustment mode: Triggering conditions: First, complete two quick hand gestures at a medium distance: ToF detects a distance of 15cm < occlusion distance ≤ 30cm, the duration of a single occlusion is > 0.05s, and the interval between the two occlusions is ≤ 0.5s; and within 1s after the above actions are completed, ToF continuously detects an occlusion distance ≤ 5cm in front, and the duration is ≥ 0.5s.

[0042] Actions triggered: The control unit controls the floodlight beads to reduce to the lowest brightness, and at the same time controls the light to flash twice to indicate to the user that the continuous brightness adjustment mode has been entered.

[0043] Brightness adjustment is linearly mapped and steplessly adjustable. Specifically, when the user adjusts the hand occlusion distance within the range of 5cm < d ≤ 30cm, the MCU linearly maps the occlusion distance to the brightness, including: When the blocking distance d=5cm, the corresponding minimum floodlight brightness is 1% of the rated brightness. When the blocking distance d=30cm, the corresponding maximum floodlight brightness (100% of the rated brightness) is achieved. Within the 5cm-30cm range, the brightness increases linearly with increasing distance and decreases linearly with decreasing distance, achieving stepless continuous adjustment throughout the entire range.

[0044] Exit condition: The user quickly removes the obstruction (obstruction distance > 40cm within 100ms), the control unit immediately locks and memorizes the current brightness parameters, controls the light to flash twice, indicating that the brightness adjustment has been completed and exited the mode, returning to the normal working state.

[0045] Scenario 2 involves cyclic adjustment of the light source, see reference. Figure 5 ,include: Triggering prerequisite: The system is in normal working state without stepless adjustment and without adaptive mode; Triggering condition: The sensor detects the distance value d of the wave, which meets the following conditions: 15cm < d ≤ 30cm (switching threshold range), and the single occlusion holding time meets the following condition: 0.05s < t ≤ 0.5s (third preset duration); Each time the triggering condition is met, the control unit performs a light source cycle switching: focused cool white LD1 → floodlight cool white LD2 → floodlight warm white LD3 → focused cool white LD1, and so on.

[0046] In one example, under continuous stepless color temperature adjustment mode: Triggering conditions: First, complete two quick hand gestures at a medium distance: the ToF sensor detects a distance of 15cm < occlusion distance ≤ 30cm, the duration of a single occlusion is > 0.05s, and the interval between the two occlusions is ≤ 0.5s; and within 1s after the above action is completed, the ToF sensor continuously detects an occlusion distance of 30cm < d ≤ 40cm in front, and the duration is ≥ 0.5s.

[0047] Actions after triggering: The control unit keeps the current total brightness of the floodlight unchanged, switches to the coolest color temperature state (the floodlight cool white lamp device is at full duty cycle, and the floodlight warm white lamp device is completely off), and at the same time controls the light to flash twice to indicate to the user that the continuous color temperature adjustment mode has been entered.

[0048] Color temperature adjustment is also linearly mapped and steplessly adjustable. Specifically, when the user adjusts the distance of their hand covering the light source, moving it slowly within the range of 5cm < d ≤ 30cm, the control unit performs a linear complementary mapping between the covering distance and the PWM duty cycle of the two floodlight LEDs, keeping the total luminous flux constant. This includes: when the covering distance d = 5cm, the corresponding warmest color temperature (2700K, floodlight warm white LEDs at full duty cycle, floodlight cool white LEDs completely off); when the covering distance d = 30cm, the corresponding coolest color temperature (6500K, floodlight cool white LEDs at full duty cycle, floodlight warm white LEDs completely off). Within the 5cm-30cm range, the color temperature changes linearly from warm to cool as the distance increases, and from cool to warm as the distance decreases, achieving stepless continuous adjustment across the entire range of 2700K-6500K.

[0049] Exit condition: The user quickly removes the obstruction (obstruction distance > 40cm within 100ms), the control unit immediately locks and memorizes the current color temperature parameter, controls the light to flash twice, indicating that the color temperature adjustment has been completed and exited the mode, returning to the normal working state.

[0050] (ii) For power-on type: If multiple distance values ​​detected within the third preset time period all fall within the first power-on threshold range, and multiple distance values ​​detected within the fourth preset time period following the third preset time period all fall within the second power-on threshold range, the gesture adjustment command of the lighting device is determined to be the power-on type.

[0051] Specifically, in the power-off state, the system enters a low-power standby mode: the control unit enters a sleep state, and the ToF sensor enters a low-power sampling mode with a sampling frequency of 1Hz, detecting only the distance value of the gesture in front; the power-on trigger conditions are as follows: the ToF sensor detects a distance value of the gesture in front ≤ 5cm (first power-on threshold range), and the holding time satisfies 2s < t ≤ 4s (third preset duration); then within 1 second (fourth preset duration), it detects a distance value of the gesture in front > 30cm (second power-on threshold range); if both conditions are met consecutively, the control unit wakes up, performs the power-on action, lights the default floodlight, and enters the normal working mode; if the conditions are not met, the system returns to the low-power standby mode after 3 seconds. It is understood that the above specific data values ​​are not intended to limit this application, but are only for reference in the embodiment. In actual applications, they can be set according to specific circumstances.

[0052] (iii) For shutdown type: Triggering conditions: The distance at which the ToF detects a gesture in front is ≤ a preset distance (e.g., 5cm), the ambient illuminance is ≤ a preset ambient illuminance (e.g., 5lx), and the holding time is ≥ a preset time (e.g., 4s). Once these conditions are met, the control unit performs a shutdown action, turning off all LEDs, and the system enters a low-power standby mode. It is understood that the specific data values ​​mentioned above are not intended to limit this application, but are only for reference in this embodiment. In actual applications, they can be set according to specific circumstances.

[0053] Through the multi-level distance and time coupling judgment in the above embodiments, the three types of gesture intentions of power on, power off and mode switching are accurately identified, which significantly improves the reliability of operation and the ability to resist accidental touch; combined with ambient light collaborative judgment, it effectively avoids interference from water droplets, foreign objects and other objects; it supports dual cycle switching of brightness / light source, with clear operation logic and fast response, which is better than the single switch function of traditional infrared phototransistors.

[0054] In one embodiment, reference Figure 3 The adaptive adjustment commands include at least a spotlight mode and a floodlight mode.

[0055] (a) Division of the range between spotlight mode and floodlight mode: If multiple distance values ​​detected within the eighth preset time period all fall within the floodlight threshold range, the control and adjustment command of the lighting equipment is determined to be floodlight mode, first color temperature and first brightness value; if multiple distance values ​​detected within the eighth preset time period all fall within the spotlight threshold range, the control and adjustment command of the lighting equipment is determined to be spotlight mode, second color temperature and second brightness value.

[0056] Specifically, within 500ms (eighth preset duration), if multiple distance values ​​of obstructions in front are detected and are less than 1m (floodlight threshold range), it is determined that the corresponding working condition is an ultra-close-range fine work area. Then, the floodlight mode is forcibly switched, automatically matching the user-preset warm color temperature, and the brightness is automatically reduced to a medium-low level to avoid glare and reflection, thus protecting the eyes (adaptive adjustment command).

[0057] If multiple distance values ​​of obstructions are detected within 500ms (eighth preset duration), and they fall within the range of 1m ≤ d < 2.5m (floodlight threshold range), the corresponding working condition is determined to be a close-range routine work area. In this case, the floodlight mode is maintained, the user-preset color temperature and brightness parameters are memorized, and no forced adjustments are made, taking into account both the lighting range and comfort (adaptive adjustment command).

[0058] If multiple distance values ​​of obstructions are detected within 500ms (eighth preset duration), and these values ​​fall within the range of 2.5m ≤ d < 2.75m (floodlight threshold range), the corresponding working condition is determined to be in the critical transition zone. In this case, the current lighting mode is maintained, and no switching action is performed to avoid frequent changes in critical distance and eliminate the problem of light flickering (adaptive adjustment command).

[0059] If multiple distance values ​​of obstructions are detected within 500ms (eighth preset duration), and they are ≥2.75m (focusing threshold range), the corresponding working condition is determined to be a long-distance detection area. The focusing mode is then automatically switched, the cool color temperature is matched, and the brightness is automatically increased to the full level to maximize the illumination range and clarity (adaptive adjustment command).

[0060] Through the above embodiments, based on multi-interval distance thresholds and 500ms stable judgment, seamless adaptive switching between focused / floodlight modes is achieved, accurately matching different working conditions; the four-interval division takes into account fine operations, routine inspections, critical transitions and long-distance illumination scenarios, realizing an intelligent lighting experience where the light adapts to wherever the human eye is.

[0061] (ii) Conditions for switching between spotlight mode and floodlight mode: 1. If, when the lighting equipment is currently in floodlight mode, multiple distance values ​​detected within the fifth preset time period continuously rise from the first adaptive threshold range to the second adaptive threshold range, the control adjustment command of the lighting equipment will be switched from floodlight mode to spotlight mode.

[0062] 2. If, when the lighting equipment is currently in spotlight mode, multiple distance values ​​detected within the sixth preset time period continuously decrease from the second adaptive threshold range to the first adaptive threshold range, the control adjustment command of the lighting equipment will be switched from spotlight mode to floodlight mode.

[0063] Specifically, two switching thresholds, 2.5m and 2.75m, are first set to form a 25cm hysteresis range. Mode switching is only performed when the distance changes stably across the range, thus completely solving the problem of frequent switching at critical distances. For example, the switching condition from floodlight mode to spotlight mode is: when the current mode is floodlight mode, the detected illumination distance, i.e., the distance of obstruction in front, increases continuously from <2.5m to ≥2.75m before switching to spotlight mode; the switching condition from spotlight mode to floodlight mode is: when the current mode is spotlight mode, the detected illumination distance, i.e., the distance of obstruction in front, decreases continuously from ≥2.75m to <2.5m before switching to floodlight mode.

[0064] Optionally, during the above detection process, after detecting a change in distance across intervals, the distance must be kept stable for ≥500ms before the corresponding mode switch is executed; if the distance changes again within 500ms, it is determined to be head shaking or the object passing by quickly, and no switching action is executed, perfectly adapting to the high-frequency shaking characteristics of head-mounted scenarios.

[0065] Through the above embodiments, by using dual threshold hysteresis (2.5m / 2.75m) and 500ms stabilization time to determine the frequency of false switching caused by high-frequency shaking or critical distance fluctuations in head-mounted scenarios, the frequent false switching is completely eliminated, thus balancing response speed and stability.

[0066] (III) Upper and lower limit filtering rules for spotlight and floodlight modes: If multiple distance values ​​detected are greater than the first adaptive threshold within the seventh preset time period following the fifth preset time period, the control adjustment command of the lighting device remains in spotlight mode; if multiple distance values ​​detected are less than the second adaptive threshold within the seventh preset time period following the sixth preset time period, the control adjustment command of the lighting device is switched from spotlight mode to floodlight mode.

[0067] Specifically, if the detected distance value is >5m (the rated maximum ranging range of the ToF sensor, i.e., the first adaptive threshold) within the seventh preset time period following the fifth preset time period, it is determined to be an unobstructed long-distance scene, and the spotlight mode remains unchanged; if the detected distance value is <10cm (the second adaptive threshold), the near-distance safety protection logic is triggered, forcibly switching to floodlight mode, and at the same time reducing the brightness to less than 10% of the rated power to avoid direct spotlight exposure that could burn people or ignite flammable materials. Optionally, if a rapid change in distance is detected (e.g., a distance change >2m within 100ms), it is determined to be a non-lighting condition change such as waving or a rapidly passing object, and no mode switching is performed, completely isolated from the gesture control logic, and they do not interfere with each other.

[0068] (iv) Priority of gesture adjustment commands and adaptive adjustment commands: If multiple distance values ​​detected within a preset interval following the first preset duration fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device remains a gesture adjustment command; if multiple distance values ​​detected within a second preset duration fall within the adaptive adjustment threshold range after the first preset duration, then the control adjustment command for the lighting device is determined to be an adaptive adjustment command.

[0069] Specifically, if a user actively switches the lighting mode / brightness / color temperature through manual button or gesture operation (i.e., triggers the gesture adjustment command to switch), the system automatically pauses the adaptive switching function for a preset interval, such as 30 seconds. After 30 seconds without user gesture operation, the adaptive mode is automatically restored to avoid conflicts between the system's automatic adjustment and the user's manual operation, ensuring that the user's operation has the highest priority.

[0070] Through the above embodiments, a collaborative mechanism of gesture priority and adaptive delay takeover is established: after the user performs a gesture, a preset interval (e.g., 30 seconds) is reserved to forcibly maintain the gesture adjustment result and avoid the adaptive logic from interfering with the user's intention; after the interval ends, adaptive operation is automatically restored, taking into account both operational sovereignty and intelligent continuity.

[0071] Understandably, the first, second, third, fourth, fifth, sixth, seventh, and eighth preset durations mentioned above are durations specifically designed for each type of control and adjustment command and are built into the control unit. The specific value of each of the above durations can be set according to actual needs.

[0072] This application also provides a lighting equipment control system, which, by way of example, includes: Sensors are used to detect the distance between the lighting equipment and an obstruction in front of it; The control unit is used to acquire in real time the distance between the lighting device and the obstruction in front, as detected by the sensor; If multiple distance values ​​detected within the first preset time period all fall within the gesture adjustment threshold range, then the control adjustment command for the lighting device is determined to be a gesture adjustment command; if multiple distance values ​​detected within the second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device is determined to be an adaptive adjustment command. Control signals are sent to the power drive unit according to the control and adjustment instructions; The power drive unit is used to control and adjust the lighting equipment according to the control signal.

[0073] This application also provides a lighting device, exemplary of which includes a control unit, thereby enabling the lighting device to perform the lighting device control method described above.

[0074] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that, as an alternative implementation, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0075] In addition, the functional modules or units in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0076] If a function is implemented as a software module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a smartphone, personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application.

[0077] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method for controlling lighting equipment, characterized in that, The lighting device includes a sensor, a power drive unit, and a control unit, wherein the control unit performs the method including: The distance between the lighting device and the obstruction in front, detected by the sensor, is obtained in real time. If multiple distance values ​​detected within a first preset time period all fall within the gesture adjustment threshold range, then the control adjustment command of the lighting device is determined to be a gesture adjustment command; if multiple distance values ​​detected within a second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command of the lighting device is determined to be an adaptive adjustment command. According to the gesture adjustment command or the adaptive adjustment command, a control signal is sent to the power drive unit to trigger the power drive unit to control and adjust the lighting device.

2. The method according to claim 1, characterized in that, The first preset duration includes the third preset duration; the gesture adjustment threshold range includes the switching threshold range; If multiple distance values ​​detected within the first preset time period all fall within the gesture adjustment threshold range, then the control adjustment command for the lighting device is determined to be the gesture adjustment command, including: If multiple distance values ​​detected within the third preset time period all fall within the switching threshold range, a lighting mode switching sequence is obtained; Determine the current lighting mode of the lighting device, and find the next lighting mode following the current lighting mode in the lighting mode switching sequence; The next lighting mode is used as the gesture adjustment command for the lighting device.

3. The method according to claim 2, characterized in that, The first preset duration also includes a third preset duration and a fourth preset duration, and the gesture adjustment threshold range also includes a first power-on threshold range and a second power-on threshold range; If multiple distance values ​​detected within the third preset time period all fall within the first power-on threshold range, and multiple distance values ​​detected within the fourth preset time period following the third preset time period all fall within the second power-on threshold range, then the gesture adjustment command of the lighting device is determined to be a power-on type.

4. The method according to claim 1, characterized in that, The adaptive adjustment commands include a focused light mode and a flood light mode; If multiple distance values ​​detected within the second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device is determined to be the adaptive adjustment command, including: If, when the lighting device is currently in the floodlight mode, multiple distance values ​​detected within the fifth preset time period continuously rise from the first adaptive threshold range to the second adaptive threshold range, the control adjustment command of the lighting device will be switched from the floodlight mode to the spotlight mode.

5. The method according to claim 4, characterized in that, The method further includes: If, when the lighting device is currently in the spotlight mode, multiple distance values ​​detected within the sixth preset time period continuously decrease from the second adaptive threshold range to the first adaptive threshold range, the control adjustment command of the lighting device is switched from the spotlight mode to the floodlight mode.

6. The method according to claim 4, characterized in that, The method further includes: If, within a seventh preset time period following the fifth preset time period, multiple detected distance values ​​are greater than the first adaptive threshold, the control adjustment command of the lighting device remains in the focusing mode; If, within a seventh preset time period following the sixth preset time period, multiple detected distance values ​​are less than the second adaptive threshold, the control adjustment command of the lighting device is switched from the spotlight mode to the floodlight mode.

7. The method according to claim 1, characterized in that, If multiple distance values ​​detected within the second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device is determined to be the adaptive adjustment command, including: If, within a preset interval following the first preset duration, multiple detected distance values ​​all fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device remains the gesture adjustment command. If, after a preset interval following the first preset duration, multiple distance values ​​detected within the second preset duration all fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device is determined to be the adaptive adjustment command.

8. The method according to claim 1, characterized in that, The adaptive adjustment commands include a focused light mode and a flood light mode; If multiple distance values ​​detected within the second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command for the lighting device is determined to be the adaptive adjustment command, including: If multiple distance values ​​detected within the eighth preset time period all fall within the floodlight threshold range, the control adjustment command for the lighting device is determined to be floodlight mode, first color temperature, and first brightness value. If all of the distance values ​​detected within the eighth preset time period fall within the focusing threshold range, the control and adjustment command for the lighting device is determined to be focusing mode, second color temperature, and second brightness value.

9. A lighting equipment control system, characterized in that, The system includes: Sensors are used to detect the distance between the lighting equipment and an obstruction in front of it; The control unit is used to acquire in real time the distance value between the lighting device and the obstruction in front detected by the sensor; If multiple distance values ​​detected within a first preset time period all fall within the gesture adjustment threshold range, then the control adjustment command of the lighting device is determined to be a gesture adjustment command; if multiple distance values ​​detected within a second preset time period all fall within the adaptive adjustment threshold range, then the control adjustment command of the lighting device is determined to be an adaptive adjustment command. A control signal is sent to the power drive unit according to the gesture adjustment command or the adaptive adjustment command; The power drive unit is used to control and adjust the lighting device according to the control signal.

10. A lighting device, characterized in that, Perform the method according to any one of claims 1-9.