Method for obtaining, controlling, device and storage medium of LED lamp scanning frequency

By obtaining the distance between the LED lamp and the receiving head and calculating the appropriate scanning frequency, the problem of interference between the LED lamp and the receiving head is solved, and the compatibility and luminous effect are balanced.

CN115551150BActive Publication Date: 2025-08-19QINGDAO HAIER AIR CONDITIONER GENERAL CORP LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211014319.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-23
Publication Date
2025-08-19
Estimated Expiration
2042-08-23

AI Technical Summary

Technical Problem

The flashing light signal of the LED lamp interferes with the receiving head, affecting the reception of remote control signal. In the prior art, the anti-interference method of increasing the distance between the LED lamp and the receiving head is limited by the control board layout limitation, and the effect is not good.

Method used

By obtaining the distance between the LED light to be lit and the receiving head, using the distance data table, the scanning frequency calculation model or the upper and lower frequency limit values, calculate the appropriate scanning frequency to reduce interference and maintain the luminous effect, including obtaining the distance data table, the scanning frequency calculation model and setting the scanning frequency.

Benefits of technology

It effectively reduces the interference of LED lights on the receiving head, and prevents too low scanning frequency from affecting the luminous effect, achieving compatibility between LED lights and receiver heads and normal luminescence.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115551150B_ABST
    Figure CN115551150B_ABST
Patent Text Reader

Abstract

The present invention provides a method, control method, device, and storage medium for obtaining the scanning frequency of an LED lamp. The method comprises: obtaining the distance between an LED lamp to be illuminated and a receiving head; and obtaining the scanning frequency of the LED lamp to be illuminated based on the distance between the LED lamp to be illuminated and the receiving head. The technical solution provided by the present application can obtain the scanning frequency of the LED lamp to be illuminated based on the distance between the LED lamp to be illuminated and the receiving head. On the one hand, it can reduce the interference caused by the distance between the LED lamp to be illuminated and the receiving head being too close, and on the other hand, it can prevent the scanning frequency of the LED lamp to be illuminated from being too low, thereby affecting the luminous effect of the LED lamp to be illuminated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of LED lamp control, and in particular to a method for acquiring a scanning frequency of an LED lamp, a control method, a device, and a storage medium. Background Art

[0002] Air conditioners and other electrical appliances are equipped with receivers and LED lights. The receiver receives infrared signals from the remote control, converts them into electrical signals, and sends them to the control board. The control board then performs corresponding actions based on these signals, such as turning the device on and off, or switching modes. LED lights are used for illumination or displaying information, such as the breathing light on a television or the LED display components on equipment like air conditioners.

[0003] An LED lamp has multiple light-emitting diodes. In order to reduce the number of interfaces on the control board, the diodes are distributed in a matrix or other manner on the control board. When the LED lamp is lit, each light-emitting diode is in a high-frequency flashing state rather than a constant light state. Since the flashing frequency of the light-emitting diodes exceeds the range of the human eye, the human eye sees the LED lamp as always in the light state due to the visual retention effect.

[0004] When LED lights flash, they generate flickering light signals that interfere with the receiver, affecting its ability to receive remote control signals. For example, when using a remote to control an appliance, control malfunctions often occur. Prior art methods for eliminating interference caused by LED light signals on the receiver typically involve increasing the distance between the LED and the receiver. However, due to the limitations of the control board's circuit layout, the adjustable distance between the LED and the receiver is limited, making this approach less effective. Summary of the Invention

[0005] The present invention provides a method for acquiring, a control method, a device and a storage medium for an LED lamp scanning frequency, so as to at least solve the problem that the above-mentioned LED lamp interferes with the remote control signal received by a receiving head.

[0006] To at least solve the above problems, the present invention provides the following technical solutions:

[0007] A method for obtaining a scanning frequency of an LED lamp, comprising:

[0008] Get the distance between the LED light to be lit and the receiving head;

[0009] The scanning frequency of the LED lamp to be lit is obtained according to the distance between the LED lamp to be lit and the receiving head.

[0010] According to one embodiment of the present invention, obtaining the distance between the LED lamp to be lit and the receiving head includes:

[0011] Obtaining a distance data table, wherein the distance data table stores the distance between each LED lamp and the receiving head;

[0012] The identification code of the LED lamp is obtained, and the distance data table is searched according to the identification code of the LED lamp to obtain the distance between the LED lamp to be lit and the receiving head.

[0013] According to one embodiment of the present invention, obtaining the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head includes:

[0014] Obtain a scanning frequency calculation model;

[0015] The distance between the LED lamp to be lit and the receiving head is input into the scanning frequency calculation model to obtain the scanning frequency of the LED lamp to be lit.

[0016] According to one embodiment of the present invention, obtaining the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head includes:

[0017] Obtain the receiving frequency of the receiving head, and obtain the upper limit of the scanning frequency according to the receiving frequency of the receiving head;

[0018] Calculating a scan frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head;

[0019] Determine whether the calculated value of the scanning frequency of the LED lamp to be lit is greater than the upper limit of the scanning frequency;

[0020] If it is greater than, the upper limit of the scanning frequency is used as the scanning frequency of the LED lamp to be lit;

[0021] If it is not greater than, the calculated value of the scanning frequency of the LED lamp to be lit is used as the scanning frequency of the LED lamp to be lit.

[0022] According to one embodiment of the present invention, obtaining the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head includes:

[0023] Obtain the receiving frequency of the receiving head, and obtain the lower limit of the scanning frequency according to the receiving frequency of the receiving head;

[0024] Calculating a scan frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head;

[0025] Determine whether the calculated value of the scanning frequency of the LED lamp to be lit is less than the lower limit of the scanning frequency;

[0026] If it is less than, the lower limit of the scanning frequency is used as the scanning frequency of the LED lamp to be lit;

[0027] If it is not less than, the calculated value of the scanning frequency of the LED lamp to be lit is used as the scanning frequency of the LED lamp to be lit.

[0028] Furthermore, obtaining the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head includes:

[0029] Obtaining a scanning frequency data table, wherein the scanning frequency data table stores scanning frequencies corresponding to a plurality of distances;

[0030] The scanning frequency data table is queried according to the distance between the LED lamp to be lit and the receiving head to obtain the scanning frequency of the LED lamp to be lit.

[0031] According to one embodiment of the present invention, the number of the LED lamps to be lit is multiple, and obtaining the distance between the LED lamps to be lit and the receiving head includes: obtaining the distance between each LED lamp to be lit and the receiving head;

[0032] The step of obtaining a scanning frequency of the LED lamp to be lit according to a distance between the LED lamp to be lit and a receiving head includes:

[0033] The scanning frequency of each LED lamp to be lit is obtained according to the distance between each LED lamp to be lit and the receiving head, and the minimum value is used as the scanning frequency of each LED lamp to be lit.

[0034] A method for controlling an LED lamp comprises: scanning the LED lamp using a set scanning frequency, wherein the set scanning frequency is obtained according to the method for obtaining the LED lamp scanning frequency described in any one of the above embodiments.

[0035] A computer device includes a processor and a memory, wherein the memory stores a computer program for execution on the processor, and when the processor executes the computer program, it implements the method for obtaining the scanning frequency of an LED lamp according to any one of the above embodiments, or the method for controlling an LED lamp according to any one of the above embodiments.

[0036] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method for obtaining the scanning frequency of an LED lamp according to any one of the above embodiments, or the method for controlling an LED lamp according to any one of the above embodiments.

[0037] The technical solution provided by this application can obtain the scanning frequency of the LED light to be lit based on the distance between the LED light to be lit and the receiving head, so that the difference between the scanning frequency of the LED light to be lit and the natural frequency of the receiving head is large, and the influence of distance on interference is taken into account. Therefore, using the scanning frequency obtained by the technical solution of this application to control the LED light to be lit can, on the one hand, reduce the interference caused by the LED light to be lit on the receiving head receiving the remote control signal, and on the other hand, prevent the scanning frequency of the LED light to be lit from being too low, thereby affecting the luminous effect of the LED light to be lit.

[0038] Based on the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will become more aware of the above and other objects, advantages and features of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Hereinafter, some specific embodiments of the present invention will be described in detail in an exemplary and non-limiting manner with reference to the accompanying drawings. The same reference numerals in the accompanying drawings indicate the same or similar components or parts. It should be understood by those skilled in the art that these drawings are not necessarily drawn to scale. In the accompanying drawings:

[0040] Figure 1 is a flow chart of a method for obtaining a scanning frequency of an LED lamp according to one embodiment of the present invention;

[0041] Figure 2 This is a flow chart for obtaining the distance between the LED lamp to be lit and the receiving head according to one embodiment of the present invention;

[0042] Figure 3 This is a flow chart of obtaining a scanning frequency of an LED lamp to be lit according to a distance between the LED lamp to be lit and a receiving head according to an embodiment of the present invention;

[0043] Figure 4 is a flow chart of obtaining a scanning frequency calculation model according to one embodiment of the present invention;

[0044] Figure 5 This is another flow chart of obtaining the scanning frequency of an LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head according to one embodiment of the present invention;

[0045] Figure 6 This is another flow chart of obtaining the scanning frequency of an LED lamp based on the distance between the LED lamp to be lit and the receiving head according to an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In the description of the present embodiment, reference to the terms "one embodiment," "some embodiments," "illustrative embodiments," "example," "specific example," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the exemplary expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any appropriate manner in any one or more embodiments or examples.

[0047] See also Figure 1 , Figure 1 The flowchart shown is a method for obtaining the scanning frequency of an LED lamp. The method is used to obtain the scanning frequency of an LED lamp. Scanning the LED lamp using the scanning frequency can reduce the interference caused by the LED lamp to the receiving head. Figure 1 The process shown is a detailed introduction to the method for obtaining the scanning frequency of the LED lamp of this application.

[0048] like Figure 1 As shown, the method for obtaining the LED light scanning frequency of the present application includes:

[0049] Step S1: Obtain the distance between the LED light to be lit and the receiving head;

[0050] Step S2: Obtain the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head.

[0051] The method for obtaining the LED light scanning frequency provided in this application is applicable to electrical appliances such as televisions, air conditioners, and refrigerators, which have both a receiving head and an LED light installed on the control panel. The receiving head is used to receive infrared signals emitted by a remote control, and the LED light includes multiple light-emitting diodes. Both the receiving head and the LED light are mounted on the control panel and positioned according to the design requirements of the control panel. In step S1 above, a ruler can be used to measure the distance between the LED light to be illuminated and the receiving head.

[0052] When the distance between the LED lamp and the receiving head is small, the interference intensity received by the receiving head from the LED lamp is large; when the distance between the LED lamp and the receiving head is large, the interference intensity received by the receiving head from the LED lamp is small. In the above step S2, the relationship between the distance between the LED lamp to be lit and the receiving head and the scanning frequency of the LED lamp to be lit can be first obtained, and then the scanning frequency of the LED lamp to be lit can be obtained based on this relationship and the distance between the LED lamp to be lit and the receiving head.

[0053] The technical solution provided by this application can obtain the scanning frequency of the LED lamp to be lit based on the distance between the LED lamp and the receiving head. This not only maintains a large gap between the natural frequency of the LED lamp to be lit and the receiving head, but also takes into account the impact of distance on the interference caused by the LED lamp to be lit, so that the scanning frequency of the LED lamp to be lit will not be too low. When using this scanning frequency to control the LED lamp to be lit, it can reduce the interference caused by the distance between the LED lamp to be lit and the receiving head being too close. Moreover, because the technical solution of this application does not cause the scanning frequency of the LED lamp to be lit to be too low, it can also prevent the scanning frequency of the LED lamp to be lit from being too low, thereby affecting the luminous effect of the LED lamp to be lit.

[0054] In one embodiment, the process of obtaining the distance between the LED lamp to be lit and the receiving head in the above step S1 is as follows: Figure 2 Shown, including:

[0055] Step S101: Obtain a distance data table;

[0056] Step S102: obtaining the identification code of the LED lamp to be lit, and querying the distance data table according to the identification code of the LED lamp to be lit to obtain the distance between the LED lamp to be lit and the receiving head.

[0057] In the above step S101, the distance data table stores the distance between each LED lamp and the receiving head. For example, each LED lamp can be numbered, and each number can be used as an identification code of the corresponding LED lamp; then, the distance between each LED lamp and the receiving head is obtained by measuring, and each distance and the LED lamp number corresponding to each distance are stored in the distance data table.

[0058] In the above step S102, the identification code of the LED lamp to be lit is obtained as the corresponding serial number, and then the distance data table is searched according to the serial number to obtain the distance between the LED lamp to be lit and the receiving head.

[0059] In one embodiment, the process of obtaining the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head in the above step S2 is as follows: Figure 3 Shown, including:

[0060] Step S201: obtaining a scanning frequency calculation model;

[0061] Step S202: Input the distance between the LED lamp and the receiving head into the scanning frequency calculation model to obtain the scanning frequency of the LED lamp to be lit.

[0062] In the above step S201, the scanning frequency calculation model obtained is a model used to characterize the relationship between the distance between the LED lamp and the receiving head and the scanning frequency of the LED lamp. In this embodiment, the scanning frequency calculation model obtained is

[0063] f=a×L+b

[0064] Where a is the proportional coefficient, and its value range is 0.05-0.5; L is the distance between the LED light and the receiving head; b is the compensation parameter, which can be adjusted according to the actual display effect of the LED light.

[0065] The process of obtaining the scanning frequency calculation model in step S201 is as follows: Figure 4 Shown, including:

[0066] Step S301: obtaining an initial model and experimental data;

[0067] Step S302: fitting the parameters in the initial model using experimental data to obtain a scanning frequency calculation model.

[0068] In the above step S301, the initial model obtained is

[0069] f=a0×L+b0

[0070] In the above initial model, a0 and b0 are both unknown parameters. The process of obtaining the scanning frequency calculation model in this embodiment is the process of determining the parameters a0 and b0 in the above initial model.

[0071] The above experimental data was obtained experimentally, including the scanning frequencies corresponding to the distances between multiple LED lights and the receiving head. In this embodiment, multiple control boards with different distances between the LED lights and the receiving head can be obtained. The distances between the LED lights and the receiving head on each control board are then determined, and the optimal scanning frequency corresponding to each control board is determined experimentally. The optimal scanning frequency for each control board is: when the scanning frequency of the LED lights on the control board is at the optimal scanning frequency, the LED lights have the best lighting effect and the LED lights have the least impact on the signal received by the receiving head.

[0072] In the above step S302, the scanning frequency corresponding to each control board and the distance between the corresponding LED light and the receiving head are brought into the above initial model to obtain multiple equations; then the equations are grouped, with each group having two equations, thereby obtaining multiple sets of equations; then each set of equations is solved to obtain the values of multiple parameters a0 and the values of multiple parameters b0; finally, the average value of each parameter a0 and the average value of each parameter b0 are calculated, and the average value of each parameter a0 is used as the above proportional coefficient a, and the average value of each parameter b0 is used as the above compensation parameter b, thereby realizing parameter fitting in the initial model and obtaining a scanning frequency calculation model.

[0073] In the above step S202, the distance between the LED lamp to be lit and the receiving head can be input into the above scanning frequency calculation model, and the scanning frequency of the LED lamp to be lit can be calculated by the above scanning frequency calculation model.

[0074] In one embodiment, the process of obtaining the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head in the above step S201 is as follows: Figure 5 Shown, including:

[0075] Step S211: obtaining the receiving frequency of the receiving head, and obtaining the upper limit of the scanning frequency according to the receiving frequency of the receiving head;

[0076] Step S212: Calculating a scan frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head;

[0077] Step S213: determining whether the calculated value of the scanning frequency of the LED lamp to be lit is greater than the upper limit of the scanning frequency;

[0078] Step S214: If it is greater than, the upper limit of the scanning frequency is used as the scanning frequency of the LED lamp to be lit;

[0079] Step S215: If it is not greater than, the calculated value of the scanning frequency of the LED lamp to be lit is used as the scanning frequency of the LED lamp to be lit.

[0080] In step S211, the received receiving frequency of the receiving head is assumed to be f1, which is the natural frequency of the receiving head. For example, the receiving frequency f1 of the receiving head is 38 kHz. After obtaining the receiving frequency f1 of the receiving head, the upper limit of the scanning frequency can be obtained based on the receiving frequency f1. In this embodiment, the upper limit of the scanning frequency is f1 × P1, where P1 ranges from 20% to 30%.

[0081] In the above step S212, the calculated value of the scanning frequency of the LED lamp to be lit can be calculated based on the relationship between the distance between the LED lamp and the receiving head and the scanning frequency of the LED lamp (for example, the above scanning frequency calculation model), and the distance between the above LED lamp to be lit and the receiving head.

[0082] In the above step S213, the calculated value of the scanning frequency of the LED lamp to be lit can be compared with the upper limit value of the above scanning frequency to determine the maximum value, and then based on the comparison result, the scanning frequency of the LED lamp to be lit can be obtained through the above steps S214 and S215.

[0083] Through the configuration of this embodiment, the scanning frequency of the LED lamp to be lit can be made no greater than the upper limit of the scanning frequency, thereby preventing the scanning frequency from being too high and thereby increasing the impact of the LED lamp to be lit on the signal received by the receiving head.

[0084] In one embodiment, the process of obtaining the scanning frequency calculation model in step S201 is as follows: Figure 6 Shown, including:

[0085] Step S221: Acquire the receiving frequency of the receiving head, and obtain the lower limit of the scanning frequency according to the receiving frequency of the receiving head;

[0086] Step S222: Calculating a scan frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head;

[0087] Step S223: determining whether the calculated value of the scanning frequency of the LED lamp to be lit is less than the scanning frequency lower limit;

[0088] Step S224: If it is less than, the above scanning frequency lower limit is used as the scanning frequency of the LED lamp to be lit;

[0089] Step S225: If it is not less than, the calculated value of the scanning frequency of the LED lamp to be lit is used as the scanning frequency of the LED lamp to be lit.

[0090] In step S221, after obtaining the receiving frequency f1 of the receiving head, the lower limit of the scanning frequency can be obtained according to the receiving frequency f1. In this embodiment, the lower limit of the scanning frequency is f1×P2, where the value range of P2 is 0.5%-5%.

[0091] In the above step S222, the calculated value of the scanning frequency of the LED lamp to be lit can be calculated based on the relationship between the distance between the LED lamp and the receiving head and the scanning frequency of the LED lamp (such as the above scanning frequency calculation model), and the distance between the above LED lamp to be lit and the receiving head.

[0092] In the above step S223, the calculated value of the scanning frequency of the LED lamp to be lit can be compared with the lower limit value of the above scanning frequency to determine the minimum value, and then based on the comparison result, the scanning frequency of the LED lamp to be lit can be obtained through the above steps S224 and S225.

[0093] Through the configuration of this embodiment, the scanning frequency of the LED lamp to be lit can be made not less than the lower limit of the scanning frequency, thereby preventing the problem of poor lighting effect of the LED lamp to be lit due to the scanning frequency being too low.

[0094] In one embodiment, in step S2, obtaining the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head includes:

[0095] First, obtain the scanning frequency data table;

[0096] Then, according to the distance between the LED lamp to be lit and the receiving head, the scanning frequency data table is consulted to obtain the scanning frequency of the LED lamp to be lit.

[0097] The above-mentioned scanning frequency data table stores scanning frequencies corresponding to multiple distances. For example, when the distance between the LED lamp and the receiving head is less than 2mm, the corresponding scanning frequency is 1% of the fixed frequency of the receiving head; when the distance between the LED lamp and the receiving head is greater than 2mm and less than 4mm, the corresponding scanning frequency is 5% of the fixed frequency of the receiving head; when the distance between the LED lamp and the receiving head is greater than 4mm and less than 6mm, the corresponding scanning frequency is 8% of the fixed frequency of the receiving head; when the distance between the LED lamp and the receiving head is greater than 6mm and less than 8mm, the corresponding scanning frequency is 12% of the fixed frequency of the receiving head; when the distance between the LED lamp and the receiving head is greater than 8mm and less than 10mm, the corresponding scanning frequency is 15% of the fixed frequency of the receiving head.

[0098] After determining the distance between the LED to be illuminated and the receiving head, the scanning data table is queried based on this distance to obtain the corresponding scanning frequency, which is used as the scanning frequency of the LED to be illuminated. For example, when the distance between the LED to be illuminated and the receiving head is less than 2mm, the scanning frequency of the LED to be illuminated is 1% of the fixed frequency of the receiving head; when the distance between the LED to be illuminated and the receiving head is greater than 2mm and less than 4mm, the scanning frequency of the LED to be illuminated is 5% of the fixed frequency of the receiving head; when the distance between the LED to be illuminated and the receiving head is greater than 4mm and less than 6mm, the scanning frequency of the LED to be illuminated is 8% of the fixed frequency of the receiving head, and so on.

[0099] In one embodiment, there are multiple LED lamps to be illuminated, and obtaining the distance between the LED lamps to be illuminated and the receiving head in step S1 includes obtaining the distance between each LED lamp to be illuminated and the receiving head. Obtaining the scanning frequency of the LED lamps to be illuminated based on the distance between the LED lamps to be illuminated and the receiving head in step S2 includes obtaining the scanning frequency of each LED lamp to be illuminated based on the distance between the LED lamps to be illuminated and the receiving head, and using the minimum value as the scanning frequency of each LED lamp to be illuminated.

[0100] In one embodiment, the present application also provides a method for controlling an LED lamp, which uses a set scanning frequency to scan the LED lamp to be lit, wherein the set scanning frequency is obtained according to the method for obtaining the LED lamp scanning frequency provided in the above embodiments. The acquisition method has been introduced in detail in the above embodiments. In order to avoid repetition, it will not be explained in detail in this embodiment.

[0101] The present invention also provides a computer device, which includes a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface communicate with each other through the communication bus. The processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer program instructions. The internal memory provides an environment for the operation of the operating system and computer program instructions in the non-volatile storage medium. The communication interface of the above-mentioned device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The computer device provided in this embodiment has a memory for storing computer program instructions. When the computer program instructions are executed by the processor, multiple embodiments of the above-mentioned method for obtaining the scanning frequency of an LED lamp or the method for controlling an LED lamp can be implemented.

[0102] The present invention also provides a computer-readable storage medium. Those skilled in the art will appreciate that all or part of the processes in the above-mentioned LED lamp scanning frequency acquisition method or LED lamp control method embodiment can be completed by instructing related hardware through computer program instructions. The computer program instructions can be stored in a non-volatile computer-readable storage medium. When executed, the computer program instructions may include the processes of the above-mentioned method embodiments. Among them, any reference to memory, storage, database or other media used in the various embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0103] At this point, those skilled in the art will recognize that, although a number of exemplary embodiments of the present invention have been shown and described in detail herein, many other variations or modifications consistent with the principles of the present invention may be directly determined or derived from the disclosure of the present invention without departing from the spirit and scope of the present invention. Therefore, the scope of the present invention should be understood and deemed to cover all such other variations or modifications.

Claims

1. A method for obtaining the scanning frequency of an LED lamp, characterized in that: include: Get the distance between the LED light to be lit and the receiving head; Obtaining a scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head; The step of obtaining a scanning frequency of the LED lamp to be lit according to a distance between the LED lamp to be lit and a receiving head includes: Obtaining a receiving frequency f1 of the receiving head, and obtaining an upper limit value of the scanning frequency according to the receiving frequency of the receiving head, wherein the upper limit value of the scanning frequency is f1×P1, and the value range of P1 is 20% to 30%; Calculating a scan frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head; Determine whether the calculated value of the scanning frequency of the LED lamp to be lit is greater than the upper limit of the scanning frequency; If it is greater than, the upper limit of the scanning frequency is used as the scanning frequency of the LED lamp to be lit; If it is not greater than, the calculated value of the scanning frequency of the LED lamp to be lit is used as the scanning frequency of the LED lamp to be lit; The method of obtaining the scanning frequency of the LED lamp to be lit according to the distance between the LED lamp to be lit and the receiving head further includes: Obtaining a receiving frequency of the receiving head, and obtaining a scanning frequency lower limit value according to the receiving frequency of the receiving head, wherein the scanning frequency lower limit value is f1×P2, and a value range of P2 is 0.5% to 5%; Determine whether the calculated value of the scanning frequency of the LED lamp to be lit is less than the scanning frequency lower limit; If it is less than, the lower limit of the scanning frequency is used as the scanning frequency of the LED lamp to be lit; If it is not less than, the calculated value of the scanning frequency of the LED lamp to be lit is used as the scanning frequency of the LED lamp to be lit.

2. The method for obtaining the scanning frequency of an LED lamp according to claim 1, characterized in that: The step of obtaining the distance between the LED lamp to be lit and the receiving head includes: Obtaining a distance data table, wherein the distance data table stores the distance between each LED lamp and the receiving head; The identification code of the LED lamp to be lit is obtained, and the distance data table is searched according to the identification code of the LED lamp to be lit to obtain the distance between the LED lamp to be lit and the receiving head.

3. The method for obtaining the scanning frequency of an LED lamp according to claim 1, wherein: There are multiple LED lights to be lit, and obtaining the distance between the LED lights to be lit and the receiving head includes: obtaining the distance between each LED light to be lit and the receiving head; The step of obtaining a scanning frequency of the LED lamp to be lit according to a distance between the LED lamp to be lit and a receiving head includes: The scanning frequency of each LED lamp to be lit is obtained according to the distance between each LED lamp to be lit and the receiving head, and the minimum value is used as the scanning frequency of each LED lamp to be lit.

4. A method for controlling an LED lamp, characterized in that: include: The LED lamp to be lit is scanned using a set scanning frequency, wherein the set scanning frequency is obtained according to the method for obtaining the scanning frequency of an LED lamp according to any one of claims 1 to 3.

5. A computer device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program for execution on the processor, and when the processor executes the computer program, the method for obtaining the scanning frequency of an LED lamp according to any one of claims 1 to 3 or the method for controlling an LED lamp according to claim 4 is implemented.

6. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the method for obtaining the scanning frequency of an LED lamp as described in any one of claims 1 to 3, or the method for controlling an LED lamp as described in claim 4 is implemented.

Citation Information

Patent Citations

  • Lighting device

    CN102450105A

  • Method for testing electromagnetic interference of infrared receiving head

    CN108226655A