Intelligent induction desk lamp and lighting control method thereof

The intelligent sensor desk lamp, which integrates infrared and ambient light sensing modules, achieves an organic combination of non-contact operation and dynamic adjustment of ambient light, solving the shortcomings of existing desk lamps in terms of convenience and comfort, and improving user experience and lighting adaptability.

CN121194368BActive Publication Date: 2026-07-31CONONLUX TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CONONLUX TECH CO LTD
Filing Date
2025-09-28
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing smart desk lamps are inadequate in terms of ease of operation and adaptive adjustment to the environment, failing to balance intelligence and lighting comfort. Especially when the lighting environment needs to be changed frequently, users find it difficult to achieve smooth non-contact operation and coordinated control of automatic lighting environment optimization.

Method used

This intelligent sensor desk lamp integrates an infrared sensor module and an ambient light sensor module, along with a multi-functional touch control component. The infrared sensor module enables non-contact operation and control of the light, while the ambient light sensor module monitors ambient light information in real time to dynamically adjust the brightness and color temperature. The touch control component provides active adjustment of brightness and color temperature.

Benefits of technology

It improves ease of operation and human-computer interaction, reduces the burden of manual adjustment, adapts to complex and ever-changing lighting environments, provides comfortable lighting effects, and balances automatic intelligence with personalized customization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121194368B_ABST
    Figure CN121194368B_ABST
Patent Text Reader

Abstract

This invention relates to the field of lighting control technology, solving the problem of balancing intelligence and lighting comfort in existing desk lamps, and providing an intelligent sensor desk lamp and its lighting control method. The desk lamp includes a lamp body, a connecting component, and a base. The lamp body is connected to the base via the connecting component. The lamp body includes an LED light source, a sensing component, and a touch control component. The sensing component includes an infrared sensing module and an ambient light sensing module. The infrared sensing module controls the LED light source to turn on or off based on non-contact operation by the user within a preset sensing range. The ambient light sensing module adjusts the brightness and / or color temperature of the light source based on ambient light information. The touch control component includes a brightness adjustment button, a color temperature adjustment button, and a power button, used to control the brightness, color temperature, and on / off status of the LED light source, respectively.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of lighting technology, and in particular to an intelligent sensor desk lamp and its lighting control method. Background Technology

[0002] With the increasing demand for lighting in home offices, studies, and for healthy use, modern users are placing higher demands on the intelligence and user-friendliness of desktop lighting products. An ideal desk lamp should not only provide comfortable and stable lighting for different environments and tasks, but also have convenient interactive features to help users efficiently control the light's on / off state, brightness, and color temperature, while minimizing unnecessary operational interference and improving the overall lighting experience. Desk lamps, as everyday lighting devices, are widely used in various scenarios such as homes, offices, and studies. As users' demands for lighting comfort and intelligent experiences continue to rise, some existing desk lamps already possess basic functions such as brightness adjustment and color temperature switching, and some products also integrate simple touch switches or timer functions.

[0003] In current technology, most smart desk lamps on the market are controlled by touch buttons, mechanical buttons, simple infrared sensors, or light sensors. Some desk lamps have introduced infrared sensors to enable gesture-based on / off switching within a specified range, while others have added ambient light sensors to automatically adjust the light brightness according to the surrounding environment. However, these functions are often independent and lack systematicity and coordination. For example, infrared sensor modules can usually only recognize simple on / off actions, have limited sensing accuracy, and are easily triggered by non-target interference; while ambient light sensor modules mostly only implement basic brightness adaptation and cannot respond meticulously to the needs of different users and different scenarios. In addition, when users need to switch between smart sensing and manual adjustment, existing products often have unsmooth interaction, large adjustment delays, or functional conflicts, affecting the user experience.

[0004] It is evident that existing technologies struggle to organically combine user intent recognition with dynamic ambient light adjustment, failing to balance intelligence, convenience, and lighting comfort. Especially in situations requiring frequent changes in the lighting environment and emphasizing intelligent interactive experiences, users find it difficult to achieve smooth, contactless operation and coordinated control of automatic lighting environment optimization using existing desk lamps. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide an intelligent sensor desk lamp and its lighting control method to solve the problem that the existing desk lamps are lacking in terms of combining ease of operation and environmental adaptive adjustment, resulting in a difficulty in balancing intelligence and lighting comfort.

[0006] In a first aspect, embodiments of the present invention provide an intelligent sensor desk lamp, characterized in that the desk lamp comprises: a lamp body, a connecting component, and a base, wherein the lamp body is connected to the base via the connecting component, wherein:

[0007] The lamp body includes an LED light source, a sensing component, and a touch control component. The sensing component includes an infrared sensing module and an ambient light sensing module. The infrared sensing module is used to control the LED light source to turn on or off based on the user's non-contact operation within a preset sensing range. The ambient light sensing module is used to acquire the ambient light information of the physical space where the lamp is located when the light sensing mode is on, so as to adjust the brightness and / or color temperature of the LED light source.

[0008] The touch control component includes a brightness adjustment button, a color temperature adjustment button, and a power button, which are used to control the brightness, color temperature, and on / off state of the LED light source, respectively.

[0009] Preferably, the infrared sensing module includes an infrared function indicator light to indicate the on / off state of the infrared sensing module. After the desk lamp is powered on for the first time, the infrared sensing module is in the on state by default. The infrared sensing module is configured to control the infrared sensing module to switch between the on and off states in response to a first touch operation on the switch button that meets preset conditions.

[0010] Preferably, the brightness adjustment button is configured to respond to the user's touch operation, causing the brightness of the LED light source to be cyclically adjusted between multiple preset brightness levels; the color temperature adjustment button is configured to respond to the user's touch operation, causing the color temperature of the LED light source to be cyclically switched between multiple preset color temperature levels.

[0011] Preferably, the ambient light sensing module includes a sensing mode touch key and an ambient light sensor. The sensing mode touch key is used to turn the light sensing mode on or off. When the light sensing mode is on, the ambient light sensor adjusts the brightness of the preset brightness level selected by the brightness adjustment key according to the ambient light information. When the light sensing mode is off, the LED light source outputs the brightness of the preset brightness level selected by the brightness adjustment key. The touch control component also includes a timed touch key and a timed indicator light. The timed touch key responds to the user's touch operation to turn the timed mode on or off.

[0012] Preferably, the connecting assembly includes a flexible connecting rod and a rigid connecting rod. One end of the flexible connecting rod is connected to the lamp body and used to realize the angle / posture adjustment of the lamp body, and the other end is connected to the rigid connecting rod. The rigid connecting rod is used to achieve detachable assembly with the base and is provided with a power input hole for electrical connection with an external power adapter. The rigid connecting rod and the base are fixed and disassembled by fasteners and / or anti-slip components.

[0013] Preferably, the base includes either a C-shaped fixing frame or a flat base; wherein the C-shaped fixing frame has a clamping part for clamping the desktop panel and a threaded tightening part for driving the C-shaped fixing frame to clamp the desktop panel, the clamping part is composed of an upper clamping arm and a lower clamping arm arranged opposite to each other, the threaded tightening part is disposed on the lower clamping arm and has a pressing end; the C-shaped fixing frame has a mounting through hole for accommodating a rigid connecting rod and is connected to the rigid connecting rod by a fastener, and an anti-slip pad is provided between the contact surface of the fastener and the C-shaped fixing frame or the rigid connecting rod; the flat base is used to fit and cooperate with the bearing surface and is connected to the rigid connecting rod by a fastener.

[0014] In a second aspect, embodiments of the present invention also provide a lighting control method for an intelligent sensor desk lamp, used in the intelligent sensor desk lamp described in the first aspect, the method comprising:

[0015] The activation command is obtained based on the user's touch operation on the switch button, or based on the user's non-contact operation within the preset sensing range of the infrared sensing module.

[0016] In response to the activation command, the first lighting control parameter is obtained based on historical lighting control parameters or preset lighting control parameters, wherein the first lighting control parameter includes a brightness parameter and a color temperature parameter;

[0017] The LED light source is controlled to provide illumination based on the first lighting control parameters;

[0018] In response to a color temperature adjustment command and / or a brightness adjustment command, the first lighting control parameters are adjusted to obtain the second lighting control parameters;

[0019] If the light-sensing mode is on, the second lighting control parameters are adjusted based on the ambient light information obtained by the ambient light sensing module, wherein the ambient light information includes ambient light intensity and ambient light color temperature;

[0020] According to the preset switching rate, the LED light source is controlled to switch from the first lighting control parameter to the second lighting control parameter.

[0021] Preferably, obtaining the activation command based on a user's non-contact operation within a preset sensing range of the infrared sensing module includes:

[0022] If the light-sensing mode is off, obtain an estimated value of ambient light intensity based on the first lighting control parameters and the current time;

[0023] If the light sensing mode is enabled, control the ambient light sensing module to acquire the ambient light intensity;

[0024] An infrared signal intensity threshold is obtained based on the estimated ambient light intensity or the ambient light intensity, wherein the infrared signal intensity threshold is positively correlated with the ambient light intensity or the estimated ambient light intensity.

[0025] When an object is detected entering the preset sensing range of the infrared sensing module, a first infrared signal sequence is acquired;

[0026] Based on the first infrared signal sequence and the infrared signal intensity threshold, it is determined whether the non-contact operation meets the triggering conditions;

[0027] If the conditions are met, the non-contact operation is determined to be an activation command.

[0028] Preferably, obtaining the infrared signal intensity threshold based on the estimated ambient light intensity or the ambient light intensity includes:

[0029] Based on the estimated ambient light intensity or the ambient light intensity, obtain the light intensity reference value;

[0030] Based on the light intensity reference value and the preset infrared signal intensity threshold, a threshold range is determined, wherein the upper and lower limits of the threshold range are positively correlated with the light intensity reference value;

[0031] When no object is detected entering the preset sensing range of the infrared sensing module, a second infrared signal sequence is acquired;

[0032] Extract the background baseline of the second infrared signal sequence and denote it as the environmental noise baseline;

[0033] The second infrared signal sequence is divided according to a preset sampling window to obtain a sampling dataset;

[0034] The amplitude fluctuation is calculated based on the sampled dataset to obtain the amplitude fluctuation index of the second infrared signal sequence.

[0035] An initial threshold is determined within the threshold range based on the environmental noise baseline.

[0036] Based on the amplitude fluctuation index, an anti-interference compensation value is obtained, wherein the anti-interference compensation value and the amplitude fluctuation index are positively correlated.

[0037] The infrared signal strength threshold is obtained based on the anti-interference compensation value and the initial threshold.

[0038] Preferably, determining whether the non-contact operation meets the triggering condition based on the infrared signal sequence and the infrared signal intensity threshold includes:

[0039] Calculate the average signal strength value within a preset sampling period based on the amplitude data of the infrared signal sequence;

[0040] The average signal strength value is compared with the infrared signal strength threshold.

[0041] When the average signal strength value is greater than the infrared signal strength threshold, the start time and end time of the valid signal are obtained according to the infrared signal sequence and the infrared signal strength threshold.

[0042] The duration of the valid signal is obtained based on the start and end times.

[0043] Determine whether the signal duration is within a preset valid range;

[0044] If the signal duration is within the valid range, the operation blocking time period is obtained based on the start time and the preset touch operation blocking duration;

[0045] Determine whether the user has performed a touch operation on the touch control component during the operation blocking period;

[0046] If it exists, a user operation blocking time window is generated based on the touch operation;

[0047] Determine whether the time period of the valid signal overlaps with the operation blocking time period;

[0048] If there is overlap, it is determined that the non-contact operation does not meet the triggering conditions;

[0049] If there is no overlap, analyze the waveform changes of the first infrared signal sequence to determine whether it has a preset directional change feature;

[0050] If the preset directional change characteristic is present, then the non-contact operation satisfies the triggering condition.

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

[0052] The intelligent sensor desk lamp and its lighting control method provided in this invention integrate an infrared sensing module and an ambient light sensing module into the same lamp body, supplemented by a multi-functional touch control component. This achieves an organic combination of user intent recognition and dynamic ambient light adjustment. The infrared sensing module allows users to control the light on and off using non-contact operations such as waving their hands, without needing to touch the lamp. This greatly improves ease of operation, reduces the inconvenience of using traditional buttons due to clutter on the desktop or dirt on the hands, and enhances the human-computer interaction experience of the lamp. Users can control the light without frequently interrupting their current action while focusing on reading, studying, or drawing, enhancing the natural and smooth feel of use. The ambient light sensing module can monitor the ambient light information of the space where the lamp is located in real time when the light sensing mode is activated, and dynamically adjust the brightness and / or color temperature of the LED light source accordingly. When the ambient light dims, the lamp can automatically increase its brightness to provide sufficient illumination; when the ambient light brightens, the lamp can automatically decrease its brightness to avoid glare or energy waste. The adaptive adjustment of color temperature also helps to optimize visual comfort, making the lighting more suitable for actual scene needs. This environmentally-aware intelligent adjustment enhances the desk lamp's adaptability to complex and changing lighting environments, reduces the burden of frequent manual adjustments for users, and further protects eye health. The touch control component retains the user's active control over parameters such as brightness, color temperature, and on / off status, striking a balance between automatic intelligence and personalized customization. Users can enjoy the convenience of automatic sensing while also manually fine-tuning the lighting effect according to their personal preferences, meeting diverse usage needs. Attached Figure Description

[0053] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments of the present invention will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, and these are all within the protection scope of the present invention.

[0054] Figure 1 This is a structural schematic diagram of an intelligent sensor desk lamp according to an embodiment of the present invention.

[0055] Figure 2 This is a schematic diagram of the flexible connecting rod of the intelligent sensor desk lamp according to an embodiment of the present invention.

[0056] Figure 3 This is a schematic diagram of the structure of the intelligent sensor desk lamp assembled with the C-shaped fixing bracket according to an embodiment of the present invention.

[0057] Figure 4 This is a flowchart illustrating the intelligent sensor desk lamp lighting control method according to an embodiment of the present invention.

[0058] Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention.

[0059] Figure label:

[0060] 1. Lamp body; 11. Induction component; 21. Flexible connecting rod; 22. Rigid connecting rod; 3. Base; 41. C-shaped fixing bracket. Detailed Implementation

[0061] The features and exemplary embodiments of various aspects of the present invention will now be described in detail. To make the objectives, technical solutions, and advantages of the present invention clearer, the present 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 only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the invention.

[0062] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0063] It should be noted that all actions involving the acquisition of signals, information, or data in this invention are carried out in compliance with the relevant data protection laws and regulations of the locality and with authorization from the owner of the relevant device.

[0064] Example 1

[0065] Please see Figure 1-3 This invention provides an intelligent sensor desk lamp, comprising: a lamp body, a connecting component, and a base, wherein the lamp body is connected to the base via the connecting component, wherein:

[0066] The lamp body includes an LED light source, a sensing component, and a touch control component. The sensing component includes an infrared sensing module and an ambient light sensing module. The infrared sensing module is used to control the LED light source to turn on or off based on the user's non-contact operation within a preset sensing range. The ambient light sensing module is used to acquire the ambient light information of the physical space where the lamp is located when the light sensing mode is on, so as to adjust the brightness and / or color temperature of the LED light source.

[0067] The touch control component includes a brightness adjustment button, a color temperature adjustment button, and a power button, which are used to control the brightness, color temperature, and on / off status of the LED light source, respectively.

[0068] Specifically, in this embodiment of the invention, the lamp body serves as the supporting unit for the appearance and structure of the desk lamp, integrating multiple key functions. By rationally arranging the light source, sensing components, and touch control components within the same lamp body, the overall compactness and aesthetics of the desk lamp are ensured.

[0069] The lamp body integrates a light source, sensing components, and touch control components. The LED light source can be a high color rendering index LED module with multi-level brightness and color temperature output capabilities, providing not only high-quality lighting but also allowing for precise electronic control of luminous parameters.

[0070] The sensing components further include an infrared sensing module and an ambient light sensing module. The infrared sensing module can recognize non-contact user operations, such as hand gestures, within a set sensing range. Users can turn the light on or off simply by waving their hand near the light fixture without directly touching the fixture. This not only improves the convenience of operation but also avoids accidental button presses caused by oily hands or clutter on the desktop, making it suitable for work scenarios where hands need to be kept clean or where light source status needs to be frequently switched.

[0071] The ambient light sensor module collects real-time ambient light information about the physical space where the desk lamp is located when the light-sensing mode is activated. For example, when the natural light in the room suddenly increases, the ambient light sensor module can automatically reduce the brightness of the desk lamp to avoid over-illumination and energy waste; while when the external environment darkens or encounters complex lighting conditions such as backlighting, the desk lamp automatically increases the brightness or adjusts the color temperature to ensure that the work area always maintains a suitable lighting level. This adaptive adjustment mechanism can minimize the burden on users to frequently manually adjust the light, improve visual comfort and lighting safety, and is particularly suitable for scenarios with high requirements for the lighting environment, such as long-term reading, drawing, or operating electronic devices.

[0072] In addition, the desk lamp is equipped with touch control components such as brightness adjustment buttons, color temperature adjustment buttons, and a power button. Users can adjust the brightness in multiple levels with a light touch, such as switching from a soft night light mode to a high-brightness reading mode, or selecting a suitable color temperature (such as 3000K warm white, 4200K natural white, 6000K cool white) to suit different times and tasks.

[0073] The switch button allows for quick on / off operation of the desk lamp. Combined with infrared sensor control, it retains the convenience of traditional intuitive operation while also incorporating the new experience brought by intelligent sensing.

[0074] Preferably, the infrared sensing module includes an infrared function indicator light to indicate the on / off state of the infrared sensing module. It is in the on state by default after the desk lamp is first powered on and the light source is turned on via the touch control component. The infrared sensing module switches between the on and off states in response to a touch operation of the switch button for a preset duration.

[0075] Specifically, the infrared sensing module includes an infrared function indicator light, which visually displays the on or off status of the infrared sensing module. For example, in practical use, when the user first plugs in the power and turns on the light source via the touch control component, the infrared sensing module automatically turns on, and the infrared function indicator light illuminates accordingly. For instance, a solid blue or green light indicates that the sensing function is activated. The user can quickly determine whether the lamp supports gesture operation by observing the indicator light. If the user wishes to temporarily disable the infrared sensing function, they simply need to press and hold the power button for a preset time (e.g., 3 seconds), and the infrared function indicator light will turn off or turn red, clearly indicating that the sensing function is currently disabled. The lamp will then only accept traditional button control, preventing accidental activation of the light due to pets, wind, or other non-human actions. This design not only enhances the user's awareness of the lamp's operating status but also facilitates flexible switching of operating modes in different usage environments, balancing practicality and intelligent interactive experience.

[0076] Preferably, the brightness adjustment button is configured to respond to the user's touch operation, causing the brightness of the LED light source to be cyclically adjusted between multiple preset brightness levels; the color temperature adjustment button is configured to respond to the user's touch operation, causing the color temperature of the LED light source to be cyclically switched between multiple preset color temperature levels.

[0077] In this embodiment, the brightness adjustment button and the color temperature adjustment button correspond to different user input functions. The brightness adjustment button is set as a touch input. When the user lightly touches the button, the brightness of the desk lamp's LED light source will cycle through multiple preset brightness levels. These levels can be different brightness output levels, such as low, medium, high, or more levels. The user does not need to press and hold continuously or rotate the button; they can adjust the brightness levels simply by touching it, making the operation simple and intuitive.

[0078] The color temperature adjustment button is also touch-sensitive, allowing users to switch between multiple preset color temperature levels, such as warm white light, neutral light, and cool white light, with specific color temperature values ​​varying according to the preset range. This allows users to choose the appropriate light color based on different usage scenarios and personal needs, thus achieving a comfortable lighting experience in situations such as reading, resting, or working.

[0079] Preferably, the ambient light sensing module includes a sensing mode touch key and an ambient light sensor. The sensing mode touch key is used to turn the light sensing mode on or off. When the light sensing mode is on, the ambient light sensor adjusts the brightness of the preset brightness level selected by the brightness adjustment key according to the ambient light information. When the light sensing mode is off, the LED light source outputs the brightness of the preset brightness level selected by the brightness adjustment key. The touch control component also includes a timed touch key and a timed indicator light. The timed touch key responds to the user's touch operation to turn the timed mode on or off.

[0080] Specifically, the ambient light sensing module consists of a sensing mode touch button and an ambient light sensor. The sensing mode touch button allows users to control the activation and deactivation of the light-sensing mode. When the user lightly touches the button, the desk lamp enters the light-sensing mode, and the corresponding indicator light illuminates to indicate the current working status; touching it again deactivates the light-sensing mode, and the corresponding indicator light turns off. When the light-sensing mode is activated, the ambient light sensor collects ambient light information of the space where the desk lamp is located in real time, such as the current light intensity. After acquiring this information, the system dynamically adjusts the brightness value corresponding to the brightness level selected by the user through the brightness adjustment button. In darker environments, the output brightness is increased to meet lighting needs; in brighter environments, the output brightness is appropriately reduced to avoid over-illumination. This maintains the brightness level set by the user while achieving adaptive compensation to the surrounding light environment.

[0081] When the ambient light sensor is off, it no longer adjusts the light, and the LED light source outputs light according to the preset brightness level selected by the user via the brightness adjustment button, ensuring a stable and controllable lighting effect. In addition, the touch control unit includes a timer touch button and a timer indicator light. Users can easily turn the timer mode on or off by touching the timer touch button; when on, the corresponding timer indicator light illuminates, indicating that the lamp is in timed operation mode. When the preset time is reached, the lamp automatically turns off, thus achieving on-demand control. This design not only simplifies user operation but also enhances the lamp's flexibility and energy efficiency.

[0082] Preferably, the connecting assembly includes a flexible connecting rod and a rigid connecting rod. One end of the flexible connecting rod is connected to the lamp body and used to realize the angle / posture adjustment of the lamp body, and the other end is connected to the rigid connecting rod. The rigid connecting rod is used to achieve detachable assembly with the base and is provided with a power input hole for electrical connection with an external power adapter. The rigid connecting rod and the base are fixed and disassembled by fasteners and / or anti-slip components.

[0083] Specifically, in this modified embodiment, the connecting assembly consists of a flexible connecting rod and a rigid connecting rod. One end of the flexible connecting rod is fixedly connected to the lamp body, and the other end is connected to the rigid connecting rod. The flexible connecting rod itself has a bendable structure, allowing the lamp body to be freely adjusted vertically, horizontally, or within a certain angle range, thereby meeting the user's lighting angle requirements in different scenarios. The rigid connecting rod is positioned between the flexible connecting rod and the base, primarily providing overall support and structural stability. Its lower end is detachably assembled with the base, allowing the user to choose different base types as needed.

[0084] A power input hole is provided on the rigid connecting rod for connecting to the DC plug of an external power adapter to provide power to the lamp body. The rigid connecting rod and the base are assembled with fasteners. Anti-slip components can be used during assembly to enhance stability and prevent loosening. Through this structure, the lamp body and the base maintain a reliable fixed relationship while facilitating user operation when disassembling, moving, or replacing the base, thus ensuring the flexibility and maintainability of the overall lamp structure.

[0085] Preferably, the base includes either a C-shaped fixing frame or a flat base; wherein the C-shaped fixing frame has a clamping part for clamping the desktop panel and a threaded tightening part for driving the C-shaped fixing frame to clamp the desktop panel, the clamping part is composed of an upper clamping arm and a lower clamping arm arranged opposite to each other, the threaded tightening part is disposed on the lower clamping arm and has a pressing end; the C-shaped fixing frame has a mounting through hole for accommodating a rigid connecting rod and is connected to the rigid connecting rod by a fastener, and an anti-slip pad is provided between the contact surface of the fastener and the C-shaped fixing frame or the rigid connecting rod; the flat base is used to fit and cooperate with the bearing surface and is connected to the rigid connecting rod by a fastener.

[0086] Specifically, the base can be either a C-shaped bracket or a flat base. The C-shaped bracket is specifically designed for clamping desktop panels, and its structure includes a clamping part and a threaded tightening part. The clamping part consists of an upper clamping arm and a lower clamping arm arranged opposite each other to form a clamping space for the desktop panel; the threaded tightening part is located at the lower clamping arm and has a pressing end. When the user rotates the threaded tightening part, the pressing end presses the desktop panel upward, firmly fixing the desktop panel between the upper and lower clamping arms, thereby achieving a stable installation of the table lamp on the desktop.

[0087] The C-shaped bracket also features mounting holes for accommodating rigid connecting rods, which are then inserted and secured in these holes using fasteners. To enhance installation stability, anti-slip pads are placed at the contact points between the fasteners and the C-shaped bracket or rigid connecting rods, preventing loosening due to prolonged use or vibration. Besides the C-shaped bracket, another option is a flat base, designed to fit directly onto a flat surface. This flat base, also secured to the rigid connecting rod with fasteners, ensures stable support for the lamp.

[0088] Example 2

[0089] Please see Figure 4 This invention provides a lighting control method for an intelligent sensor desk lamp, used in the intelligent sensor desk lamp described in Embodiment 1. The method includes:

[0090] S1. Obtain the opening command based on the user's touch operation on the switch button, or obtain the opening command based on the user's non-contact operation within the preset sensing range of the infrared sensing module;

[0091] Specifically, in this step, the sensing range refers to the effective detection distance set by the manufacturer (e.g., a spatial area of ​​10–25 cm); the activation command is triggered by touch or non-contact actions and is a control command used to turn on the light source or wake up the desk lamp's working status. It unifies and supports two types of entry points in parallel: one is deterministic touch activation, and the other is non-contact, easy-to-use gesture activation, thus taking into account cleanliness, convenience, and response speed.

[0092] In one implementation, upon receiving a user's touch operation, an activation command can be directly generated to turn on the light source, ensuring the certainty and accuracy of the operation.

[0093] In another implementation, an activation command can be generated when a non-contact action of the user (such as a gesture passing over, approaching, or moving away) is detected in the infrared sensing module, thereby avoiding direct contact between the user and the lamp and improving ease of use and cleanliness.

[0094] In a preferred embodiment, both touch and contactless triggering mechanisms are simultaneously implemented and fused based on priority or deduplication logic. For example, when a user performs a touch and a gesture almost simultaneously, the system can determine through a timestamp that only one on / off operation is performed, thereby avoiding repeated on / off switching and further improving the flexibility and stability of the operation.

[0095] S2. In response to the start command, obtain the first lighting control parameter according to the historical lighting control parameter or the preset lighting control parameter, wherein the first lighting control parameter includes the brightness parameter and the color temperature parameter;

[0096] Specifically, historical lighting control parameters refer to the brightness and color temperature settings saved before the lamp was last turned off; preset lighting control parameters are the default brightness and color temperature values ​​set by the factory, such as a default initial state of 70% brightness and 4000K color temperature. The first lighting control parameter refers to the brightness and color temperature settings to be used for the current lighting session. Each time the lamp is turned on, it can automatically restore the appropriate lighting state based on user habits or default settings, eliminating the need for manual settings each time and effectively improving the convenience and continuity of lighting. It implements power-off memory and intelligent initialization, allowing the lamp to automatically configure itself according to user historical preferences, saving repetitive operations and ensuring a personalized and comfortable lighting experience.

[0097] In one embodiment, if no historical lighting control parameters exist, the first lighting control parameters are obtained based on preset lighting control parameters;

[0098] When the desk lamp is used for the first time or after a long period of power outage, and the user's personalized historical lighting control parameters have not yet been stored, the control system will automatically call up the preset lighting control parameters as the initial settings for this lighting. These preset lighting control parameters are usually the manufacturer's default brightness and color temperature values, such as 70% brightness and 4000K color temperature. These parameters have been researched and tested to meet the basic lighting needs of most users, ensuring a comfortable and scientifically designed lighting effect from the first use of the desk lamp.

[0099] If historical lighting control parameters exist, then the lighting control parameters of the light source before it was last turned off are obtained from the historical lighting control parameters and used as the first lighting control parameter.

[0100] If the desk lamp was previously turned off normally and the system has recorded historical lighting control parameters, when the lamp is turned on again, the brightness and color temperature settings of the light source before it was turned off will be extracted from the historical parameters first and used as the primary lighting control parameters for this turn. In this way, the desk lamp can automatically restore to the state it was in last use according to the user's personal habits, without the need for repeated adjustments by the user. This greatly improves the convenience and continuity of use and enhances the adaptability of smart lighting devices to personalized needs.

[0101] S3. Control the LED light source to provide illumination according to the first lighting control parameters;

[0102] Specifically, the light source is driven by the first lighting control parameters to ensure that the light output meets the user's current needs or historical preferences, guaranteeing the desired lighting effect every time the lights are turned on. The first lighting control parameters are parsed into driving commands and sent to the light source's driving circuit. The driving circuit adjusts the current and PWM signal according to the input parameters to precisely control the brightness and color temperature of the light source, achieving continuous and natural light output seamlessly.

[0103] S4. In response to the color temperature adjustment command and / or brightness adjustment command, adjust the first lighting control parameters to obtain the second lighting control parameters;

[0104] The color temperature adjustment command refers to the user's request to adjust the color temperature of the light source by touching the color temperature touch button. Specifically, the color temperature touch button uses a five-level cyclic switching mode. Each time the user touches the button, the color temperature of the desk lamp switches sequentially between 3000K, 3500K, 3800K, 4200K, and 6000K. For example, users can choose warm yellow light (such as 3000K) for nighttime sleep aid, or cool white light (such as 6000K) for daytime study and work, to meet the visual needs and atmosphere creation of different scenarios.

[0105] The brightness adjustment command allows users to control the brightness of the light source by touching the brightness touch button. The brightness touch button also supports five levels of up-and-down cycling adjustment; each light touch of the button increases or decreases the brightness level sequentially.

[0106] By detecting touch button inputs in real time, the system switches the original primary lighting control parameters (the current color temperature and brightness values) to the next preset level based on the user's adjustment, thus generating secondary lighting control parameters. Through this mechanism, users can efficiently switch between multiple color temperature and brightness levels with simple touch operations, eliminating the need for complex settings and significantly improving the lamp's operability and personalized lighting experience. This not only meets users' specific needs for different work scenarios and lighting environments but also enhances the product's user-friendliness and intelligent interactive features.

[0107] In a specific embodiment

[0108] S5. If the light sensing mode is on, the second lighting control parameters are adjusted according to the ambient light information obtained by the ambient light sensing module, wherein the ambient light information includes ambient light intensity and ambient light color temperature.

[0109] Specifically, the light-sensing mode refers to the intelligent working mode of the desk lamp that supports environmental adaptive lighting. In the light-sensing mode, the ambient light sensing module is used to collect ambient light information in the space in real time. The ambient light information includes ambient light intensity and ambient light color temperature. Then, the ambient light information obtained by the sensor is used to further adjust the second lighting control parameters. For example, if the sensor detects that the indoor environment has darkened, the brightness of the light can be automatically increased.

[0110] In one embodiment, step S5 includes:

[0111] When the light source is turned on and the light sensing mode is on, the ambient light sensor is controlled to acquire the instantaneous ambient light intensity value and acquire the ambient light intensity sequence within a preset sampling time.

[0112] Specifically, the instantaneous ambient light intensity value refers to the real-time illuminance data collected by the ambient light sensor at the moment the light source is turned on. The ambient light intensity sequence, on the other hand, is an ordered set of multiple light intensity data collected continuously over a preset sampling period after the light source is turned on (e.g., 20 sets of data obtained after sampling for 2 seconds). This is to comprehensively and dynamically grasp the current trend of ambient light changes, rather than relying solely on a single instantaneous value, and to prevent misjudgments due to occasional brightness fluctuations. By periodically waking up and collecting data from the ambient light sensor, continuous monitoring of the external light environment is achieved. This provides a real and effective data foundation for subsequent intelligent lighting parameter adjustments, and is beneficial to improving the desk lamp's adaptive response capability to complex lighting environments.

[0113] The average ambient light intensity value is obtained by performing a moving average process based on the instantaneous light intensity value and the ambient light intensity sequence.

[0114] Moving average processing is a data smoothing algorithm that removes short-term abnormal fluctuations and noise by weighting or equally weighting the ambient light intensity sequence, making the resulting average ambient light intensity value more representative and stable. For example, if strong light suddenly shines on the sensor at a certain moment, moving average can reduce the impact of this anomaly on the overall judgment. This step obtains a stable reference value reflecting the current real lighting environment through data smoothing. A fixed window moving average (such as averaging the most recent 10 sampling points) can be used to ensure that lighting control does not frequently fluctuate due to short-term changes in ambient light. This method greatly improves the reliability of adaptive environmental adjustment and the continuity of the user's lighting experience.

[0115] The brightness adjustment amount of the second lighting control parameter is determined based on the average ambient light intensity value and the preset ambient brightness threshold.

[0116] The preset ambient brightness threshold is a standard value set for an ideal lighting environment. It is used to compare with the current average ambient light intensity to guide the brightness adjustment strategy. The brightness adjustment amount refers to the number of brightness levels that need to be increased or decreased in the second lighting control parameter (i.e., the current lighting setting). For example, if the average ambient light intensity is lower than the threshold, it means the surroundings are darker, and the system calculates the required increase in brightness; conversely, if the average ambient light intensity is higher than the threshold, it calculates the amount of brightness reduction. The core purpose of this step is to achieve automatic adaptation of the desk lamp's brightness to ambient light. In practice, the control system compares the average ambient light intensity and the threshold in real time, and combines this with the set minimum adjustment step size, maximum increment, and other parameters to accurately calculate the required brightness adjustment amount. This not only ensures the scientific nature and comfort of the lighting but also avoids unnecessary energy consumption and visual fatigue.

[0117] The color temperature adjustment amount is obtained based on the preset color temperature mapping table and the brightness adjustment amount;

[0118] A color temperature mapping table is a multi-dimensional data table established based on the subjective needs of the human eye for ideal color temperature at different brightness levels, or experimental data, to guide the dynamic and linked adjustment of color temperature. The color temperature adjustment amount is the numerical change in color temperature that corresponds to the brightness adjustment amount. For example, when the light dims and the brightness increases, the system can automatically increase the color temperature to make the lighting closer to natural white light and enhance clarity; while when the ambient light increases and the brightness decreases, the color temperature can be appropriately lowered to create a warmer and softer atmosphere. The purpose of this step is to ensure that the lighting output is always closer to the optimal range for human visual physiology through brightness-color temperature linkage adjustment. In practice, the system queries the color temperature mapping table, mapping the brightness adjustment amount to the corresponding color temperature adjustment amount, achieving precise parameter linkage. This not only improves lighting comfort but also makes the desk lamp's adaptive dimming more natural in different scenarios.

[0119] The second lighting control parameters are adjusted according to the brightness adjustment amount and the color temperature.

[0120] This step involves a final update of the second lighting control parameters. Specifically, the brightness and color temperature adjustments obtained in the previous steps are synchronously applied to the second lighting control parameters to form new target lighting parameters. Subsequently, the desk lamp sends the new brightness and color temperature parameters to the driver circuit, achieving synchronous adjustment of the actual light source output. This not only automatically adapts to changes in the external environment but also ensures a harmonious match between lighting color temperature and brightness, maximizing the lighting effect. This collaborative adjustment mechanism significantly enhances the desk lamp's intelligence, comfort, and energy efficiency, creating a more scientific, healthy, and pleasant lighting environment for users.

[0121] S6. According to the preset switching rate, control the LED light source to switch from the first lighting control parameter to the second lighting control parameter.

[0122] The preset switching rate refers to the system-defined speed of change of lighting parameters, such as the time it takes for brightness and color temperature to smoothly transition from their original values ​​to new values. This rate can be flexibly adjusted via hardware timers or software algorithms. The purpose of this step is to prevent visual discomfort caused by sudden changes in lighting parameters, achieving a smooth and seamless transition of light, and creating a more comfortable and natural lighting atmosphere. Specifically, based on the difference between the first and second lighting control parameters, linear interpolation, step adjustment, or PWM gradation can be used to adjust the brightness and color temperature of the light source in stages, increasing or decreasing by a certain amount each time until the target parameters are reached. The entire transition process is smooth and natural for the user, significantly improving the dimming experience of the desk lamp, avoiding discomfort such as "flickering" and "sudden brightening or dimming," and effectively protecting the user's visual health.

[0123] Preferably, obtaining the activation command based on a user's non-contact operation within a preset sensing range of the infrared sensing module includes:

[0124] S11. If the light sensing mode is off, obtain an estimated value of ambient light intensity based on the first lighting control parameters and the current time.

[0125] When the light-sensing mode is off, since real-time ambient brightness information cannot be obtained from the sensor, it is necessary to estimate the ambient light intensity based on existing lighting control parameters and the current time. For example, by combining sunrise and sunset times, the current time, geographical location, and the user's previously set brightness preferences, the approximate brightness of the surrounding environment at this moment can be deduced. This estimation result will serve as an important reference for subsequently determining the effectiveness of the infrared signal, ensuring a relatively accurate response to environmental conditions even without sensor involvement, thereby improving the accuracy and adaptability of operation recognition.

[0126] S12. If the light sensing mode is in the on state, control the ambient light sensing module to obtain the ambient light intensity;

[0127] When the ambient light sensing mode is enabled, the current ambient light intensity can be directly obtained from the ambient light sensing module without estimation. In this case, the actual brightness data detected by the sensor will serve as an important basis for judgment, reflecting the current lighting conditions more accurately than the estimated value, which helps to make the processing of infrared sensing signals more sensitive and precise.

[0128] S13. Obtain an infrared signal intensity threshold based on the estimated ambient light intensity or the ambient light intensity, wherein the infrared signal intensity threshold is positively correlated with the ambient light intensity or the estimated ambient light intensity;

[0129] Specifically, in practical applications, infrared sensing technology is often used for non-contact operation recognition, such as turning lights on or off through gestures like waving or approaching. However, the strength of the infrared signal depends not only on the user's operation but also significantly on ambient lighting conditions. In bright light environments, especially outdoors or near windows during the day, there are numerous sources of infrared interference. For example, sunlight itself contains a large amount of infrared components, which generates background noise for the sensing module, causing the baseline intensity of the infrared signal to rise. In contrast, at night or in low-light indoor environments, infrared interference is significantly reduced, and even a weak reflected signal is sufficient to indicate the user's intention.

[0130] If the system uses a fixed infrared signal strength threshold to determine the validity of an operation, it may misjudge in strong light environments, where the system misidentifies infrared interference in natural light as user operation; or it may miss in low light environments, where the user's actual operation fails to trigger a response due to insufficient signal strength. Therefore, a statically set threshold alone is insufficient to meet the accurate identification requirements in various environments simultaneously.

[0131] To address this, this embodiment introduces a mechanism that dynamically adjusts the infrared signal strength threshold based on ambient light intensity or an estimated value. The ambient light sensor module acquires the current brightness, or, when the light sensor is off, estimates the ambient brightness based on time and control parameters, and adjusts the infrared detection threshold accordingly. This allows the system to automatically match signal recognition sensitivity under different lighting conditions. Higher ambient brightness requires a higher infrared signal strength threshold to filter out background interference; darker environments lower the threshold to improve response to weak but effective operations. This adaptive setting mechanism is a crucial foundation for improving the stability and reliability of non-contact infrared sensing systems.

[0132] Specifically, regardless of whether estimation or real-time sensing is used, the threshold for judging infrared signal intensity must be determined based on ambient light intensity. The infrared signal intensity threshold is automatically adjusted according to the acquired ambient light information. This threshold is positively correlated with the current ambient brightness; that is, the threshold is higher in brighter light and lower in dim environments to enhance the response to weak infrared signals. This dynamic adaptation mechanism avoids misjudgments caused by environmental changes and improves the stability and accuracy of non-contact operation recognition.

[0133] S14. When an object is detected to have entered the preset sensing range of the infrared sensing module, a first infrared signal sequence is acquired.

[0134] S15. Based on the first infrared signal sequence and the infrared signal intensity threshold, determine whether the non-contact operation meets the triggering conditions;

[0135] S16. If the condition is met, the non-contact operation is determined to be an opening command.

[0136] When an object enters the infrared sensing area, the infrared signal change sequence during that phase is acquired in real time and used as the first infrared signal sequence for analysis and judgment. This sequence often contains multiple frames of signal data, reflecting the infrared reflection intensity and temporal characteristics during the object's entry, approach, or movement. By comparing this sequence with the currently set infrared signal intensity threshold, it is determined whether it constitutes a valid human operation. If the signal intensity continuously exceeds the threshold, or if a specific rhythmic and amplitude change pattern appears, it is considered that the user has performed a valid non-contact triggering action, thus identifying the operation as an activation command.

[0137] This judgment process combines a dual adaptive mechanism of lighting conditions and infrared sensing signals, enabling the non-contact control method to accurately identify user intentions in various environments and avoiding false touches or missed judgments under strong or weak light conditions. This further improves the response efficiency of the lighting control system and the user experience.

[0138] Preferably, obtaining the infrared signal intensity threshold based on the estimated ambient light intensity or the ambient light intensity includes:

[0139] S131. Obtain a light intensity reference value based on the estimated ambient light intensity or the ambient light intensity.

[0140] Specifically, when the light-sensing mode is enabled, the data from the photosensitive sensor can be directly sampled as the current light intensity benchmark. In estimation scenarios, the current time period (e.g., day / night), historical data, or brightness control level are combined to make a reverse calculation. For example, if it is currently daytime and the brightness is set to the maximum level, the light intensity benchmark value should be set to a higher level. By obtaining the light intensity benchmark value as an intermediate variable, it is helpful to unify the influence range of different light intensity inputs, making subsequent threshold adjustments more stable and flexible.

[0141] In one embodiment, the readings can be normalized and corrected by combining the upper and lower limits of the measurement range, the factory calibration table of the ambient light sensor, and time period information, so that the readings during the day, at dusk, and at night are comparable at the same scale. This processing facilitates a consistent judgment basis across different sources (estimates or actual measurements) and avoids deviations in subsequent threshold settings due to differences in dimensions or ranges.

[0142] S132. Determine a threshold range based on the light intensity reference value and the preset infrared signal intensity threshold, wherein the upper and lower limits of the threshold range are positively correlated with the light intensity reference value.

[0143] Infrared signal intensity thresholds are used to distinguish valid signals from background noise. Considering that higher light intensity leads to more infrared interference, a fixed value is not used here. Instead, a dynamic threshold range is constructed, with both the upper and lower limits increasing linearly with the light intensity reference value. The purpose of this step is to retrieve the corresponding threshold range from the preset infrared judgment rules based on the light intensity reference value, and to clarify that its upper and lower limits are positively correlated with the light intensity reference value. The stronger the light, the higher the overall threshold range; the weaker the light, the lower the overall threshold range.

[0144] In one specific embodiment, factory limits can be imposed on the interval boundaries to prevent exceeding the usable range in extreme scenarios.

[0145] S133. When no object is detected entering the preset sensing range of the infrared sensing module, acquire the second infrared signal sequence;

[0146] Assuming no object is detected within the infrared sensing range, a second infrared signal sequence is continuously acquired for a specified duration to reflect the background conditions. The acquisition process should avoid periods immediately following touches or mode switching, and minimum idle intervals should be added if necessary. This ensures the sequence contains only background components and is free from human intervention, thereby improving the reliability of subsequent analysis from the outset.

[0147] S134. Extract the background baseline of the second infrared signal sequence and denot it as the environmental noise baseline;

[0148] Baseline extraction is performed on the second infrared signal sequence to obtain the environmental noise baseline. In specific embodiments, robust methods such as median, extreme value removal mean, low quantile, or exponential smoothing can be used for baseline extraction. The extracted environmental noise baseline represents the infrared intensity reference when there is no target in the current field and serves as the anchor point for subsequent positioning of the initial threshold within the threshold range.

[0149] S135. Divide the second infrared signal sequence according to the preset sampling window to obtain a sampling dataset;

[0150] Specifically, the second infrared signal sequence is divided into one or more windowed sampling datasets according to a preset sampling window. Equal-length sliding windows with a set overlap rate can be used to preserve temporal resolution while obtaining a sufficient sample size. This segmentation method provides structured data input for calculating background fluctuations, facilitating the observation of stable trends in amplitude changes across different time slices.

[0151] S136. Perform amplitude fluctuation calculation processing based on the sampled dataset to obtain the amplitude fluctuation index of the second infrared signal sequence;

[0152] Specifically, this step calculates an amplitude fluctuation index based on the sampled dataset to measure the degree of background fluctuation during that period. Measures such as short-time standard deviation and quantile range can be used; in the case of multiple windows, a weighted average or the maximum value is taken to highlight the most representative level of fluctuation.

[0153] S137. Determine an initial threshold within the threshold range based on the environmental noise baseline;

[0154] Specifically, the initial threshold is located within the threshold range by referring to the environmental noise baseline. If the baseline is within the range, it can be directly centered on the baseline and slightly offset according to a predetermined strategy, such as being close to the midpoint of the range or leaving a minimum safety gap above the baseline. If the baseline exceeds the range, it is first clamped at the range boundary and then used as the initial threshold. The initial threshold obtained in this way reflects both the background level of the site and is constrained by the range derived from the light intensity, avoiding being too high or too low.

[0155] S138. Obtain an anti-interference compensation value based on the amplitude fluctuation index, wherein the anti-interference compensation value and the amplitude fluctuation index are positively correlated.

[0156] The anti-interference compensation value is obtained based on the amplitude fluctuation index, and the two are positively correlated. A three- or multi-level lookup table method can be used, or a finer segmented mapping can be employed. Smaller compensation is given in noise-scarce segments, while compensation is increased proportionally or in steps in noise-increasing segments. Smoothing and minimum effective duration are added when necessary to avoid frequent changes in the compensation value within a short period. This compensation value is used to reserve an anti-interference margin beyond the initial threshold to reduce the risk of accidental touches caused by background fluctuations.

[0157] S139. Obtain the infrared signal strength threshold based on the anti-interference compensation value and the initial threshold.

[0158] Finally, the anti-interference compensation value is combined with the initial threshold to obtain the final infrared signal intensity threshold. A boundary check is then performed within the threshold range, and the threshold is smoothly applied according to a preset rate of change limit, ensuring its consistent effectiveness. The final threshold reflects both the current lighting conditions and the background and fluctuations of the scene, maintaining a suitable trigger threshold in both strong and weak light environments, providing a reliable basis for subsequent trigger judgment based on the infrared sequence.

[0159] Preferably, determining whether the non-contact operation meets the triggering condition based on the infrared signal sequence and the infrared signal intensity threshold includes:

[0160] S151. Calculate the average signal strength value within the preset sampling period based on the amplitude data of the infrared signal sequence;

[0161] In this step, the average signal strength value is calculated based on the amplitude data of the infrared signal sequence within a preset sampling period, serving as the first screening step in the entire judgment process. Infrared sensing is easily affected by factors such as instantaneous noise, environmental interference, or the accidental entry of reflective objects in practical applications. Relying directly on single-point data can easily lead to false triggers. Therefore, using the average value can smooth out sudden anomalies within a certain time window, reflecting the true and effective overall signal level. For example, when a user's hand slowly enters the sensing area, the signal strength will continuously rise within a certain range. The average value accurately reflects this trend, thus avoiding false signals caused by momentary flickering light sources or background interference.

[0162] S152. Compare the average signal strength value with the infrared signal strength threshold;

[0163] After obtaining the average signal strength value, it needs to be compared with an infrared signal strength threshold. The threshold is established because different ambient lighting conditions significantly alter the baseline level of the infrared sensor; therefore, a dynamic threshold is necessary to determine whether the signal has sufficient strength to overcome background noise. By comparison, if the average strength value is below the threshold, it indicates that the signal does not significantly exceed the environmental interference range and can be directly determined as invalid, saving subsequent computational resources. If it is above the threshold, it indicates that the signal may originate from actual user interaction and requires further analysis. This step is the dividing line between noise and valid operation, directly related to the balance between false positive rate and sensitivity.

[0164] S153. When the average signal strength value is greater than the infrared signal strength threshold, the start time and end time of the effective signal are obtained according to the infrared signal sequence and the infrared signal strength threshold.

[0165] When the average signal strength value is greater than the infrared signal strength threshold, the effective signal refers to the segment of the infrared signal sequence that continuously exceeds the infrared signal strength threshold. The start time of this segment is the point at which the signal first exceeds the threshold, and the end time is the point at which the signal drops below the threshold again. All consecutive sampling points in between are above the threshold. This method of defining signal segments can reflect the enhanced infrared reflection caused by non-contact user operation, distinguishing it from background noise or transient pulse signals.

[0166] This step separates stable infrared variations caused by user actions from incidental environmental interference. For example, if a user's palm slowly sweeps across the sensing area, the reflected signal will form a waveform segment that continuously rises, holds, and then falls; while noise is often just a single point or a very short spike, and will not form a complete threshold crossing range. By extracting such complete segments as valid signals, a reliable time boundary and signal basis can be provided for subsequent duration determination, masking window comparison, and directional analysis.

[0167] S154. Obtain the duration of the valid signal based on the start time and end time;

[0168] After obtaining the start and end times, the duration of the valid signal needs to be calculated. Duration is a crucial parameter for distinguishing valid operation from transient interference. Sudden infrared reflections in the background are often extremely short-lived, while user gestures typically last for hundreds of milliseconds or even longer. Therefore, by quantifying the duration, it can be further confirmed whether the signal has a duration consistent with human operation characteristics, thereby avoiding the misinterpretation of occasional transient beams of light or rapid reflections in the environment as operations.

[0169] S155. Determine whether the signal duration is within the preset valid range;

[0170] After calculating the duration, it's necessary to determine if it falls within a preset valid range. This valid range is set based on extensive experimental data and user habits, for example, between 200 milliseconds and 2 seconds. If the duration is too short, it indicates the signal lacks complete user behavior characteristics and may be noise; if it's too long, it may be due to prolonged obstruction or interference from ambient light, rather than a rapid user action. By setting a reasonable duration, we can ensure that only signals that match the actual duration of user actions proceed to the next step of analysis. This design directly relates to reducing the false positive rate.

[0171] S156. If the signal duration is within the effective range, obtain the operation blocking time period based on the start time and the preset touch operation blocking duration;

[0172] Once the signal duration is deemed valid, a touch operation shielding mechanism needs to be introduced to address the potential interference between touch and infrared sensing. At this point, an operation shielding period can be derived based on the start time of the valid signal and the preset touch operation shielding duration. In practical use, users may touch buttons while simultaneously waving their hands to adjust lights. Without a shielding mechanism, the infrared sensor could easily misinterpret the infrared obstruction caused by the touch as a non-contact operation. Therefore, the purpose of setting a shielding period is to ignore the infrared signal for a certain period after the user's touch operation, thereby reducing mutual interference.

[0173] Specifically, the touch operation shielding duration design introduced in S156 is primarily to address the issue of users accidentally triggering the infrared sensor while operating the buttons. The desk lamp places the touch control components and the infrared sensing module in relatively close proximity. When a user reaches out to touch the switch, brightness, or color temperature adjustment buttons, their hand inevitably enters the infrared sensing area, generating a noticeable infrared reflection signal. If the system does not differentiate between these signals, it may misinterpret this reflection signal as a non-contact operation, causing the desk lamp to trigger the infrared command simultaneously with the user's touch, resulting in repeated switching of the light on / off state or chaotic control logic.

[0174] Therefore, upon detecting a valid signal, the system automatically generates a time period corresponding to the preset touch operation blocking duration, based on its start time, and uses this period as the operation blocking time. During this time period, if the user does perform a touch operation, the touch operation will generate a blocking window, blocking any overlapping infrared sensor signal detection. The purpose of this design is to prioritize the result of the touch operation when touch and infrared operations may occur simultaneously, avoiding conflicts between the two. In this way, the system can distinguish between active button control and "contactless infrared gestures," thus ensuring the uniqueness and stability of the lamp's response.

[0175] S157. Determine whether the user has performed a touch operation on the touch control component during the operation blocking period.

[0176] Once the shielding period is determined, it's necessary to detect whether the user actually interacted with the touch control components during that time. If a touch operation is detected, it means the infrared signal might be a side effect of the touch, rather than a genuine non-contact operation. Therefore, this touch behavior must be recorded and the shielding conditions generated accordingly. If no touch behavior is detected, the possibility of touch interference can be ruled out, and subsequent infrared signals remain valid candidates.

[0177] S158. If it exists, generate a user operation blocking time window based on the touch operation;

[0178] Once it's confirmed that a user has indeed made a touch operation during the masking period, a user operation masking time window needs to be generated. The existence of this masking window means that all infrared sensing signals will be ignored during the window's duration. This design aims to ensure the uniqueness and determinism of the operation method: once a user has completed an operation via touch, the infrared signal is no longer allowed to be triggered repeatedly, avoiding accidental operations or status fluctuations. For example, if a user touches to turn off a light fixture, and an infrared sensor is simultaneously triggered, the light fixture might immediately turn back on; the masking window mechanism effectively prevents this discrepancy.

[0179] S159. Determine whether the time period of the valid signal overlaps with the operation blocking time period;

[0180] After generating the shielding window, it's necessary to determine if the valid signal time period overlaps with the operation shielding time period. If the two time periods intersect, it indicates that the infrared signal is highly correlated with the touch behavior, and may be a false signal caused by occlusion accompanying the touch; therefore, it should be directly determined as invalid. The background of this design is to ensure touch priority; when the touch behavior is clear, infrared should not become a repeated trigger source.

[0181] S1510. If there is overlap, it is determined that the non-contact operation does not meet the triggering condition.

[0182] If there is an overlap in time periods, it can be directly concluded that the non-contact operation does not meet the triggering conditions. This step is the core of the entire shielding mechanism, reflecting the principle of "touch first, infrared second," thereby ensuring that the system will not generate logical conflicts due to the concurrency of different input methods.

[0183] S1511. If there is no overlap, analyze the waveform changes of the first infrared signal sequence to determine whether it has a preset directional change feature.

[0184] Once it is confirmed that the valid signal and the shielding time period do not overlap, further analysis of the waveform changes in the first infrared signal sequence is needed to determine whether it possesses a preset directional change characteristic. Directional characteristics refer to the gradual increase or decrease, single peak, or specific trend exhibited by hand movements over time, such as from near to far, or from left to right. The background to this analysis is that genuine human actions often have a clear trajectory, while random noise or ambient light flickering typically lacks this patterned characteristic.

[0185] S1512. If the preset directional change feature is present, then the non-contact operation satisfies the triggering condition.

[0186] When the detection results show that the waveform of the infrared signal does indeed conform to the preset directional change characteristics, the signal can be identified as a valid non-contact operation by the user, thus meeting the trigger conditions and outputting an activation command. This step is the final confirmation stage, combining four comprehensive conditions: signal strength, duration, touch shielding, and waveform characteristics. It ensures that only when multiple verifications pass will the user's non-contact control be truly executed. This rigorous design aims to avoid accidental and missed touches, enabling the desk lamp to maintain stable and accurate response behavior in various complex environments.

[0187] Example 3

[0188] In addition, combined Figure 4 The lighting control method for the intelligent sensor desk lamp described in this embodiment of the invention can be implemented by an electronic device. Figure 5 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention is shown.

[0189] Electronic devices may include processors and memory storing computer program instructions.

[0190] Specifically, the processor may include a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement embodiments of the present invention.

[0191] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0192] Computer-readable media include both permanent and non-permanent, removable and non-removable media, which can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient media, such as modulated communication signals and carrier waves.

[0193] The processor reads and executes computer program instructions stored in the memory to implement any of the lighting control methods for the intelligent sensor desk lamp in the above embodiments.

[0194] In one example, the electronic device may also include a communication interface and a bus. For example, Figure 5 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 410 and complete communication with each other.

[0195] The communication interface is mainly used to enable communication between various modules, devices, units and / or equipment in the embodiments of the present invention.

[0196] A bus, including hardware, software, or both, couples components of an electronic device together. For example, and not limitingly, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, a bus may include one or more buses. While specific buses are described and illustrated in embodiments of the invention, the invention contemplates any suitable bus or interconnect.

[0197] Example 4

[0198] Furthermore, in conjunction with the lighting control method of the intelligent sensor desk lamp in the above embodiments, this invention can be implemented using a computer-readable storage medium. This computer-readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the lighting control methods of the intelligent sensor desk lamp in the above embodiments.

[0199] It should be clarified that the present invention is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of the present invention.

[0200] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0201] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0202] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0203] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0204] It should also be noted that the exemplary embodiments mentioned in this invention describe methods or systems based on a series of steps or apparatus. However, this invention is not limited to the order of the steps described above; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0205] The above description is merely a specific embodiment of the present invention. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and these modifications or substitutions should all be covered within the protection scope of the present invention.

Claims

1. A lighting control method of a smart induction table lamp, characterized by, A smart sensor desk lamp includes: a lamp body, a connecting component, and a base, wherein the lamp body is connected to the base via the connecting component, wherein: The lamp body includes an LED light source, a sensing component, and a touch control component. The sensing component includes an infrared sensing module and an ambient light sensing module. The infrared sensing module is used to control the LED light source to turn on or off based on the user's non-contact operation within a preset sensing range. The ambient light sensing module is used to acquire the ambient light information of the physical space where the lamp is located when the light sensing mode is on, so as to adjust the brightness and / or color temperature of the LED light source. The touch control component includes a brightness adjustment button, a color temperature adjustment button, and a power button, which are used to control the brightness, color temperature, and on / off state of the LED light source, respectively. The method includes: The activation command is obtained based on the user's touch operation on the switch button, or based on the user's non-contact operation within the preset sensing range of the infrared sensing module. In response to the activation command, the first lighting control parameter is obtained based on historical lighting control parameters or preset lighting control parameters, wherein the first lighting control parameter includes a brightness parameter and a color temperature parameter; The LED light source is controlled to provide illumination based on the first lighting control parameters; In response to a color temperature adjustment command and / or a brightness adjustment command, the first lighting control parameters are adjusted to obtain the second lighting control parameters; If the light-sensing mode is on, the second lighting control parameters are adjusted based on the ambient light information obtained by the ambient light sensing module, wherein the ambient light information includes ambient light intensity and ambient light color temperature; According to a preset switching rate, the LED light source is controlled to switch from the first lighting control parameter to the second lighting control parameter; The step of obtaining the activation command based on a user's non-contact operation within a preset sensing range of the infrared sensing module includes: If the light-sensing mode is off, obtain an estimated value of ambient light intensity based on the first lighting control parameters and the current time; If the light sensing mode is enabled, control the ambient light sensing module to acquire the ambient light intensity; An infrared signal intensity threshold is obtained based on the estimated ambient light intensity or the ambient light intensity, wherein the infrared signal intensity threshold is positively correlated with the ambient light intensity or the estimated ambient light intensity. When an object is detected entering the preset sensing range of the infrared sensing module, a first infrared signal sequence is acquired; Based on the first infrared signal sequence and the infrared signal intensity threshold, it is determined whether the non-contact operation meets the triggering conditions; If the conditions are met, the non-contact operation is determined to be an activation command; The step of obtaining the infrared signal intensity threshold based on the estimated ambient light intensity or the ambient light intensity includes: Based on the estimated ambient light intensity or the ambient light intensity, obtain the light intensity reference value; Based on the light intensity reference value and the preset infrared signal intensity threshold, a threshold range is determined, wherein the upper and lower limits of the threshold range are positively correlated with the light intensity reference value; When no object is detected entering the preset sensing range of the infrared sensing module, a second infrared signal sequence is acquired; Extract the background baseline of the second infrared signal sequence and denote it as the environmental noise baseline; The second infrared signal sequence is divided according to a preset sampling window to obtain a sampling dataset; The amplitude fluctuation is calculated based on the sampled dataset to obtain the amplitude fluctuation index of the second infrared signal sequence. An initial threshold is determined within the threshold range based on the environmental noise baseline. Based on the amplitude fluctuation index, an anti-interference compensation value is obtained, wherein the anti-interference compensation value and the amplitude fluctuation index are positively correlated. The infrared signal strength threshold is obtained based on the anti-interference compensation value and the initial threshold.

2. The lighting control method of the smart induction table lamp according to claim 1, wherein, The step of determining whether the non-contact operation meets the triggering condition based on the infrared signal sequence and the infrared signal intensity threshold includes: Calculate the average signal strength value within a preset sampling period based on the amplitude data of the infrared signal sequence; The average signal strength value is compared with the infrared signal strength threshold. When the average signal strength value is greater than the infrared signal strength threshold, the start time and end time of the valid signal are obtained according to the infrared signal sequence and the infrared signal strength threshold. The duration of the valid signal is obtained based on the start and end times. Determine whether the signal duration is within a preset valid range; If the signal duration is within the valid range, the operation blocking time period is obtained based on the start time and the preset touch operation blocking duration; Determine whether the user has performed a touch operation on the touch control component during the operation blocking period; If it exists, a user operation blocking time window is generated based on the touch operation; Determine whether the time period of the valid signal overlaps with the operation blocking time period; If there is overlap, it is determined that the non-contact operation does not meet the triggering conditions; If there is no overlap, analyze the waveform changes of the first infrared signal sequence to determine whether it has a preset directional change feature; If the preset directional change characteristic is present, then the non-contact operation satisfies the triggering condition.

3. The lighting control method for the intelligent sensor desk lamp according to claim 1, characterized in that, The infrared sensing module includes an infrared function indicator light to indicate the on / off state of the infrared sensing module. After the desk lamp is powered on for the first time, the infrared sensing module is in the on state by default. The infrared sensing module is configured to control the infrared sensing module to switch between the on and off states in response to a first touch operation on the switch button that meets preset conditions.

4. The lighting control method for the intelligent sensor desk lamp according to claim 1, characterized in that, The brightness adjustment button is configured to respond to the user's touch operation, so that the brightness of the LED light source is cyclically adjusted between multiple preset brightness levels; The color temperature adjustment button is configured to respond to the user's touch operation, causing the color temperature of the LED light source to cycle between multiple preset color temperature levels.

5. The lighting control method for the intelligent sensor desk lamp according to claim 4, characterized in that, The ambient light sensing module includes a sensing mode touch key and an ambient light sensor. The sensing mode touch key is used to turn the light sensing mode on or off. When the light sensing mode is on, the ambient light sensor adjusts the corresponding brightness of the preset brightness level selected by the brightness adjustment key according to the ambient light information. When the light-sensing mode is off, the LED light source outputs the corresponding brightness according to the preset brightness level selected by the brightness adjustment button; the touch control component also includes a timed touch button and a timed indicator light, the timed touch button responds to the user's touch operation to turn the timed mode on or off.

6. The lighting control method for the intelligent sensor desk lamp according to claim 1, characterized in that, The connecting assembly includes a flexible connecting rod and a rigid connecting rod. One end of the flexible connecting rod is connected to the lamp body and used to realize the angle / posture adjustment of the lamp body, and the other end is connected to the rigid connecting rod. The rigid connecting rod is used to achieve detachable assembly with the base and is provided with a power input hole for electrical connection with an external power adapter. The rigid connecting rod and the base are fixed and disassembled by fasteners and / or anti-slip components.

7. The lighting control method for the intelligent sensor desk lamp according to claim 6, characterized in that, The base includes either a C-shaped fixing frame or a flat base; wherein the C-shaped fixing frame has a clamping part for clamping the desktop panel and a threaded tightening part for driving the C-shaped fixing frame to clamp the desktop panel, the clamping part is composed of an upper clamping arm and a lower clamping arm arranged opposite to each other, and the threaded tightening part is located on the lower clamping arm and has a pressing end; the C-shaped fixing frame has a mounting through hole for accommodating a rigid connecting rod and is connected to the rigid connecting rod by a fastener, and an anti-slip pad is provided between the contact surface of the fastener and the C-shaped fixing frame or the rigid connecting rod; the flat base is used to fit and cooperate with the bearing surface and is connected to the rigid connecting rod by a fastener.