Address writing method and apparatus for LED lamp beads, and device and medium
By writing an initial address into the LED bead and identifying duplicate addresses, obtaining position information, generating and writing the correct address, the problem of writing LED bead addresses is solved, improving production efficiency and reducing maintenance costs.
Patent Information
- Application Number
- PCT/CN2024/134997
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-06
- Filing Date
- 2024-11-27
- Publication Date
- 2025-12-11
AI Technical Summary
Existing LED chip address writing methods are difficult to replace when there are writing errors in high-density products, affecting repair and maintenance efficiency, resulting in low production efficiency and high maintenance costs.
By writing initial addresses into multiple LED beads, controlling their illumination and identifying duplicate addresses, replacing duplicate addresses, obtaining location information, generating and writing the correct address, and using computer equipment and devices, the rapid identification and replacement of addresses can be achieved.
It improves the production efficiency of LED beads, reduces maintenance costs, reduces the waste of address resources, and enhances communication efficiency.
Smart Images

Figure CN2024134997_11122025_PF_FP_ABST
Abstract
Description
Address writing method, device and equipment of LED lamp bead and medium
[0001] The present application claims priority to the Chinese patent application No. 202410727481X, filed on June 6, 2024, and entitled "LED lamp bead address writing method and computer equipment", the whole content of which is incorporated herein by reference. TECHNICAL FIELD
[0002] The present application relates to the technical field of LED, in particular to an LED lamp bead address writing method and a computer equipment. BACKGROUND
[0003] The IC LED lamp bead of communication type integrated package type is widely used in various light emitting screen products due to its long service life, no pollution and high light efficiency. The control driving chip is usually arranged in the IC LED lamp bead to control the on-off, color change and brightness change of the IC LED lamp bead.
[0004] The IC LED lamp beads are usually combined in series / parallel form, and each IC LED lamp bead usually needs to be programmed with an address. In some products with high integration, a probe type cannot be used to program the address of a single IC LED. The address is programmed in a series type, and the lamp bead serial number A→B→C→D→E… is sequentially programmed. However, after programming, it is relatively troublesome to replace the lamp bead with programming error. The address of the current level needs to be confirmed, and the corresponding position needs to be compared and confirmed by the programmer, and then the lamp bead with the same address is programmed to replace it. The above method affects the subsequent maintenance and maintenance, reduces the production efficiency and maintenance efficiency of the final product, increases the maintenance cost, and is not conducive to the commercialization of the product. SUMMARY
[0005] The present application provides an LED lamp bead address writing method and a computer equipment, which aims to solve the problem of low verification efficiency and high cost of LED lamp beads when the address resources of the existing LED lamp beads are excessively occupied, resulting in low production efficiency and high maintenance cost of LED lamp beads. The provided method can quickly distinguish and maintain the address of multiple LED lamp beads by arranging the addresses in order, without the need for special equipment to complete address writing and replacement, thereby improving the production efficiency of LED lamp beads and reducing the maintenance cost.
[0006] In a first aspect, the present application provides an LED lamp bead address writing method for writing an address into multiple LED lamp beads mounted on a preset substrate, each of the LED lamp beads being pre-written with an initial address; the method comprising:
[0007] The LED lamp beads are controlled to emit light according to the initial addresses, when it is determined that a certain initial address corresponds to multiple LED lamp beads emitting light, the initial address is determined as a duplicate address;
[0008] The initial addresses of the LED lamp beads corresponding to the duplicate address are replaced until each initial address corresponds to a single LED lamp bead emitting light;
[0009] Image information of each LED lamp bead when emitting light is acquired, and position information of each LED lamp bead relative to the preset substrate is acquired according to the image information;
[0010] Write addresses of the LED lamp beads are generated according to the position information of the LED lamp beads, and the write addresses are written into the LED lamp beads according to the initial addresses of the LED lamp beads.
[0011] In a second aspect, the present application provides an address writing device of an LED lamp bead, which is used for writing write addresses into multiple LED lamp beads attached to a preset substrate, and each LED lamp bead has an initial address written in advance; the address writing device comprises:
[0012] A control light emitting module is configured to control the LED lamp beads to emit light according to the initial addresses, and when it is determined that a certain initial address corresponds to multiple LED lamp beads emitting light, the initial address is determined as a duplicate address;
[0013] An address updating module is configured to replace the initial addresses of the LED lamp beads corresponding to the duplicate address, until each initial address corresponds to a single LED lamp bead emitting light;
[0014] A position acquiring module is configured to acquire image information of each LED lamp bead when emitting light, and acquire position information of each LED lamp bead relative to the preset substrate according to the image information;
[0015] A second writing module is configured to generate write addresses of the LED lamp beads according to the position information of the LED lamp beads, and write the write addresses into the LED lamp beads according to the initial addresses of the LED lamp beads.
[0016] In a third aspect, the present application provides a computer device, which comprises a processor and a memory, the memory is used for storing a computer program, and the computer program is executed by the processor to realize steps of the address writing method of the LED lamp bead provided in any embodiment of the present application.
[0017] In a fourth aspect, the present application provides a computer readable storage medium, which has a computer program stored thereon, and the computer program is executed by a processor to make the processor realize steps of the address writing method of the LED lamp bead provided in any embodiment of the present application.
[0018] The application provides an address writing method of an LED lamp bead and a computer device. The method writes random initial addresses in a plurality of LED lamp beads, and then the plurality of LED lamp beads are attached to a preset substrate. When the LED lamp beads are controlled to emit light according to the initial addresses and it is determined that a certain initial address corresponds to a plurality of light-emitting LED lamp beads, the initial address is determined as a duplicate address, the initial address of the LED lamp bead corresponding to the duplicate address is replaced, until each initial address corresponds to a single light-emitting LED lamp bead. At this time, the position information of each LED lamp bead relative to the preset substrate is obtained according to image information when each LED lamp bead emits light, and the writing address of the LED lamp bead is generated according to the position information, so as to finally write the writing address into the LED lamp bead according to the initial address of the LED lamp bead.
[0019] The address of the LED lamp bead is written by the method, so that the addresses in the plurality of LED lamp beads are arranged in order, the LED lamp bead can be quickly identified and repaired, the address writing and replacement can be completed without using a special device, the production efficiency of the LED lamp bead is improved, and the maintenance cost is reduced. The address resource waste is reduced, the device size of the LED lamp bead is reduced, the hardware cost is reduced, and the communication efficiency of the LED lamp bead is improved.
[0020] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the application. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are some embodiments of the application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0022] Fig. 1 is a step schematic flow chart of an address writing method of an LED lamp bead provided by an embodiment of the application;
[0023] Fig. 2 is a structural schematic diagram of an LED lamp bead provided by an embodiment of the application;
[0024] Fig. 3 is a step schematic flow chart of an initial address writing method provided by an embodiment of the application;
[0025] Fig. 4 is a scene schematic diagram of address writing provided by an embodiment of the application;
[0026] Fig. 5 is a schematic block diagram of an address writing device of an LED lamp bead provided by an embodiment of the application;
[0027] Fig. 6 is a schematic block diagram of a computer device provided by an embodiment of the application.
[0028] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application, as claimed. DETAILED DESCRIPTION
[0029] With reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.
[0030] The flowcharts shown in the drawings are only illustrative, and do not necessarily include all the contents and operations / steps, nor are they necessarily executed in the described order. For example, some operations / steps can be further decomposed, combined or partially merged, so that the actual execution order can be changed according to the actual situation.
[0031] It should be understood that the terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and the appended claims of the present application, the singular forms "a", "an" and "the" are intended to include the plural forms unless the context clearly indicates otherwise.
[0032] It should be understood that, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second" and the like are used to distinguish the same items or similar items with matching functions and effects. For example, the first flag information and the second flag information are only used to distinguish different flag information, and do not limit the order. Those skilled in the art can understand that the terms "first", "second" and the like do not limit the number and execution order, and the terms "first", "second" and the like do not necessarily mean different.
[0033] It should also be understood that the term "and / or" used in the specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0034] Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
[0035] The IC LED lamp bead of communication type integrated package is widely applied in various light emitting screen products with long service life, no pollution and high light efficiency. The control driving chip is usually arranged in the IC LED lamp bead to control the on-off state of the IC LED lamp bead. Of course, the communication type driving chip has various driving modes, such as the integrated package IC LED of single line return to zero code type or the integrated package IC LED lamp bead of double line standby signal return to zero code type. However, in the above scheme, the IC LED lamp bead of single line return to zero code type cannot work after the signal line is disconnected, which causes the light behind the product to be unable to be turned on. The IC LED lamp bead of double line standby signal return to zero code type can only meet the requirement that any two lamp beads drop one signal line, which does not affect the cascaded IC LED lamp bead. However, the IC LED lamp bead is not allowed to drop two signal lines. Otherwise, the cascaded product cannot be turned on, and thus a kind of IC LED lamp bead with address code is required. Any IC LED lamp bead damage does not affect the work of the IC LED lamp bead behind it, and the IC LED lamp bead works after the address decoding of the driving chip. Any IC LED lamp bead damage does not affect the work of the IC LED lamp bead behind it, and thus the IC LED lamp bead with address code in parallel communication is required. The address code of each IC LED lamp bead needs to be burned to realize the normal work of the subsequent communication.
[0036] In some lamp bead use schemes, different IC LED lamp beads are usually combined in series / parallel form. Usually, the address of each IC LED lamp bead needs to be burned. In some products with high degree, the single IC LED cannot be burned with a probe type address. The address is burned in a serial manner in the order of lamp bead serial number A→B→C→D→E……. However, after the address is burned, the replacement of the lamp bead with burning error is relatively troublesome. The address of the current stage needs to be confirmed, the corresponding position needs to be compared by the burner, and the lamp bead with the same address is replaced. The subsequent maintenance and maintenance are affected.
[0037] To solve the above problems, please refer to FIG. 1, which is a step schematic flow chart of an address writing method of an LED lamp bead provided by an embodiment of the application. The address method is used to write the write-in address into a plurality of LED lamp beads mounted on a preset substrate. Each LED lamp bead has a pre-written initial address. As shown in FIG. 2, the method is used to write the write-in address into the driving chip 21 of the LED lamp bead 20.
[0038] In some embodiments, before the LED lamp bead emits light according to the initial address, the initial address is written into the LED lamp bead in the flow sheet stage, wafer test stage or final test stage in the preparation process of the LED lamp bead.
[0039] The method provided writes the initial address of each LED lamp bead in the flow sheet test stage, the circuit probing (CP) test stage of the pre-stage of the final product of the LED lamp bead, or writes the initial address of each LED lamp bead in the final test (FT) stage, that is, writes the initial address of the LED lamp bead in the reel inside when the LED lamp bead is packaged by the reel, so as to facilitate the subsequent verification of the validity of the initial address of the LED lamp bead. The writing stage of the initial address is not limited.
[0040] For example, the writing of the initial address into the LED lamp bead includes: in the wafer test stage of the LED lamp bead, the initial address is written into the wafer of the control chip of the LED lamp bead through probe contact; the wafer is cut into single grains, the control chip in the single grain shape is electrically connected with the light-emitting wafer of the LED lamp bead and integrated and packaged to form the corresponding packaging structure of the LED lamp bead.
[0041] The method provided first completes the flow sheet work of the control chip of the LED lamp bead, and then writes the initial address into the control chip through probe contact in the circuit probing test stage of the control chip. The initial address can be randomly selected or randomly generated from the initial address library. The wafer of the control chip after writing is ground and cut into single grains, and then the control chip in the single grain is integrated with the light-emitting wafer (RGB wafer) of the LED lamp bead to complete the electrical connection and packaging into the required packaging structure. Then, the packaging structures of a plurality of LED lamp beads are attached to the preset substrate. In this way, the corresponding initial addresses can be quickly written into a plurality of LED lamp beads, and the subsequent test process can be ensured to run stably.
[0042] For example, in the final test stage of the LED lamp bead, a plurality of LED lamp beads are packaged by a reel; the writing of the initial address into the LED lamp bead includes: in the final test stage of the LED lamp bead, a plurality of initial addresses are generated according to a second preset number; and the initial addresses are written into the LED lamp beads packaged by the reel according to a preset order.
[0043] In order to simplify the initial address checking efficiency of the LED lamp bead, the initial address is written in the FT stage after the test coding band by the order from large to small or from small to large. Although the initial address writing speed is slower than that in the flow sheet and CP stage, the wafer needs to be ground into a single grain after the address writing of the LED lamp bead in the CP and flow sheet stage, so that the initial addresses of the LED lamp beads written in sequence are mixed together, so that the LED lamp beads in the final tape packaging are out of order, and the address of the LED lamp bead mounted on the preset substrate is out of order, which causes the high probability of recoding. At the same time, if the single grain is packaged in the tape packaging, the initial address written in the LED lamp bead is sequentially mounted, and the time cost will be greatly increased. In the FT stage, the initial address of the LED lamp bead in the tape is written by the PAD point as the contact point in the order or in the reverse order, which can reduce the number of recoded addresses of the LED lamp bead on the preset substrate, and improve the efficiency of recoded checking of the LED lamp bead.
[0044] It should be noted that in some embodiments, the initial address is written into the LED lamp bead in the preset substrate according to the preset order, including writing the initial address into the LED lamp bead in the tape packaging according to the order from large to small.
[0045] When a plurality of LED lamp beads are packaged by a tape, the address is written in reverse order, so that the starting position of the circular tape is the largest, the LED lamp bead is mounted on the preset substrate from small to large, and the next tape is also mounted in this way. Therefore, the initial address is recorded from large to small and filled in the tape. In turn, the number of recoded addresses can be greatly reduced.
[0046] For a plurality of LED lamp beads, the initial address is written into the LED lamp bead in the form of reverse order (such as the second preset number is 2000, from 2000 to 1), and then the recoded checking and replacement of the initial address are performed, which can ensure that the provided method can run smoothly, and improve the address writing speed of the plurality of LED lamp beads. In turn, when the product is continuously mounted on the preset substrate, the recoding can be reduced.
[0047] In some embodiments, the provided preset substrate can be a PCBA board, a PCB board or a BT board, and the type of the preset substrate on which the LED lamp bead is mounted is not limited in the embodiments of the application.
[0048] It should be noted that the LED lamp bead mounted on the preset substrate can be regularly distributed (such as from top to bottom and from left to right), or irregularly distributed (randomly mounted), and the address writing of the LED lamp bead in different mounting forms can be standardized to improve the communication efficiency with the plurality of LED lamp beads.
[0049] As shown in FIG. 1, the provided input method includes steps S101-S104.
[0050] S101. Control the LED lamp beads to emit light according to the initial address, and determine the initial address as a duplicate address when it is determined that the initial address corresponds to multiple LED lamp beads emitting light.
[0051] Specifically, by recording and managing the written initial address, or by testing the multiple initial addresses in the initial address library one by one as described above, the LED lamp beads on the preset substrate can be controlled to emit light according to the initial address. Furthermore, the process of LED lamp bead mounting can be greatly simplified, i.e. it is not necessary to ensure that the written address of the LED lamp bead is correct at the time of mounting, and even in the case of missing address (0 address) writing, corresponding verification can be performed, so that the provided method can improve the mounting and preparation efficiency of the LED lamp bead. When the LED lamp beads are controlled to emit light according to the initial address, such as by naked eye observation, visual detection, light source capture, or screening by a light color and electric sorting machine, it is determined that there are multiple LED lamp beads in the light-emitting state when the LED lamp beads corresponding to a certain initial address are controlled to emit light. At this time, the initial address is a duplicate address, i.e. one initial address corresponds to multiple LED lamp beads. At this time, it is necessary to ensure that each initial address corresponds to only one LED lamp bead, so as to ensure that the subsequent secondly written address will not be in a duplicate state.
[0052] S102. Replace the initial address of the LED lamp bead corresponding to the duplicate address until each initial address corresponds to a single LED lamp bead emitting light.
[0053] Specifically, the provided method replaces the initial address in the LED lamp bead corresponding to the duplicate address, and then controls the corresponding LED lamp bead to emit light according to the replaced initial address, until each initial address corresponds to a single LED lamp bead emitting light at this time, so as to ensure that each initial address corresponds to only one LED lamp bead, and to ensure that the subsequent written address will not be in a duplicate state.
[0054] In some embodiments, please refer to FIG. 3, which is a step schematic flow chart of an initial address writing method provided by an embodiment of the present application. As shown in FIG. 3, the replacement of the initial address of the LED lamp bead corresponding to the duplicate address includes steps S102a-S102d.
[0055] S102a. Send a high-order instruction to the LED lamp bead corresponding to the upper computer program, and the LED lamp bead enters a same code verification state.
[0056] S102b. Send an erase address instruction to the LED lamp bead corresponding to the duplicate address, so as to erase the written initial address in the LED lamp bead corresponding to the duplicate address.
[0057] S102c. Regenerate the initial address, and the initial address is different from the initial address of the remaining non-codeword LED lamp beads.
[0058] S102d. Write the initial address into the LED lamp bead corresponding to the codeword address.
[0059] To ensure that the address of the LED lamp bead is not tampered with at will, only when the LED lamp bead corresponding host program sends high-level instruction, it will control the driving chip of the LED lamp bead to enter the same code verification state, at this time, the address in the LED lamp bead can be erased and replaced. When it is confirmed that there is a codeword address in the initial address that causes the coding resource to be repeated, the initial address corresponding to the codeword address needs to be reported, such as reported to the host program corresponding to the generation and writing of the initial address, and then the host program receives the initial address with the codeword, first sends a high-level erase address instruction to the LED lamp bead with the codeword, to first erase the initial address of the LED lamp bead with the codeword to zero address. Then generate a new initial address, and the new initial address is different from the initial address of the non-codeword. Then update the initial address of the LED lamp bead with the codeword. In this way, it can be ensured that the address of the LED lamp bead with the codeword in the verification process will not be repeated with the address of the LED lamp bead confirmed not to be codeword in the last verification process, avoiding the problem that the LED lamp bead with the codeword may increase one by one. In this way, according to the provided method, it can be ensured that there is no codeword problem in the plurality of LED lamp beads on the preset substrate.
[0060] For example, the regenerated initial address includes: controlling the voltage oscillation of the address generator corresponding to the initial address to change the working frequency of the address generator, so as to generate different initial addresses in the case of power-on of the address generator. In this way, the method provided by the present application can realize the replacement of the initial address by making the voltage of the address generator corresponding to the initial address oscillate in real time under the high-level instruction, so that the replacement of the initial address can be completed without power-off of the address generator, thereby improving the address replacement speed and avoiding the problem that the initial address of the LED lamp bead with the codeword after replacement is the same as the initial address of the LED lamp bead without the codeword, resulting in low efficiency of codeword verification.
[0061] For example, before the replacement of the initial address of the LED lamp bead corresponding to the codeword address, it further includes: acquiring image information of a single light-emitting LED lamp bead when the initial address of the non-codeword LED lamp bead emits light, and acquiring position information of the non-codeword LED lamp bead relative to the preset substrate according to the image information. Generate a write address of the LED lamp bead according to the position information of the non-codeword LED lamp bead, and write the write address into the LED lamp bead according to the initial address of the non-codeword LED lamp bead; so that the initial address can be the same as the initial address of the remaining LED lamp bead.
[0062] After each time the multiple LED lamp beads are checked for code duplication, the LED lamp beads without code duplication can be first determined according to their position information to determine the corresponding write address, such as determining the corresponding write address according to the position from front to back or from top to bottom or other arbitrary arrangement, so that the subsequent new initial address of the LED lamp beads with code duplication can be randomly generated, thereby improving the replacement speed of the code duplication address.
[0063] It should be noted that after the LED lamp beads without code duplication are written twice, the initial address is regenerated, the address generator can be first powered off, the working voltage of the address generator is changed to change the frequency of the address generator, and then the address generator is powered on to make the address generator generate a new initial address, such as changing from 5V to 5.1V, and then the address generator is powered on again to replace the initial address of the LED lamp beads with code duplication and complete the code duplication check. At this time, even if the initial address of the LED lamp beads with code duplication is replaced and the initial address of the LED lamp beads without code duplication is the same, the method provided can still be implemented.
[0064] S103. Obtain image information of each LED lamp bead when emitting light, and obtain position information of each LED lamp bead relative to the preset substrate according to the image information.
[0065] Specifically, by controlling each LED lamp bead to emit light according to the initial address corresponding to the LED lamp bead, the position information of the LED lamp bead emitting light in each image can be extracted through image recognition, and then the initial address and the position information can be associated to accurately position each LED lamp bead on the preset substrate.
[0066] In some embodiments, the image information of the multiple LED lamp beads when emitting light is obtained by controlling the image acquisition device to shoot towards the preset substrate when the LED lamp beads emit light according to the initial addresses corresponding to the LED lamp beads. By synchronously controlling the image acquisition device to shoot towards the preset substrate when the LED lamp beads emit light, the image information of each LED lamp bead when emitting light can be obtained to determine the positions of the multiple LED lamp beads.
[0067] It should be noted that when the image information of each LED lamp bead when emitting light is obtained, the preset substrate can be placed in a darkroom, and then the image information can more accurately reflect the position information of the LED lamp bead emitting light.
[0068] S104. Generate a write address of the LED lamp bead according to the position information of the LED lamp bead, and write the write address into the LED lamp bead according to the initial address of the LED lamp bead.
[0069] Specifically, the write address of the LED lamp bead is generated according to the position information of the LED lamp bead, and then the write address is written into the corresponding LED lamp bead according to the initial address, for example, the corresponding host computer program of the LED lamp bead enters a preset high-order mode capable of address replacement, the initial address of the LED lamp bead is erased and replaced with the write address arranged according to the position in the high-order mode, which can reduce address resource waste, reduce the device size of the LED lamp bead, reduce the hardware cost, and improve the communication efficiency of the LED lamp bead.
[0070] In some embodiments, the write address of the LED lamp bead is generated according to the position information of the LED lamp bead, including: sorting the position information corresponding to a plurality of LED lamp beads according to a preset order; generating a plurality of sequentially arranged write addresses according to a first preset number; wherein the first preset number is the number of LED lamp beads, or the first preset number is a preset threshold, and the preset threshold is less than the number of LED lamp beads.
[0071] Since a plurality of LED lamp beads, such as 2000, are sorted according to a preset order, such as from top to bottom, left to right, or other preset orders, the method provided at this time can generate a plurality of write addresses of LED lamp beads according to the number of LED lamp beads as the first preset number. At the same time, in order to save address resources, the first preset number can be much smaller than the number of LED lamp beads, such as 2000 LED lamp beads and 300 first preset numbers, and the first preset number of write addresses is written into a plurality of LED lamp beads in turn by reverse order or forward order or forward order. In turn, the address resources of the plurality of LED lamp beads can be saved.
[0072] For example, as shown in FIG. 4, FIG. 4 is a schematic diagram of an address writing scene provided by an embodiment of the application, the preset substrate includes a plurality of LED lamp strings arranged side by side, each of the LED lamp strings includes a plurality of LED lamp beads; the write address of the LED lamp bead is generated according to the position information of the LED lamp bead, including: sorting the position information of a plurality of LED lamp beads corresponding to the LED lamp string according to the preset order; generating a plurality of sequentially arranged write addresses according to the first preset number; wherein the first preset number is the number of LED lamp beads in the LED lamp string, or the first preset number is a preset threshold, and the preset threshold is less than the number of LED lamp beads in the LED lamp string; and the write address is written into the LED lamp bead of each sorted LED lamp string according to the initial address.
[0073] As shown in FIG. 4, when a plurality of LED light strings are included (such as LED light string 1 to LED light string n in FIG. 4), by causing the LED light beads in each LED light string to have the same relative position to write the same write address, the address arrangement of the finally produced LED light beads can be ensured to be consistent, and the control logic of the LED light beads can be simplified. Of course, based on the method provided by the present application, the write order of the addresses of the LED light beads can also be adjusted according to requirements, such as the write address order of LED light string 1 and LED light string 2 being opposite, and the embodiments of the present application do not limit this.
[0074] For example, before the position information corresponding to a plurality of the LED light beads is sorted according to the preset order, it further includes: obtaining an arrangement mode corresponding to a plurality of the LED light beads according to the position information corresponding to a plurality of the LED light beads; and determining the preset order corresponding to a plurality of the LED light beads according to the arrangement mode.
[0075] Since the arrangement of the LED light beads can be regular or irregular based on requirements, the present application can obtain the arrangement mode corresponding to a plurality of the LED light beads based on the position information, and then extract the corresponding preset order, such as by inputting the coordinates corresponding to the position information of a plurality of the LED light beads into a preset order prediction model, and the order prediction model is used to output the corresponding arrangement mode and preset order according to the position information of a plurality of the LED light beads. The order prediction model can be any artificial intelligence model, and the embodiments of the present application do not limit the type of the order prediction model.
[0076] In some embodiments, the writing of the initial address in a plurality of the LED light beads includes: writing the initial address and first flag information in the LED light bead; wherein the first flag information is located at the head of the initial address, or the first flag information is located at the tail of the initial address; and the writing of the write address in the LED light bead according to the initial address of the LED light bead includes: writing the write address and second flag information in the LED light bead according to the initial address of the LED light bead; wherein the second flag information is located at the head of the initial address, or the second flag information is located at the tail of the write address. In order to distinguish the initial address and the write address, the present application adds the corresponding first flag information or second flag information at the head or tail of the address information, so as to facilitate the management of the address.
[0077] In some embodiments, the writing of the write address in the LED light bead according to the initial address of the LED light bead includes: writing the write address and the backup address corresponding to the write address in the LED light bead according to the initial address of the LED light bead.
[0078] Since the LED lamp beads need to be removed from the preset substrate when the write address fails to write the LED lamp bead, the process is very complex and the cost is increased sharply. Therefore, the same write address is written into the corresponding backup address of the LED lamp bead, the content of the backup address is the same as that of the write address, and then the control of the LED lamp bead can be completed as long as any of the write address or the backup address is effective.
[0079] The application provides an address writing device 200 of LED lamp beads, which is used for writing a write address into a plurality of LED lamp beads mounted on a preset substrate, and each LED lamp bead is pre-written with an initial address. As shown in FIG. 5, FIG. 5 is a schematic block diagram of the address writing device of the LED lamp bead according to an embodiment of the application. The address writing device of the LED lamp bead can be configured in a server.
[0080] As shown in FIG. 5, the address writing device 200 of the LED lamp bead includes a control light-emitting module 201, an address updating module 202, a position acquisition module 203 and a second writing module 204.
[0081] The control light-emitting module 201 is used for controlling the LED lamp bead to emit light according to the initial address, and when it is determined that a plurality of LED lamp beads emit light correspond to a certain initial address, the initial address is determined as a duplicate address.
[0082] The address updating module 202 is used for replacing the initial address of the LED lamp bead corresponding to the duplicate address until each initial address corresponds to a single LED lamp bead emitting light.
[0083] The position acquisition module 203 acquires image information of each LED lamp bead emitting light, and acquires position information of each LED lamp bead relative to the preset substrate according to the image information.
[0084] The second writing module 204 generates a write address of the LED lamp bead according to the position information of the LED lamp bead, and writes the write address into the LED lamp bead according to the initial address of the LED lamp bead.
[0085] It should be noted that, for the convenience and brevity of description, the specific working process of the above-described device and each unit can refer to the corresponding process in the foregoing method embodiments, which will not be described herein.
[0086] The above-described device can be implemented in the form of a computer program, which can run on a computer device as shown in FIG. 6.
[0087] The application provides a computer device. As shown in FIG. 6, FIG. 6 is a schematic block diagram of the computer device according to an embodiment of the application.
[0088] The computer device can include a processor, a memory and a network interface. The processor, the memory and the network interface are connected through a system bus, such as an I2C (Inter-integrated Circuit) bus.
[0089] Specifically, the processor can be a micro-controller unit (MCU), a central processing unit (CPU) or a digital signal processor (DSP), etc.
[0090] Specifically, the memory can be a flash chip, a read-only memory (ROM) disk, an optical disk, a U disk or a mobile hard disk, etc.
[0091] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art can understand that the structure shown in FIG. 6 is only a block diagram of part of the structure related to the present application scheme, and does not constitute a limitation on the computer device to which the present application scheme is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different component arrangement.
[0092] The processor is used to run the computer program stored in the memory, and to implement the corresponding steps in any of the address writing methods of the LED lamp bead provided by the embodiments of the present application when the computer program is executed.
[0093] The LED lamp bead is controlled to emit light according to the initial address, and when it is determined that a certain initial address corresponds to multiple LED lamp beads emitting light, the initial address is determined as a heavy code address.
[0094] The initial address of the LED lamp bead corresponding to the heavy code address is replaced until each initial address corresponds to a single LED lamp bead emitting light.
[0095] Image information of each LED lamp bead when emitting light is obtained, and position information of each LED lamp bead relative to the preset substrate is obtained according to the image information.
[0096] A write address of the LED lamp bead is generated according to the position information of the LED lamp bead, and the write address is written into the LED lamp bead according to the initial address of the LED lamp bead.
[0097] It should be noted that the specific working process of the computer device described above can be clearly understood by those skilled in the art, and the corresponding process in the address writing method of the LED lamp bead described above can be referred to for convenience and brevity of description, which will not be repeated here.
[0098] The embodiment of the application also provides a computer readable storage medium, which stores a computer program, and the computer program includes program instructions. The processor executes the program instructions to implement the steps of the address writing method of the LED lamp bead provided by the above embodiment. For example, the computer program is loaded by the processor, and the following steps can be executed:
[0099] According to the initial address, the LED lamp bead is controlled to emit light. When it is determined that a certain initial address corresponds to multiple LED lamp beads emitting light, the initial address is determined as a heavy code address.
[0100] The initial address of the LED lamp bead corresponding to the heavy code address is replaced until each initial address corresponds to a single LED lamp bead emitting light.
[0101] Image information of each LED lamp bead emitting light is obtained, and position information of each LED lamp bead relative to the preset substrate is obtained according to the image information.
[0102] The write address of the LED lamp bead is generated according to the position information of the LED lamp bead, and the write address is written into the LED lamp bead according to the initial address of the LED lamp bead.
[0103] The specific implementation of each operation can be referred to the foregoing embodiments, which will not be repeated here.
[0104] The computer readable storage medium can be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The computer readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc.
[0105] Since the computer program stored in the computer readable storage medium can execute any one of the address writing methods of the LED lamp bead provided by the embodiments of the application, the beneficial effects of any one of the address writing methods of the LED lamp bead provided by the embodiments of the application can be achieved. Details are described in the foregoing embodiments, which will not be repeated here.
[0106] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments. The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, and these modifications or replacements should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for writing address into LED lamp beads, the method is used for writing address into a plurality of LED lamp beads which are attached to a preset substrate, each of the LED lamp beads is pre-written with an initial address; the method comprises: controlling the LED lamp beads to emit light according to the initial address, and determining that the initial address is a duplicate address when it is determined that a plurality of the LED lamp beads emit light corresponding to the initial address; replacing the initial address of the LED lamp bead corresponding to the duplicate address until each of the initial addresses corresponds to a single LED lamp bead emitting light; obtaining image information of each of the LED lamp beads emitting light, and obtaining position information of each of the LED lamp beads relative to the preset substrate according to the image information; generating a write address of the LED lamp bead according to the position information of the LED lamp bead, and writing the write address into the LED lamp bead according to the initial address of the LED lamp bead. The number of bits of the write address is less than the number of bits of the initial address; the generating of the write address of the LED lamp bead according to the position information of the LED lamp bead comprises: sorting the position information corresponding to a plurality of the LED lamp beads according to a preset order; generating a plurality of sequentially arranged write addresses according to a first preset number; wherein the first preset number is the number of the LED lamp beads, or the first preset number is a preset threshold value which is less than the number of the LED lamp beads. The preset substrate comprises a plurality of LED lamp strings arranged side by side, and each of the LED lamp strings comprises a plurality of the LED lamp beads; the generating of the write address of the LED lamp bead according to the position information of the LED lamp bead comprises: sorting the position information corresponding to a plurality of the LED lamp beads according to a preset order; generating a plurality of sequentially arranged write addresses according to a first preset number; wherein the first preset number is the number of the LED lamp beads in the LED lamp string, or the first preset number is a preset threshold value which is less than the number of the LED lamp beads in the LED lamp string; and the writing of the write address into the LED lamp bead of each of the LED lamp strings according to the initial address. The LED lamp string at least comprises LED lamp string 1 and LED lamp string 2, and the write addresses of the LED lamp string 1 and the LED lamp string 2 are in opposite order. Before the sorting of the position information corresponding to a plurality of the LED lamp beads according to a preset order, the method further comprises: obtaining an arrangement mode corresponding to a plurality of the LED lamp beads according to the position information corresponding to a plurality of the LED lamp beads; and determining the preset order corresponding to a plurality of the LED lamp beads according to the arrangement mode.
2. The method of claim 1, wherein, Before the controlling of the LED lamp beads to emit light according to the initial address, the method further comprises: writing the initial address into the LED lamp bead in a tape-out stage, a wafer test stage or a final test stage in a preparation process of the LED lamp bead. The writing of the initial address into the LED lamp bead comprises: 3. The method of claim 2, wherein, 4. The method of claim 3, wherein, 5. The method of claim 2, wherein, 6. The method of claim 1, wherein, 7. The method of claim 6, wherein, In the wafer test stage of the LED lamp bead, the initial address is written in the wafer of the control chip of the LED lamp bead through probe contact; The wafer is cut into single grains, and the control chip in single grain shape is electrically connected with the light emitting wafer of the LED lamp bead and integrated and packaged to form a packaging structure corresponding to the LED lamp bead.
8. The method of claim 6, wherein, In the final test stage of the LED lamp bead, a plurality of the LED lamp beads are packaged by using a tape; In the final test stage of the LED lamp bead, a plurality of initial addresses are generated according to a second preset number; The initial addresses are written into the LED lamp beads packaged by using the tape according to a preset order.
9. The method of claim 8, wherein, The initial addresses are written into the LED lamp beads packaged by using the tape according to a preset order. The initial addresses are written into the LED lamp beads packaged by using the tape according to a preset order.
10. The method of claim 1, wherein, The initial address includes initial address information and first flag information, and the first flag information is located at the head of the initial address, or the first flag information is located at the tail of the initial address; the initial address of the LED lamp bead is written into the LED lamp bead. The initial address of the LED lamp bead is written into the LED lamp bead; wherein the write address includes write address information and second flag information; the second flag information is located at the head of the initial address, or the second flag information is located at the tail of the write address.
11. The method of claim 1, wherein, The initial address of the LED lamp bead corresponding to the duplicate address is replaced, including: A high-level instruction is sent to the upper computer program corresponding to the LED lamp bead, and the LED lamp bead enters a same code verification state; An erase address instruction is sent to the LED lamp bead corresponding to the duplicate address to erase the initial address written in the LED lamp bead corresponding to the duplicate address; The initial address is regenerated, and the initial address is different from the initial addresses of the remaining LED lamp beads which are not duplicate codes; The initial address is written into the LED lamp bead corresponding to the duplicate address.
12. The method of claim 11, wherein, Before the initial address of the LED lamp bead corresponding to the duplicate address is replaced, it further includes: Image information of a single light emitting LED lamp bead corresponding to the initial address which is not a duplicate code is obtained when the single light emitting LED lamp bead emits light, and position information of the LED lamp bead which is not a duplicate code relative to the preset substrate is obtained according to the image information; A write address of the LED lamp bead is generated according to the position information of the LED lamp bead which is not a duplicate code, and the write address is written into the LED lamp bead according to the initial address of the LED lamp bead which is not a duplicate code; so that the initial address can be the same as the initial addresses of the remaining LED lamp beads.
13. The method of claim 11, wherein, The initial address is regenerated, including: The voltage oscillation of the address generator corresponding to the initial address is controlled to change the working frequency of the address generator, so as to generate different initial addresses in the case of power-on of the address generator.
14. The method of claim 11, wherein, The initial address is regenerated, including: The address generator corresponding to the initial address is powered off; change the working voltage of the address generator to change the frequency of the address generator; re-control the power-on of the address generator so that the address generator generates a new initial address.
15. The method of claim 1, wherein, The writing of the write address into the LED lamp bead according to the initial address of the LED lamp bead comprises: The writing of the write address and the backup address corresponding to the write address into the LED lamp bead according to the initial address of the LED lamp bead.
16. The method of claim 1, wherein, The acquisition of the image information when the plurality of LED lamp beads emit light comprises: When the plurality of LED lamp beads emit light according to the initial addresses corresponding to the plurality of LED lamp beads, the image acquisition device is controlled to shoot towards the preset substrate to acquire the image information.
17. The method of claim 16, wherein, When the image information is acquired, the preset substrate is placed in a darkroom, and thus the image information can more accurately reflect the position information of the LED lamp bead emitting light.
18. An address writing device of LED lamp beads, for writing a writing address into a plurality of LED lamp beads attached to a preset substrate, each of which is pre-written with an initial address. The address writing device of the LED lamp bead comprises: The control light-emitting module is configured to control the LED lamp bead to emit light according to the initial address, and determine that the initial address is a duplicate address when it is determined that a plurality of LED lamp beads emit light correspond to the initial address. The address updating module is configured to replace the initial address of the LED lamp bead corresponding to the duplicate address until each initial address corresponds to a single LED lamp bead emitting light. The position acquisition module acquires image information when each LED lamp bead emits light, and acquires position information of each LED lamp bead relative to the preset substrate according to the image information. The second writing module generates a write address of the LED lamp bead according to the position information of the LED lamp bead, and writes the write address into the LED lamp bead according to the initial address of the LED lamp bead.
19. A computer device comprising a processor and a memory, the memory being configured to store a computer program, the computer program being configured to implement the steps of the address writing method of the LED lamp bead according to any one of claims 1 to 17 when executed by the processor.
20. A computer readable storage medium, the computer readable storage medium storing a computer program, the computer program comprising program instructions, the processor executing the program instructions to implement the steps of the address writing method of the LED lamp bead according to any one of claims 1 to 17.
Citation Information
Patent Citations
Method and device for determining physical locations of lamps
CN108966462A
Street lamp control method, street lamp and street lamp control system
CN109803470A
Lamp point address allocation method and device for LED lamp string
CN115665925A
Lamp bead address programming method and unit board
CN117098268A
Address writing method of LED lamp bead and computer equipment
CN118301811A