Remote control method and device for LED lamp

By broadcasting verification instructions and calculating the actual distance in the LED light remote control system, the problem that users cannot manually control the switch is solved, and the LED light switch control without human intervention is realized, which improves convenience and safety, and reduces energy consumption .

CN117769099BActive Publication Date: 2024-12-13GUIZHOU XUDING OPTOELECTRONICS TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410116588.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2024-12-13
Estimated Expiration
2044-01-29

AI Technical Summary

Technical Problem

The existing remote control method of LED light cannot implement manual control switches, which makes it impossible for users to switch lights while using both hands.

Method used

By broadcasting verification instructions to the preset range, receiving and decoding feedback instructions, calculating the actual distance between the LED controller and the target terminal, controlling the switch of the LED light according to the distance difference, distinguishing unfamiliar devices, and weakening through channel replacement or correction distance formula Signal attenuation effect.

Benefits of technology

The switch control of LED lights without human intervention is realized, reducing artificial operation, improving convenience and safety of life, and reducing energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117769099B_ABST
    Figure CN117769099B_ABST
Patent Text Reader

Abstract

The invention discloses a remote control method and device for an LED lamp, and relates to the field of remote control technology. A verification instruction is broadcasted within a preset range; so that a target terminal receives and decodes the verification instruction. If the verification instruction is decoded successfully, a feedback instruction is repeatedly sent to an LED controller; the feedback instruction is received and the actual distance between the LED controller and the target terminal is calculated; and the switch of the LED lamp is controlled according to the difference between the actual distance and the preset distance. Strange devices are distinguished by the verification instruction. Since the verification instruction is encrypted, the strange devices cannot be remotely controlled. The difference between the calculated actual distance and the preset distance is used as the judgment of the control switch, thereby reducing human control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of short-distance wireless communication, and in particular relates to a remote control method and device for an LED lamp. Background Art

[0002] With the rapid development of social economy and the continuous improvement of people's living standards, home lighting is no longer limited to basic lighting functions, but is moving towards intelligence, comfort and convenience. Through remote control of LED lights, people can easily cope with various life scenarios, whether it is family life or late night office, they can get just the right application, which greatly improves the quality and comfort of life. In the environment of smart home, network technology and popularization of LED lights, remote control of LED lights has been widely popularized and has become an important part of modern life and office.

[0003] The existing remote control of LED lights connects and configures the LED lights with the control device, uses wireless communication technology to establish a connection, and the control device sends instructions to the LED lights. The user's hands are occupied and cannot manually control the switch. Summary of the invention

[0004] The purpose of the present invention is to solve the problem that the switch cannot be controlled manually, and to provide a remote control method and device for an LED lamp.

[0005] In a first aspect of the present invention, a remote control method for an LED lamp is first proposed, the method comprising:

[0006] Broadcasting a verification instruction within a preset range; so that the target terminal receives and decodes the verification instruction, and if the verification instruction is decoded successfully, repeatedly sending a feedback instruction to the LED controller;

[0007] receiving the feedback instruction and calculating the actual distance between the LED controller and the target terminal;

[0008] The LED light is controlled to be turned on or off according to the difference between the actual distance and the preset distance.

[0009] Optionally, receiving the feedback instruction and calculating the actual distance between the LED controller and the target terminal includes:

[0010] The signal attenuation state of the feedback command is determined according to whether the actual curve falls within the curve interval of the preset signal strength; the actual curve is a curve obtained by fitting the feedback command signal strength received within the LED controller cycle;

[0011] If the actual curve falls within the curve interval of the preset signal strength, the actual distance is calculated, and the difference between the actual distance and the preset distance is used to control the power supply and switch of the LED light;

[0012] If the actual curve falls outside the curve interval of the preset signal strength, a channel change instruction is sent to the target terminal, so that the target terminal reduces the frequency of the feedback instruction wireless channel until the signal attenuation of the feedback instruction is stable and smooth.

[0013] Optionally, the LED light is on when the power is turned on and the switch is turned on, and according to the difference between the actual distance and the preset distance, controlling the switch of the LED light includes:

[0014] If the difference between the actual distance and the preset distance is greater than or equal to zero, it is determined that the LED lamp is in a standby state; the standby state is that the LED lamp is powered on, but the switch is turned off;

[0015] If the difference between the actual distance and the preset distance is less than zero, it is determined that the LED lamp is in the start-up state; the start-up state is that the LED lamp is powered on and the switch is turned on.

[0016] Optionally, the method further includes:

[0017] If the LED light is determined to be in standby mode, the actual distance of the target terminal is continuously calculated, and if it exceeds the preset detection time, the detection frequency within the cycle is reduced;

[0018] If the LED light is determined to be in the on state, the transmitting module of the LED controller will be turned off, and the broadcasting of the verification instruction to the preset range will be stopped.

[0019] Optionally, the method further includes:

[0020] If the target terminal reduces the frequency of the feedback instruction wireless channel, the signal of the feedback instruction is still distorted, and the correction parameter is determined according to the ratio of the mean slope of the curve interval of the preset signal strength to the actual curve slope;

[0021] The wireless communication distance calculation formula is corrected according to the correction parameter, and the actual distance is calculated using the corrected wireless communication distance calculation formula.

[0022] Optionally, after verifying that the instruction is decoded successfully, the method further includes:

[0023] The target terminal controls the switch, brightness and color temperature of the LED light by sending control instructions.

[0024] Optionally, before broadcasting the verification instruction to the preset range, the method further includes:

[0025] If it is detected that the natural light intensity is lower than the preset intensity, the transmitting module of the LED controller is turned on.

[0026] In a second aspect of the present invention, a remote control device for an LED lamp is provided, the device comprising:

[0027] A transmitting module, used for broadcasting a verification instruction within a preset range, so that a target terminal receives and decodes the verification instruction, and if the verification instruction is decoded successfully, repeatedly sending a feedback instruction to the LED controller;

[0028] A receiving module, used for receiving the feedback instruction and calculating the actual distance between the LED controller and the target terminal;

[0029] The control module is used to control the switch of the LED light according to the difference between the actual distance and the preset distance.

[0030] Beneficial effects of the present invention:

[0031] The present invention proposes a remote control method for an LED lamp, which broadcasts a verification instruction within a preset range; enables a target terminal to receive and decode the verification instruction, and if the verification instruction is successfully decoded, repeatedly sends a feedback instruction to the LED controller; receives the feedback instruction and calculates the actual distance between the LED controller and the target terminal; and controls the switch of the LED lamp according to the difference between the actual distance and the preset distance. Strange devices are distinguished by the verification instruction. Since the verification instruction is encrypted, the strange device cannot be remotely controlled. The difference between the calculated actual distance and the preset distance is used as the judgment of controlling the switch, thereby reducing human control. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The present invention will be further described below in conjunction with the accompanying drawings.

[0033] Figure 1 A flowchart of a remote control method for an LED lamp is provided for an embodiment of the present invention;

[0034] Figure 2 A flowchart of another remote control method for an LED lamp is provided for an embodiment of the present invention;

[0035] Figure 3 A structural diagram of a remote control device for an LED lamp is provided in accordance with an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0037] The embodiment of the present invention provides a remote control method for an LED lamp. Figure 1 , Figure 1 A flowchart of a remote control method for an LED lamp provided by an embodiment of the present invention. The method comprises the following steps:

[0038] S101, broadcasting a verification instruction within a preset range so that a target terminal receives and decodes the verification instruction. If the verification instruction is decoded successfully, a feedback instruction is repeatedly sent to the LED controller.

[0039] S102, receiving a feedback instruction and calculating the actual distance between the LED controller and the target terminal.

[0040] S103, controlling the switch of the LED light according to the difference between the actual distance and the preset distance.

[0041] A remote control method for an LED lamp provided in an embodiment of the present invention distinguishes unfamiliar devices through verification instructions. Since the verification instructions are encrypted, unfamiliar devices cannot be remotely controlled. The difference between the calculated actual distance and the preset distance is used as the judgment of the control switch to reduce human control. The influence of signal attenuation is weakened by changing the channel or correcting the distance formula.

[0042] In one implementation, after the LED controller and the target terminal establish a connection for the first time, the target terminal obtains the command control program from the LED controller and exchanges keys with each other. The target terminal can subsequently use the key to decode and verify the command.

[0043] In one implementation, since the verification instruction is encrypted with a key, non-target terminals cannot decode it and cannot maliciously send feedback instructions.

[0044] In one implementation, the target terminal may be a mobile phone, a tablet, or other device capable of short-range communication.

[0045] In one embodiment, see Figure 2 ,exist Figure 1 Based on this, step S102 includes:

[0046] S1021, if the actual curve falls within the curve interval of the preset signal strength, the difference between the actual distance and the preset distance is calculated, and the power supply and switch of the LED lamp are controlled.

[0047] S1022: If the actual curve falls outside the preset signal strength curve range, a channel change instruction is sent to the target terminal to enable the target terminal to reduce the frequency of the feedback instruction wireless channel until the signal attenuation of the feedback instruction is stable and smooth.

[0048] The actual curve is a curve obtained by fitting the feedback command signal strength received within the LED controller cycle, and the curve range of the preset signal strength is a range summarized from a large number of experiments.

[0049] In one implementation, the power supply and the switch are controlled separately, and the safety risk caused by the current at the moment of turning on the switch is avoided.

[0050] In one implementation, if the feedback command signal strength received by the LED controller is within the curve interval, it means that the signal attenuation is stable and there is no obstacle influence. If the feedback command signal strength received by the LED controller is outside the curve interval, it means that the signal attenuation is abnormal and there is obstacle interference, and the channel can be changed to reduce the influence of signal attenuation.

[0051] In one implementation, the actual distance can be calculated based on the degree of signal attenuation.

[0052] In one embodiment, when the LED lamp is powered on and the switch is turned on, the LED lamp is on, and step S103 includes:

[0053] Step 1: If the difference between the actual distance and the preset distance is greater than or equal to zero, it is determined that the LED light is in standby mode.

[0054] Step 2: If the difference between the actual distance and the preset distance is less than zero, it is determined that the LED light is in the on state.

[0055] In one implementation, the preset distance is a distance set by a user, and the preset distance is used by the LED controller as a basis for determining whether the light is on or off.

[0056] In one implementation, the LED lamp is in a standby state where the power is on and the switch is off, thereby reducing the aging of the LED lamp caused by instantaneous high current.

[0057] In one implementation, the LED lamp is in a startup state when the power is on and the switch is turned on, and the LED lamp operates normally.

[0058] In one embodiment, after step S1022, the method further includes:

[0059] The wireless communication distance calculation formula is corrected according to the correction parameter, and the actual distance is calculated using the corrected wireless communication distance calculation formula.

[0060] The correction parameter is the ratio of the mean slope of the curve interval of the preset signal strength to the actual curve slope.

[0061] In one implementation, the actual distance is obtained by using the wireless communication distance calculation formula L=K+201 gD+201 gF.

[0062] In one implementation, the ratio of the mean slope of the curve interval of the preset signal strength to the actual curve slope is less than 1, so the correction parameter σ is less than 1. By adding the correction parameter σ to the wireless communication distance calculation formula, the corrected formula is σL=K+20l gD+20l gF.

[0063] In one implementation, the abnormal amount of signal attenuation caused by obstacles is corrected by adding parameters, thereby reducing errors and improving accuracy.

[0064] In one embodiment, step S1021 may include the following steps:

[0065] Step 1: If the LED light is in standby mode, the actual distance to the target terminal is continuously calculated. If the preset detection time is exceeded, the detection frequency within the cycle is reduced.

[0066] Step 2: If the LED light is in the on state, the transmitting module of the LED controller will be turned off, and the broadcasting of the verification instruction to the preset range will be stopped.

[0067] Reduce the detection frequency within the cycle. For example, the original detection frequency is 10 detection feedback instructions within 10 seconds, and after reduction, it is 5 detections within 10 seconds.

[0068] In one implementation, if the LED light is determined to be in standby mode, it means that the target terminal is wandering within a preset distance, and unnecessary energy consumption is reduced by reducing the detection frequency within the cycle.

[0069] In one implementation, if the LED light is determined to be in the on state, it means that the target terminal is within a preset distance, and there is no need to broadcast the verification instruction within the preset range, thereby reducing unnecessary energy consumption.

[0070] In one embodiment, after step S101, the method further includes:

[0071] The target terminal controls the switch, brightness and color temperature of the LED light by sending control instructions.

[0072] In one embodiment, before step S101, the method further includes:

[0073] If it is detected that the natural light intensity is lower than the preset intensity, the transmitting module of the LED controller is turned on.

[0074] In one implementation, the preset intensity is a pre-set natural light intensity. If the intensity is lower than the preset intensity, the transmitting module of the LED controller is turned on. If the intensity is higher than the preset intensity, the power supply and switch of the LED lamp are automatically turned off, thereby reducing energy consumption.

[0075] Based on the same inventive concept, the present invention also provides a device. Figure 3 , Figure 3 A framework diagram of a device provided in an embodiment of the present invention includes:

[0076] The transmitting module is used to broadcast the verification instruction within a preset range.

[0077] The receiving module is used to receive the feedback instruction and calculate the actual distance between the LED controller and the target terminal.

[0078] The control module is used to control the switch of the LED light according to the difference between the actual distance and the preset distance.

[0079] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

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

[0081] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system, electronic device and storage medium, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0082] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A remote control method for an LED lamp, characterized in that: The method is applied to an LED controller in an LED lamp, and the method comprises: Broadcasting a verification instruction within a preset range; so that the target terminal receives and decodes the verification instruction, and if the verification instruction is decoded successfully, repeatedly sending a feedback instruction to the LED controller; receiving the feedback instruction and calculating the actual distance between the LED controller and the target terminal; Controlling the switch of the LED light according to the difference between the actual distance and the preset distance; Receiving the feedback instruction and calculating the actual distance between the LED controller and the target terminal includes: The signal attenuation state of the feedback command is determined according to whether the actual curve falls within the curve interval of the preset signal strength; the actual curve is a curve obtained by fitting the feedback command signal strength received within the LED controller cycle; If the actual curve falls within the curve interval of the preset signal strength, the actual distance is calculated, and the difference between the actual distance and the preset distance is used to control the power supply and switch of the LED light; If the actual curve falls outside the curve interval of the preset signal strength, a channel change instruction is sent to the target terminal, so that the target terminal reduces the frequency of the feedback instruction wireless channel until the signal attenuation of the feedback instruction is stable and smooth.

2. A remote control method for an LED lamp according to claim 1, characterized in that: The LED lamp is turned on when the power is turned on and the switch is turned on. According to the difference between the actual distance and the preset distance, controlling the switch of the LED lamp includes: If the difference between the actual distance and the preset distance is greater than or equal to zero, it is determined that the LED lamp is in a standby state; the standby state is that the LED lamp is powered on, but the switch is turned off; If the difference between the actual distance and the preset distance is less than zero, it is determined that the LED lamp is in the start-up state; the start-up state is that the LED lamp is powered on and the switch is turned on.

3. A remote control method for an LED lamp according to claim 2, characterized in that: The method further comprises: If the LED light is determined to be in standby mode, the actual distance of the target terminal is continuously calculated, and if it exceeds the preset detection time, the detection frequency within the cycle is reduced; If the LED light is determined to be in the on state, the transmitting module of the LED controller will be turned off, and the broadcasting of the verification instruction to the preset range will be stopped.

4. A remote control method for an LED lamp according to claim 1, characterized in that: The method further comprises: If the target terminal reduces the frequency of the feedback instruction wireless channel, the signal of the feedback instruction is still distorted, and the correction parameter is determined according to the ratio of the mean slope of the curve interval of the preset signal strength to the actual curve slope; Correcting the wireless communication distance calculation formula according to the correction parameter, and using the corrected wireless communication distance calculation formula to calculate the actual distance; The actual distance is obtained by the wireless communication distance calculation formula L=K+20lgD+20lgF. The ratio of the mean slope of the curve interval of the preset signal strength to the actual curve slope is less than 1, so the correction parameter σ is less than 1. By adding the correction parameter σ to the wireless communication distance calculation formula, the corrected formula is σL=K+20lgD+20lgF.

5. A remote control method for an LED lamp according to claim 1, characterized in that: After verifying that the instruction decoding is successful, the method further includes: The target terminal controls the switch, brightness and color temperature of the LED light by sending control instructions.

6. A remote control method for an LED lamp according to claim 1, characterized in that: Before broadcasting the verification instruction within the preset range, the method further includes: If it is detected that the natural light intensity is lower than the preset intensity, the transmitting module of the LED controller is turned on.

7. A remote control device for an LED lamp, characterized in that: The device is applied to an LED controller, and the device comprises: A transmitting module, used for broadcasting a verification instruction within a preset range, so that a target terminal receives and decodes the verification instruction, and if the verification instruction is decoded successfully, repeatedly sending a feedback instruction to the LED controller; A receiving module, used for receiving the feedback instruction and calculating the actual distance between the LED controller and the target terminal; A control module, used for controlling the switch of the LED light according to the difference between the actual distance and the preset distance; The receiving module is specifically used for: The signal attenuation state of the feedback command is determined according to whether the actual curve falls within the curve interval of the preset signal strength; the actual curve is a curve obtained by fitting the feedback command signal strength received within the LED controller cycle; If the actual curve falls within the curve interval of the preset signal strength, the actual distance is calculated, and the difference between the actual distance and the preset distance is used to control the power supply and switch of the LED light; If the actual curve falls outside the curve interval of the preset signal strength, a channel change instruction is sent to the target terminal, so that the target terminal reduces the frequency of the feedback instruction wireless channel until the signal attenuation of the feedback instruction is stable and smooth.