Method and system for controlling fixed-address lamp beads by using FPGA (Field Programmable Gate Array) independent switch

Through the FPGA independent switch control and damage judgment model, the problem of non-lighting caused by damaged lamp beads in the lamp strip is solved, real-time monitoring and replacement of the lamp beads is realized, and the stable operation of the lamp strip is ensured.

CN118804436APending Publication Date: 2024-10-18SHENZHEN HSG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410654342.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively detect and solve the problem of the entire light strip not lighting up due to damage to individual or multiple lamp beads in a light strip or light string, and it is impossible to detect and replace possibly damaged lamp beads in advance.

Method used

The method of using FPGA to control fixed-address lamp beads individually is to obtain the address of each lamp bead, initialize and generate control signals, update the lamp bead status, and set the lamp bead damage judgment model to monitor the brightness in real time and determine whether the lamp bead is damaged based on the brightness. Damage, use the influence weight of neighbor lamp beads and environmental factors to calculate brightness changes and predict lamp bead damage.

Benefits of technology

Real-time detection and replacement of damaged individual or multiple lamp beads is realized, which avoids the problem of flickering or constant lighting of the lamp strip. Potentially damaged lamp beads can be replaced in advance to ensure stable operation of the lamp strip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804436A_ABST
    Figure CN118804436A_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for controlling fixed-address lamp beads by using an FPGA (Field Programmable Gate Array) independent switch, and relates to the technical field of lamp bead control, and the method comprises the steps: obtaining the address of each lamp bead in a lamp group, initializing the lamp beads of all the addresses, generating a control signal of each lamp bead of each address, and according to the control signal, controlling the lamp beads of all the addresses according to the control signal. Updating the state of each lamp bead of each address; and setting a lamp bead damage judgment model, calculating the brightness of each lamp bead of each address, and judging whether the lamp beads are damaged or not according to the brightness.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of lamp bead control, and more specifically, relates to a method and system for controlling a lamp bead with a fixed address by using a FPGA individual switch. Background Art

[0002] LED lamp beads (LED Light Emitting Diode) are electronic components that emit light by converting electrical energy into light energy. It is a core component in modern lighting and display technology, with the following characteristics and applications:

[0003] High efficiency and energy saving: LED lamp beads are more energy-efficient and consume less electricity than traditional incandescent lamps and fluorescent lamps.

[0004] Long life: The service life of LED lamp beads is usually much longer than that of traditional bulbs, which can reach tens of thousands of hours.

[0005] Environmentally friendly: It does not contain harmful substances such as mercury, and is environmentally friendly.

[0006] Small and durable: small size, good shock resistance, not easy to damage.

[0007] Fast response: The light turns on quickly and can reach full brightness within nanoseconds.

[0008] Diversity: It can emit light of various colors, and the brightness can be adjusted by controlling the current.

[0009] In actual use, it is inevitable that individual lamp beads will flash, stay on, or not light up, and it is impossible to detect in advance whether a lamp bead will be damaged. Summary of the invention

[0010] In order to solve the above technical problems, the present invention proposes a method for controlling fixed address lamp beads by using FPGA as a single switch, comprising:

[0011] Obtain the address of each lamp bead in the lamp group, initialize the lamp beads at all addresses, generate a control signal for each lamp bead at each address, and update the state of each lamp bead at each address according to the control signal;

[0012] A lamp bead damage judgment model is set to calculate the brightness of each lamp bead at each address, and determine whether the lamp bead is damaged based on the brightness.

[0013] Further, including:

[0014] Set the initial state of all lamp beads:

[0015]

[0016] Generate the control signal at time t:

[0017]

[0018] Update the status of all lamp beads:

[0019]

[0020] Wherein, L(i, 0) is the state of the lamp bead at the i-th address at time t, C(i, t) is the control signal for the lamp bead at the i-th address at time t, L(i, t-1) is the state of the lamp bead at the i-th address at time t-1, τ(i) is the time delay for the lamp bead at the i-th address to switch from the current state to the target state, T(i) is the target state of the lamp bead at the i-th address, wherein the states of the lamp bead include: on is 1, off is 0, and the control signals include: the opening signal is 1, the closing signal is -1, and the state is not changed is 0.

[0021] Furthermore, the brightness of the lamp beads is monitored in real time, and the brightness of each lamp bead at each address is displayed.

[0022] Furthermore, the lamp bead damage judgment model includes:

[0023]

[0024] Among them, B(i, t) is the brightness of the lamp bead at the i-th address at time t, N is the total number of layers, is the nth layer neighbor lamp bead set of the lamp bead with the ith address, is the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address, S(j, t-1) is the state of the neighboring lamp bead at the jth address at time t-1, and the states include: on is 1, off is 0, B(j, t-1) is the brightness of the neighboring lamp bead at the jth address at time t-1, K is the number of influencing factors, γ k is the influencing factor adjustment factor, E k (j, t-1) is the kth influencing factor of the environment of the neighboring lamp bead at the jth address at time t-1, and the influencing factors include: ambient light intensity, temperature of the neighboring lamp bead at the jth address, α(t) is the time attenuation factor at time t, B(i, t-1) is the brightness of the lamp bead at the ith address at time t-1, η is the brightness change speed adjustment factor, and v(i, t-1) is the brightness change speed of the lamp bead at the ith address at time t-1.

[0025] Furthermore, the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address is include:

[0026]

[0027] Among them, β is the distance effect adjustment factor, is the distance between the neighboring lamp bead at the jth address of the nth layer and the lamp bead at the ith address, It is the distance between the neighboring lamp bead at the k′th address of the nth layer and the lamp bead at the ith address.

[0028] Furthermore, when the brightness B(i, t) of the lamp bead at the i-th address is lower than a preset brightness threshold at time t, the lamp bead is damaged and needs to be replaced with a new one.

[0029] The present invention also proposes a system for controlling fixed address lamp beads by using FPGA as a single switch, comprising:

[0030] A control module, used to obtain the address of each lamp bead in the lamp group, initialize the lamp beads at all addresses, generate a control signal for each lamp bead at each address, and update the state of each lamp bead at each address according to the control signal;

[0031] The detection module is used to set a lamp bead damage judgment model, calculate the brightness of each lamp bead at each address, and judge whether the lamp bead is damaged according to the brightness.

[0032] Further, including:

[0033] Set the initial state of all lamp beads:

[0034]

[0035] Generate the control signal at time t:

[0036]

[0037] Update the status of all lamp beads:

[0038]

[0039] Wherein, L(i, 0) is the state of the lamp bead at the i-th address at time t, C(i, t) is the control signal for the lamp bead at the i-th address at time t, L(i, t-1) is the state of the lamp bead at the i-th address at time t-1, τ(i) is the time delay for the lamp bead at the i-th address to switch from the current state to the target state, T(i) is the target state of the lamp bead at the i-th address, wherein the states of the lamp bead include: on is 1, off is 0, and the control signals include: the opening signal is 1, the closing signal is -1, and the state is not changed is 0.

[0040] Furthermore, the brightness of the lamp beads is monitored in real time, and the brightness of each lamp bead at each address is displayed.

[0041] Furthermore, the lamp bead damage judgment model includes:

[0042]

[0043] Among them, B(i, t) is the brightness of the lamp bead at the i-th address at time t, N is the total number of layers, is the nth layer neighbor lamp bead set of the lamp bead with the ith address, is the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address, S(j, t-1) is the state of the neighboring lamp bead at the jth address at time t-1, and the states include: on is 1, off is 0, B(j, t-1) is the brightness of the neighboring lamp bead at the jth address at time t-1, K is the number of influencing factors, γ k is the influencing factor adjustment factor, E k (j, t-1) is the kth influencing factor of the environment of the neighboring lamp bead at the jth address at time t-1, and the influencing factors include: ambient light intensity, temperature of the neighboring lamp bead at the jth address, α(t) is the time attenuation factor at time t, B(i, t-1) is the brightness of the lamp bead at the ith address at time t-1, η is the brightness change speed adjustment factor, and v(i, t-1) is the brightness change speed of the lamp bead at the ith address at time t-1.

[0044] Compared with the prior art, the above technical solution conceived by the present invention has the following beneficial effects:

[0045] Compared with other lamp bead series connection technologies, this invention solves the problem that if one or two lamp beads in a lamp strip or lamp string are damaged, the entire lamp strip will not light up, which is a pain point of the entire industry;

[0046] In order to avoid the flickering or constant lighting of the lamp beads, use FPGA to turn off the entire screen or a certain lamp bead on the light string in the background;

[0047] The software can be used to control the working status of a certain lamp bead or a group of lamp beads at any time.

[0048] It is possible to estimate whether a lamp bead is damaged based on other neighboring lamp beads around it, so as to replace the possibly damaged lamp bead in advance. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 is a flow chart of the method of embodiment 1 of the present invention;

[0050] Figure 2 is a system structure diagram of Embodiment 2 of the present invention;

[0051] Figure 3 It is a code schematic diagram of Example 1 of the present invention. DETAILED DESCRIPTION

[0052] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0053] The method provided by the present invention can be implemented in the following terminal environment, and the terminal may include one or more of the following components: a processor, a storage medium, and a display screen. The storage medium stores at least one instruction, and the instruction is loaded and executed by the processor to implement the method described in the following embodiment.

[0054] The processor may include one or more processing cores. The processor uses various interfaces and lines to connect various parts in the entire terminal, and executes various functions of the terminal and processes data by running or executing instructions, programs, code sets or instruction sets stored in the storage medium, and calling data stored in the storage medium.

[0055] The storage medium may include a random access memory (RAM) or a read-only memory (ROM). The storage medium may be used to store instructions, programs, codes, code sets or instructions.

[0056] The display is used to show the interactive cross-section of each application.

[0057] All subscripts in the formulas of the present invention are only used to distinguish parameters and have no actual meaning.

[0058] In addition, those skilled in the art can understand that the structure of the above terminal does not constitute a limitation on the terminal, and the terminal may include more or fewer components, or combine certain components, or arrange the components differently. For example, the terminal also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, and a power supply, which will not be described in detail here.

[0059] Example 1

[0060] like Figure 1 As shown, an embodiment of the present invention provides a method for controlling a fixed address lamp bead by using an FPGA single switch, including:

[0061] Step 101, obtaining the address of each lamp bead in the lamp group, initializing the lamp beads at all addresses, generating a control signal for each lamp bead at each address, and updating the state of each lamp bead at each address according to the control signal;

[0062] Specifically, they include:

[0063] Set the initial state of all lamp beads:

[0064]

[0065] Generate the control signal at time t:

[0066]

[0067] Update the status of all lamp beads:

[0068]

[0069] Wherein, L(i, 0) is the state of the lamp bead at the i-th address at time t, C(i, t) is the control signal for the lamp bead at the i-th address at time t, L(i, t-1) is the state of the lamp bead at the i-th address at time t-1, τ(i) is the time delay for the lamp bead at the i-th address to switch from the current state to the target state, T(i) is the target state of the lamp bead at the i-th address, wherein the state of the lamp bead includes: on is 1, off is 0, the control signal includes: the open signal is 1, the close signal is -1, and the state is not changed is 0, the code part is as follows Figure 3 shown.

[0070] Step 102, setting a lamp bead damage judgment model, calculating the brightness of each lamp bead at each address, and judging whether the lamp bead is damaged according to the brightness, wherein the brightness of the lamp bead is monitored in real time and the brightness of each lamp bead at each address is displayed.

[0071] Specifically, the lamp bead damage judgment model includes:

[0072]

[0073] Among them, B(i, t) is the brightness of the lamp bead at the i-th address at time t, N is the total number of layers, is the nth layer neighbor lamp bead set of the lamp bead with the ith address, is the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address, S(j, t-1) is the state of the neighboring lamp bead at the jth address at time t-1, and the states include: on is 1, off is 0, B(j, t-1) is the brightness of the neighboring lamp bead at the jth address at time t-1, K is the number of influencing factors, γ k is the influencing factor adjustment factor, E k (j, t-1) is the kth influencing factor of the environment of the neighboring lamp bead at the jth address at time t-1, and the influencing factors include: ambient light intensity, temperature of the neighboring lamp bead at the jth address, α(t) is the time attenuation factor at time t, B(i, t-1) is the brightness of the lamp bead at the ith address at time t-1, η is the brightness change speed adjustment factor, and v(i, t-1) is the brightness change speed of the lamp bead at the ith address at time t-1.

[0074] Specifically, when the brightness B(i, t) of the lamp bead at the i-th address at time t is lower than the preset brightness threshold, the lamp bead is damaged and needs to be replaced with a new one.

[0075] Specifically, the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address include:

[0076]

[0077] Among them, β is the distance effect adjustment factor, is the distance between the neighboring lamp bead at the jth address of the nth layer and the lamp bead at the ith address, It is the distance between the neighboring lamp bead at the k′th address of the nth layer and the lamp bead at the ith address.

[0078] Finally, according to the method of Example 1, Figure 3 Software shown.

[0079] Example 2

[0080] like Figure 2 As shown, the embodiment of the present invention also proposes a system for controlling fixed address lamp beads by using FPGA single switch, including:

[0081] A control module, used to obtain the address of each lamp bead in the lamp group, initialize the lamp beads at all addresses, generate a control signal for each lamp bead at each address, and update the state of each lamp bead at each address according to the control signal;

[0082] Specifically, they include:

[0083] Set the initial state of all lamp beads:

[0084]

[0085] Generate the control signal at time t:

[0086]

[0087] Update the status of all lamp beads:

[0088]

[0089] Wherein, L(i, 0) is the state of the lamp bead at the i-th address at time t, C(i, t) is the control signal for the lamp bead at the i-th address at time t, L(i, t-1) is the state of the lamp bead at the i-th address at time t-1, τ(i) is the time delay for the lamp bead at the i-th address to switch from the current state to the target state, T(i) is the target state of the lamp bead at the i-th address, wherein the states of the lamp bead include: on is 1, off is 0, and the control signals include: the opening signal is 1, the closing signal is -1, and the state is not changed is 0.

[0090] The detection module is used to set a lamp bead damage judgment model, calculate the brightness of each lamp bead at each address, and judge whether the lamp bead is damaged according to the brightness, wherein the brightness of the lamp bead is monitored in real time and the brightness of each lamp bead at each address is displayed.

[0091] Specifically, the lamp bead damage judgment model includes:

[0092]

[0093] Among them, B(i, t) is the brightness of the lamp bead at the i-th address at time t, N is the total number of layers, is the nth layer neighbor lamp bead set of the lamp bead with the ith address, is the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address, S(j, t-1) is the state of the neighboring lamp bead at the jth address at time t-1, and the states include: on is 1, off is 0, B(j, t-1) is the brightness of the neighboring lamp bead at the jth address at time t-1, K is the number of influencing factors, γ k is the influencing factor adjustment factor, E k (j, t-1) is the kth influencing factor of the environment of the neighboring lamp bead at the jth address at time t-1, and the influencing factors include: ambient light intensity, temperature of the neighboring lamp bead at the jth address, α(t) is the time attenuation factor at time t, B(i, t-1) is the brightness of the lamp bead at the ith address at time t-1, η is the brightness change speed adjustment factor, and v(i, t-1) is the brightness change speed of the lamp bead at the ith address at time t-1.

[0094] Specifically, when the brightness B(i, t) of the lamp bead at the i-th address at time t is lower than the preset brightness threshold, the lamp bead is damaged and needs to be replaced with a new one.

[0095] Specifically, the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address include:

[0096]

[0097] Among them, β is the distance effect adjustment factor, is the distance between the neighboring lamp bead at the jth address of the nth layer and the lamp bead at the ith address, It is the distance between the neighboring lamp bead at the k′th address of the nth layer and the lamp bead at the ith address.

[0098] Example 3

[0099] The embodiment of the present invention further provides a storage medium storing a plurality of instructions, wherein the instructions are used to implement the method of controlling a fixed-address lamp bead by using an FPGA separate switch.

[0100] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0101] Optionally, in this embodiment, the storage medium is configured to store program codes for executing the following steps: Step 101, obtaining the address of each lamp bead in the lamp group, initializing the lamp beads at all addresses, generating a control signal for each lamp bead at each address, and updating the state of each lamp bead at each address according to the control signal;

[0102] Specifically, they include:

[0103] Set the initial state of all lamp beads:

[0104]

[0105] Generate the control signal at time t:

[0106]

[0107] Update the status of all lamp beads:

[0108]

[0109] Wherein, L(i,0) is the state of the lamp bead at the i-th address at time t, C(i,t) is the control signal for the lamp bead at the i-th address at time t, L(i,t-1) is the state of the lamp bead at the i-th address at time t-1, τ(i) is the time delay for the lamp bead at the i-th address to switch from the current state to the target state, T(i) is the target state of the lamp bead at the i-th address, wherein the states of the lamp bead include: on is 1, off is 0, and the control signals include: the open signal is 1, the close signal is -1, and the state is not changed is 0.

[0110] Step 102, setting a lamp bead damage judgment model, calculating the brightness of each lamp bead at each address, and judging whether the lamp bead is damaged according to the brightness, wherein the brightness of the lamp bead is monitored in real time and the brightness of each lamp bead at each address is displayed.

[0111] Specifically, the lamp bead damage judgment model includes:

[0112]

[0113] Among them, B(i, t) is the brightness of the lamp bead at the i-th address at time t, N is the total number of layers, is the nth layer neighbor lamp bead set of the lamp bead with the ith address, is the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address, S(j, t-1) is the state of the neighboring lamp bead at the jth address at time t-1, and the states include: on is 1, off is 0, B(j, t-1) is the brightness of the neighboring lamp bead at the jth address at time t-1, K is the number of influencing factors, γ k is the influencing factor adjustment factor, E k (j, t-1) is the kth influencing factor of the environment of the neighboring lamp bead at the jth address at time t-1, and the influencing factors include: ambient light intensity, temperature of the neighboring lamp bead at the jth address, α(t) is the time attenuation factor at time t, B(i, t-1) is the brightness of the lamp bead at the ith address at time t-1, η is the brightness change speed adjustment factor, and v(i, t-1) is the brightness change speed of the lamp bead at the ith address at time t-1.

[0114] Specifically, when the brightness B(i, t) of the lamp bead at the i-th address at time t is lower than the preset brightness threshold, the lamp bead is damaged and needs to be replaced with a new one.

[0115] Specifically, the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address include:

[0116]

[0117] Among them, β is the distance effect adjustment factor, is the distance between the neighboring lamp bead at the jth address of the nth layer and the lamp bead at the ith address, It is the distance between the neighboring lamp bead at the k′th address of the nth layer and the lamp bead at the ith address.

[0118] Example 4

[0119] An embodiment of the present invention also proposes an electronic device, including a processor and a storage medium connected to the processor, wherein the storage medium stores multiple instructions, and the instructions can be loaded and executed by the processor to enable the processor to execute a method of controlling fixed-address lamp beads using FPGA individual switches.

[0120] Specifically, the electronic device of this embodiment may be a computer terminal, and the computer terminal may include: one or more processors, and a storage medium.

[0121] Among them, the storage medium can be used to store software programs and modules, such as a method for controlling fixed-address lamp beads using FPGA switches alone in an embodiment of the present invention, and corresponding program instructions / modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the storage medium, that is, realizing the above-mentioned method for controlling fixed-address lamp beads using FPGA switches alone. The storage medium may include high-speed random storage media, and may also include non-volatile storage media, such as one or more magnetic storage systems, flash memory, or other non-volatile solid-state storage media. In some instances, the storage medium may further include storage media remotely located relative to the processor, and these remote storage media may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0122] The processor can call the information and application stored in the storage medium through the transmission system to execute the steps: Step 101, obtain the address of each lamp bead in the lamp group, initialize the lamp beads of all addresses, generate a control signal for each lamp bead of each address, and update the state of each lamp bead of each address according to the control signal;

[0123] Specifically, they include:

[0124] Set the initial state of all lamp beads:

[0125]

[0126] Generate the control signal at time t:

[0127]

[0128] Update the status of all lamp beads:

[0129]

[0130] Wherein, L(i, 0) is the state of the lamp bead at the i-th address at time t, C(i, t) is the control signal for the lamp bead at the i-th address at time t, L(i, t-1) is the state of the lamp bead at the i-th address at time t-1, τ(i) is the time delay for the lamp bead at the i-th address to switch from the current state to the target state, T(i) is the target state of the lamp bead at the i-th address, wherein the states of the lamp bead include: on is 1, off is 0, and the control signals include: the opening signal is 1, the closing signal is -1, and the state is not changed is 0.

[0131] Step 102, setting a lamp bead damage judgment model, calculating the brightness of each lamp bead at each address, and judging whether the lamp bead is damaged according to the brightness, wherein the brightness of the lamp bead is monitored in real time and the brightness of each lamp bead at each address is displayed.

[0132] Specifically, the lamp bead damage judgment model includes:

[0133]

[0134] Among them, B(i, t) is the brightness of the lamp bead at the i-th address at time t, N is the total number of layers, is the nth layer neighbor lamp bead set of the lamp bead with the ith address, is the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address, S(j, t-1) is the state of the neighboring lamp bead at the jth address at time t-1, and the states include: on is 1, off is 0, B(j, t-1) is the brightness of the neighboring lamp bead at the jth address at time t-1, K is the number of influencing factors, γ k is the influencing factor adjustment factor, E k (j, t-1) is the kth influencing factor of the environment of the neighboring lamp bead at the jth address at time t-1, and the influencing factors include: ambient light intensity, temperature of the neighboring lamp bead at the jth address, α(t) is the time attenuation factor at time t, B(i, t-1) is the brightness of the lamp bead at the ith address at time t-1, η is the brightness change speed adjustment factor, and v(i, t-1) is the brightness change speed of the lamp bead at the ith address at time t-1.

[0135] Specifically, when the brightness B(i, t) of the lamp bead at the i-th address at time t is lower than the preset brightness threshold, the lamp bead is damaged and needs to be replaced with a new one.

[0136] Specifically, the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address include:

[0137]

[0138] Among them, β is the distance effect adjustment factor, is the distance between the neighboring lamp bead at the jth address of the nth layer and the lamp bead at the ith address, It is the distance between the neighboring lamp bead at the k′th address of the nth layer and the lamp bead at the ith address.

[0139] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0140] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0141] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0142] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0143] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0144] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only storage medium (ROM, Read-Only Memory), random access storage medium (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0145] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the invention.

Claims

1. A method for controlling fixed address lamp beads by using FPGA individual switches, characterized in that: include: Obtain the address of each lamp bead in the lamp group, initialize the lamp beads at all addresses, generate a control signal for each lamp bead at each address, and update the state of each lamp bead at each address according to the control signal; A lamp bead damage judgment model is set to calculate the brightness of each lamp bead at each address, and determine whether the lamp bead is damaged based on the brightness.

2. A method for controlling fixed address lamp beads by using FPGA individual switches as claimed in claim 1, characterized in that: include: Set the initial state of all lamp beads: Generate the control signal at time t: Update the status of all lamp beads: Wherein, L(i, 0) is the state of the lamp bead at the i-th address at time t, C(i, t) is the control signal for the lamp bead at the i-th address at time t, L(i, t-1) is the state of the lamp bead at the i-th address at time t-1, τ(i) is the time delay for the lamp bead at the i-th address to switch from the current state to the target state, T(i) is the target state of the lamp bead at the i-th address, wherein the states of the lamp bead include: on is 1, off is 0, and the control signals include: the opening signal is 1, the closing signal is -1, and the state is not changed is 0.

3. A method for controlling fixed address lamp beads by using FPGA individual switches as claimed in claim 1, characterized in that: Monitor the brightness of the lamp beads in real time and display the brightness of each lamp bead at each address.

4. A method for controlling fixed address lamp beads by using FPGA individual switches as claimed in claim 3, characterized in that: The lamp bead damage judgment model includes: Among them, B(i, t) is the brightness of the lamp bead at the i-th address at time t, N is the total number of layers, is the nth layer neighbor lamp bead set of the lamp bead with the ith address, is the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address, S(j, t-1) is the state of the neighboring lamp bead at the jth address at time t-1, and the states include: on is 1, off is 0, B(j, t-1) is the brightness of the neighboring lamp bead at the jth address at time t-1, K is the number of influencing factors, γ k is the influencing factor adjustment factor, E k (j, t-1) is the kth influencing factor of the environment of the neighboring lamp bead at the jth address at time t-1, and the influencing factors include: ambient light intensity, temperature of the neighboring lamp bead at the jth address, α(t) is the time attenuation factor at time t, B(i, t-1) is the brightness of the lamp bead at the ith address at time t-1, ηη is the brightness change speed adjustment factor, and v(i, t-1) is the brightness change speed of the lamp bead at the ith address at time t-1.

5. A method for controlling fixed address lamp beads by using FPGA individual switches as claimed in claim 4, characterized in that: The influence weight of the neighboring lamp at the jth address on the lamp at the ith address in the nth layer include: Among them, β is the distance effect adjustment factor, is the distance between the neighboring lamp bead at the jth address of the nth layer and the lamp bead at the ith address, It is the distance between the neighboring lamp bead at the k′th address of the nth layer and the lamp bead at the ith address.

6. A method for controlling fixed address lamp beads by using FPGA individual switches as claimed in claim 4, characterized in that: When the brightness B(i, t) of the lamp bead at the i-th address is lower than the preset brightness threshold at time t, the lamp bead is damaged and needs to be replaced with a new one.

7. A system using FPGA to control fixed address lamp beads individually, characterized in that: include: A control module, used to obtain the address of each lamp bead in the lamp group, initialize the lamp beads at all addresses, generate a control signal for each lamp bead at each address, and update the state of each lamp bead at each address according to the control signal; The detection module is used to set a lamp bead damage judgment model, calculate the brightness of each lamp bead at each address, and judge whether the lamp bead is damaged according to the brightness.

8. A system for controlling fixed address lamp beads by using FPGA individual switches as claimed in claim 7, characterized in that: include: Set the initial state of all lamp beads: Generate the control signal at time t: Update the status of all lamp beads: Wherein, L(i, 0) is the state of the lamp bead at the i-th address at time t, C(i, t) is the control signal for the lamp bead at the i-th address at time t, L(i, t-1) is the state of the lamp bead at the i-th address at time t-1, τ(i) is the time delay for the lamp bead at the i-th address to switch from the current state to the target state, T(i) is the target state of the lamp bead at the i-th address, wherein the states of the lamp bead include: on is 1, off is 0, and the control signals include: the opening signal is 1, the closing signal is -1, and the state is not changed is 0.

9. A system for controlling fixed address lamp beads by using FPGA individual switches as claimed in claim 7, characterized in that: Monitor the brightness of the lamp beads in real time and display the brightness of each lamp bead at each address.

10. A system for controlling fixed address lamp beads by using FPGA individual switches as claimed in claim 9, characterized in that: The lamp bead damage judgment model includes: Among them, B(i, t) is the brightness of the lamp bead at the i-th address at time t, N is the total number of layers, is the nth layer neighbor lamp bead set of the lamp bead with the ith address, is the influence weight of the neighboring lamp bead at the jth address of the nth layer on the lamp bead at the ith address, S(j, t-1) is the state of the neighboring lamp bead at the jth address at time t-1, and the states include: on is 1, off is 0, B(j, t-1) is the brightness of the neighboring lamp bead at the jth address at time t-1, K is the number of influencing factors, γ k is the influencing factor adjustment factor, E k (j, t-1) is the kth influencing factor of the environment of the neighboring lamp bead at the jth address at time t-1, and the influencing factors include: ambient light intensity, temperature of the neighboring lamp bead at the jth address, α(t) is the time attenuation factor at time t, B(i, t-1) is the brightness of the lamp bead at the ith address at time t-1, ηη is the brightness change speed adjustment factor, and v(i, t-1) is the brightness change speed of the lamp bead at the ith address at time t-1.