A full-color light strip controller, control method and device
Through the SDIO bus and the full-color light strip controller of the cascading FPGA module, the problem of complex operation and insufficient real-time display capabilities of traditional light strip controllers is solved, efficient and stable data transmission and display effects are achieved, and the deployment process is simplified.
Patent Information
- Application Number
- CN202211211073.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-09-30
AI Technical Summary
Traditional light strip controllers are not suitable for cluster control, they are complex in operation, cannot be deployed quickly, cannot display camera images and videos in real time, and are highly professional, making it difficult for ordinary construction workers to use.
The full-color light strip controller adopts the SDIO bus and cascading FPGA module. Through data acquisition, compression, transmission and multi-level cache, data transmission stability and synchronization are achieved, and camera and video data display are supported.
It simplifies the operation process, improves data transmission speed and stability, expands the light strip control scale, realizes real-time display of camera images and videos, and reduces deployment costs.
Smart Images

Figure CN115551157B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of lighting control, and particularly to a full-color ribbon controller, a control method and a device. Background Art
[0002] At present, the full-color ribbon technology is widely used in various industries including live-action entertainment. When the full-color ribbon is lit, it has bright colors and is easy to arrange. It is not only used for lighting, but also often used to set off the atmosphere, audio-visual display, etc.
[0003] Traditional ribbon controllers are only suitable for single ribbon control and not for cluster control. Professional controllers that can control a large number of ribbons (such as stage ribbon controllers) mostly use the DMX512 protocol for control, or use an ART-NET controller to output ribbon signals. Due to their special professionalism, the above-mentioned controllers make it difficult for general construction personnel to quickly start installation and use. There are problems such as complex operation, difficult debugging, and inability to quickly deploy and put into production. In addition, there are also disadvantages such as the inability to display the camera image in real time and the inability to display videos.
[0004] To solve the above technical problems, the present invention provides the following technical solutions. Summary of the Invention
[0005] Aiming at the problems existing in the above-mentioned prior art, the present invention provides a full-color ribbon controller, a control method and a device, which have the advantages of convenient operation, easy debugging and deployment, and good display effect.
[0006] The present invention discloses a full-color ribbon controller, which includes an SDIO bus, a data sending module of the host ARM, and data receiving modules of several cascaded slave FPGAs. The data receiving module at the first position of the cascade is connected to the data sending module through the SDIO bus to receive data. Among them, the data sending module includes:
[0007] A data acquisition unit for acquiring full-color ribbon data, where the full-color ribbon data includes: ribbon data obtained by parsing the ribbon effect file information, decoded data obtained by decoding the video file, and forwarded camera data;
[0008] A data sending unit for:
[0009] Compressing the full-color ribbon data to obtain compressed data;
[0010] Successively sending CMD control command information with parameters and compressed data to the data receiving module through the SDIO bus, where the CMD control command information includes the start address, end address and number of nodes of the ribbon;
[0011] The data receiving module includes:
[0012] The SDIO data receiving FIFO unit is used to intercept the data corresponding to the data receiving module itself from the received data for caching, pack the remaining part of the data, and forward it to the next cascaded data receiving module;
[0013] The all-data caching unit is used to read and cache the data cached in the SDIO data receiving FIFO unit;
[0014] The data distribution unit is used to read the data cached in the all-data caching unit, and distribute the strip data of each strip in the read data to the corresponding strip data caching FIFO unit according to the start address and end address of the strip;
[0015] Several strip data caching FIFO units are used to receive and cache the strip data of their corresponding strips, and output them in a first-in first-out manner;
[0016] The strip driving unit is used to read the data cached in the corresponding strip data caching FIFO unit, encapsulate it and output it to control the corresponding strip.
[0017] Further, the data acquisition unit includes:
[0018] The file parsing unit is used to parse the strip effect file information to obtain strip data;
[0019] The video decoding unit is used to decode the video file to obtain decoded data;
[0020] The data forwarding unit is used to forward camera data.
[0021] Further, the full-color strip controller further includes: a U disk interface module, a wired network interface module, a camera interface module, and a WiFi network interface module, which are used to import full-color strip data.
[0022] Further, the CMD control command information is 32 bits in total. Among them, bits 31 to 20 represent the start address of the strip, bits 19 to 8 represent the end address of the strip, and bits 7 to 0 represent the number of nodes of each strip;
[0023] In the CMD control command information, the number of nodes is compressed based on the actual number of strip nodes.
[0024] Further, the SDIO bus includes:
[0025] The CMD signal line is used to send CMD control command information; several data lines are used to send compressed data. When each data line sends one byte of data, the single byte will be split, and the high half-word will be sent first and then the low half-word.
[0026] Further, the data sending module is further configured to provide a 48M clock signal for the data receiving module to synchronize data.
[0027] Further, the SDIO data receiving FIFO unit is specifically configured to write and cache data after receiving every 16 bytes of data, intercept the data corresponding to the data receiving module itself according to the SDIO protocol rules for caching, package the remaining part of the data, and forward it to the next cascaded data receiving module.
[0028] The present invention also discloses a full-color light strip control method, which is applied to the full-color light strip controller described above. The method includes:
[0029] Obtain full-color light strip data, where the full-color light strip data includes: light strip data obtained by parsing light strip effect file information, decoded data obtained by decoding a video file, and forwarded camera data;
[0030] Compress the full-color light strip data to obtain compressed data;
[0031] Send a CMD control command message with parameters and the compressed data to the data receiving module through the SDIO bus in sequence, where the CMD control command message includes the start address, end address, and number of nodes of the light strip;
[0032] The SDIO data receiving FIFO unit in the data receiving module intercepts the data corresponding to the data receiving module itself from the received data for caching, packages the remaining part of the data, and forwards it to the next cascaded data receiving module;
[0033] All data caching units in the data receiving module read and cache the data cached in the SDIO data receiving FIFO unit;
[0034] The data distribution unit in the data receiving module reads the data cached in all data caching units, and distributes the light strip data of each light strip in the read data to the corresponding light strip data caching FIFO unit according to the start address and end address of the light strip;
[0035] Each light strip data caching FIFO unit in the data receiving module receives and caches the light strip data of its corresponding light strip, and outputs it in a first-in first-out manner;
[0036] The light strip driving unit in the data receiving module reads the data cached in the corresponding light strip data caching FIFO unit, encapsulates it, and outputs it to control the corresponding light strip.
[0037] The present invention also discloses a full-color light strip device, comprising: a full-color dot matrix screen formed by combining a plurality of full-color light strips in an array, and the full-color light strip controller as described above, wherein each full-color light strip is respectively connected to the full-color light strip controller for controlling the display effect of the full-color dot matrix screen.
[0038] Further, the data receiving module can drive at most 48 full-color light strips, and each full-color light strip has a maximum of 1024 nodes.
[0039] The present invention has at least the following beneficial effects:
[0040] The present invention uses the SDIO bus to transmit data, which improves the data transmission speed and data volume, and also enhances the reliability and stability of data during transmission. It greatly expands the scale of light strip control and the refresh speed, can achieve more complex sound, light, and electricity effects, and simplifies the operation method of the full-color light strip.
[0041] The present invention uses data compression for control, which shortens the data sending time and ensures the consistency and synchronization of all light strip displays. It can obtain corresponding light strip data based on camera and video analysis. The present invention has the advantages of being able to display the camera image and video in real time, enriching the display effects and functions.
[0042] The present invention uses a multi-level cache method to refresh and control the full-color light strip, evenly distributing system tasks and ensuring the absolute stability of the output signal of the full-color light strip.
[0043] The present invention uses a slave cascading connection method, which can expand more hardware resource ports and facilitate the maintenance and replacement of devices.
[0044] The structure of the present invention is simple, which can accelerate the deployment of full-color light strips in the live entertainment industry, save more costs compared with similar products, and provide a better solution for relevant practitioners.
[0045] Other beneficial effects of the present invention will be described in detail in the specific implementation part.
[0046] Explanation of professional terms:
[0047] FPGA (Field-Programmable Gate Array), Field Programmable Gate Array;
[0048] SDIO (Secure Digital Input and Output Card), Secure Digital Input and Output;
[0049] CMD (Command), which refers to the CMD command used in the SDIO bus interface protocol in some embodiments of the present invention;
[0050] FIFO (First In First Out) refers to a data buffer that operates on a first-in, first-out basis. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.
[0052] Figure 1 is a system block diagram of a full-color light strip controller disclosed in a preferred embodiment of the present invention.
[0053] Figure 2 is a schematic diagram of data signals of a full-color light strip controller disclosed in a preferred embodiment of the present invention.
[0054] Figure 3 is a main flowchart of a full-color light strip controller disclosed in a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0055] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will describe the technical solutions of the present invention in detail. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. All other implementation manners obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the scope protected by the present invention.
[0056] As Figures 1 to 3 shown, the present invention discloses a full-color light strip controller, which includes an SDIO bus, a data sending module of the host ARM, and data receiving modules of several cascaded slave FPGAs. The data receiving module at the first position of the cascade is connected to the data sending module through the SDIO bus to receive data. Among them, the SDIO bus includes: a CMD signal line for sending CMD control command information; several data lines for sending compressed data. When each data line sends one byte of data, the single byte is split, and the high half-word is sent first and then the low half-word.
[0057] CMD refers to the CMD command used in the SDIO bus interface protocol, which represents a start token. There are normally many types of CMD commands in this bus, from CMD0 to CMDXX. The present invention only uses CMD0 as the control command. Each CMD command can carry some custom parameters, and the address information of the present invention is sent in the custom parameters.
[0058] The data sending module of the present invention includes:
[0059] A data acquisition unit for acquiring full-color light strip data, where the full-color light strip data includes: light strip data obtained by parsing light strip effect file information, decoded data obtained by decoding a video file, and forwarded camera data. Specifically, the data acquisition unit acquires different types of full-color light strip data through the following units: a file parsing unit for parsing light strip effect file information to obtain light strip data; a video decoding unit for decoding a video file to obtain decoded data; and a data forwarding unit for forwarding camera data.
[0060] A data sending unit for:
[0061] Compressing the full-color light strip data to obtain compressed data; and successively sending a CMD control command message with parameters and the compressed data to the data receiving module through the SDIO bus, where the CMD control command message includes the start address, end address, and number of nodes of the light strip.
[0062] The data receiving module of the present invention includes:
[0063] An SDIO data receiving FIFO unit for intercepting the data corresponding to the data receiving module itself in the received data for caching, packing the remaining part of the data, and forwarding it to the next cascaded data receiving module. Specifically, after receiving 16 bytes of data, the data is written and cached, and the data is intercepted according to the SDIO protocol rules. As Figure 1 shown, the data receiving module is cascaded with another data receiving module through a cascaded output interface.
[0064] A full data caching unit for reading and caching the data cached in the SDIO data receiving FIFO unit.
[0065] A data distribution unit for reading the data cached in the full data caching unit and distributing the light strip data of each light strip in the read data to the corresponding light strip data caching FIFO unit according to the start address and end address of the light strip.
[0066] A number of light strip data caching FIFO units for receiving and caching the light strip data of their corresponding light strips and outputting it in a first-in-first-out manner.
[0067] A light strip driving unit for reading the data cached in the corresponding light strip data caching FIFO unit, encapsulating it, and outputting it to control the corresponding light strip.
[0068] Preferably, the full-color light strip controller further includes: a USB flash drive interface module, a wired network interface module, a camera interface module, and a WiFi network interface module for importing full-color light strip data.
[0069] Preferably, the CMD control command information is 32 bits in total. Among them, bits 31 to 20 represent the start address of the light strip, bits 19 to 8 represent the end address of the light strip, and bits 7 to 0 represent the number of nodes of each light strip.
[0070] In the CMD control command information, the number of nodes is obtained by compressing the actual number of nodes of the light strip.
[0071] Preferably, the data sending module is further configured to provide a 48M clock signal for the data receiving module to synchronize data. Figure 1 The CLK shown in the figure is the CLK clock signal line in the SDIO bus. The clock signal provided by the SDIO master device when transmitting data to the slave device can ensure the synchronous operation of the master device and the slave device. The master device and the slave device of the present invention correspond to the data sending module and the data receiving module respectively.
[0072] The present invention also discloses a full-color light strip control method, which can be applied to the full-color light strip controller described above. The method includes:
[0073] Obtain full-color light strip data, and the full-color light strip data includes: light strip data obtained by parsing the light strip effect file information, decoded data obtained by decoding the video file, and forwarded camera data;
[0074] Compress the full-color light strip data to obtain compressed data;
[0075] Send the CMD control command information with parameters and the compressed data to the data receiving module through the SDIO bus in sequence. Among them, the CMD control command information includes the start address, end address, and number of nodes of the light strip;
[0076] The SDIO data receiving FIFO unit in the data receiving module intercepts the data corresponding to itself in the received data for caching, packs the remaining part of the data, and forwards it to the next cascaded data receiving module;
[0077] All data cache units in the data receiving module read and cache the data cached in the SDIO data receiving FIFO unit;
[0078] The data distribution unit in the data receiving module reads the data cached in all data cache units, and distributes the light strip data of each light strip in the read data to the corresponding light strip data cache FIFO unit according to the start address and end address of the light strip;
[0079] Each light strip data cache FIFO unit in the data receiving module receives and caches the light strip data of its corresponding light strip, and outputs it in the first-in first-out manner;
[0080] The strip light driving unit in the data receiving module reads the data cached in the corresponding strip light data cache FIFO unit, encapsulates it and then outputs it to control the corresponding strip light.
[0081] The present invention also discloses a full-color strip light device, including: a full-color dot matrix screen formed by combining a number of full-color strip lights in an array, and the full-color strip light controller as described above, wherein each full-color strip light is respectively connected to the full-color strip light controller for controlling the display effect of the full-color dot matrix screen.
[0082] Further, the data receiving module can drive at most 48 full-color strip lights, and each full-color strip light has a maximum of 1024 nodes.
[0083] Embodiment
[0084] This embodiment discloses a full-color strip light controller that can control (full-color) strip lights to present different pictures, including a data sending module of the host ARM and a data receiving module of the slave FPGA. The sending port of the data sending module and the receiving port of the data receiving module are connected through the SDIO bus. The tail of the data receiving module is provided with an SDIO interface to continue cascading other data receiving modules. The SDIO interface can be used to read and write SD cards. In this embodiment, the SDIO interface is used to transmit data, mainly taking advantage of its characteristics of large data transmission volume and stable transmission process.
[0085] The data sending module includes a file parsing unit, a video decoding unit, a data forwarding unit, a data sending unit, and is provided with an SDIO interface, a USB flash drive interface, a wired network interface, a camera interface, and a WiFi network interface.
[0086] The data sending module can parse the strip light effect file through the file parsing unit, import the effect file into the data sending module through media such as wired or wireless network interfaces and USB flash drives. After the device is powered on, it automatically parses the file and generates strip light data according to steps, and sends the data to the data receiving module through the bus for display.
[0087] The data sending module can read the video file in the USB flash drive interface through the video decoding unit, decode the video file, and send the decoded data to the data receiving module through the SDIO bus for display.
[0088] The data sending module can receive camera data through the wired network interface, the camera interface, and the WIFI network interface, directly forward it to the data sending unit through the data forwarding unit, and then send it to the data receiving module by the data sending unit.
[0089] The described data sending module compresses all the full-color light strip data to be displayed through the data sending unit, encapsulates the display data of each light strip into a data table, and then encapsulates all the data tables into a data packet for sending. Before sending the data packet, a CMD control command with parameters will be sent for the data receiving module to parse and display. The CMD control command information is 32 bits in total, including the start address, end address, and the number of nodes of the light strip. Bits 31 to 20 represent the start address of the controlled light strip, bits 19 to 8 represent the end address of the light strip, and bits 7 to 0 represent the number of nodes of each light strip. The number of nodes of the light strip in the control command is compressed and needs to be multiplied by 8 to get the actual number of nodes of the light strip. When sending data, the data sending module sends the CMD command on the CMD signal line of the SDIO bus and sends data on data lines D0 to D3. When sending each byte of data on the data line, the single byte will be split, and the high half-word will be sent first and then the low half-word, and all the data will be sent in sequence. When controlling the full-color light strip, the data sending sequence is: the data sending module first sends the CMD control command information, and then immediately sends the data packet, thus completing the sending of the light strip data once.
[0090] After the system power-on initialization is completed, the described data sending module will send a packet of clearing data to the data receiving module to initialize the cache data status in the data receiving module.
[0091] The described data sending module provides a 48M clock signal for the data receiving module for data synchronization.
[0092] The described data receiving module can drive up to 48 full-color light strips per module, and each light strip is up to 1024 nodes long. For the first data receiving module cascaded by the data sending module, its address is from 1 to 48, and the light strip addresses of the subsequent cascaded data receiving modules will be offset and increased in sequence.
[0093] The described data receiving module includes an SDIO data receiving FIFO unit, an all-data cache unit, a data distribution unit, a light strip data cache FIFO unit, and a light strip driving unit.
[0094] Each time the described SDIO data receiving unit receives 16 bytes of data, it writes the received data into the FIFO cache, intercepts the data of this data receiving module according to the SDIO protocol rules (which is the standard protocol used in multimedia devices), and repackages and forwards the remaining data to the next cascaded data receiving module in the same format.
[0095] All the data cache units will quickly read the strip data in the SDIO data reception FIFO unit. When it detects that there is more than 8 bytes of data in its FIFO cache, it will read the data, and its reading speed is more than twice the SDIO data reception speed.
[0096] The data distribution unit will read the cached data in all the data cache units and distribute the data to the strip data FIFO cache units of each strip according to the strip address.
[0097] The strip data cache FIFO unit is used to cache the data of this strip and output the data according to the first-in-first-out principle.
[0098] The strip driving unit will read the cached data in the strip data cache FIFO unit and encapsulate the strip data into data with a 1024-length node for output and display.
[0099] The full-color strip controller disclosed in this embodiment uses the SDIO interface to transmit strip data. The refresh speed can reach 32 frames per second. Each strip can drive up to 1024 nodes at most, and can combine the strips connected to the controller into a full-color dot matrix screen. It can control more full-color strips at a faster speed to solve the drawbacks in the prior art such as the inability to quickly deploy, cluster control, and complex operation of full-color strips in this field, as well as the disadvantages of being unable to display the camera image in real time and not being able to perform video display, so that the full-color strips can present more complex sound, light, and electrical effects during the process of live-action entertainment.
[0100] The above is only the specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention.
Claims
1. A full-color light strip controller, characterized in that, It includes an SDIO bus, a data sending module of the host ARM, and data receiving modules of several cascaded slave FPGAs. The data receiving module at the first position of the cascade is connected to the data sending module through the SDIO bus to receive data. Among them, the data sending module includes: a data acquisition unit for acquiring full-color strip light data, and the full-color strip light data includes: strip light data obtained by parsing strip light effect file information, decoded data obtained by decoding a video file, and forwarded camera data; the said data sending module is also used to provide a 48M clock signal for the data receiving module for data synchronization; A data sending unit for compressing the full-color strip light data to obtain compressed data; successively sending a CMD control command message with parameters and the compressed data to the data receiving module through the SDIO bus, where the CMD control command message includes the start address, end address, and number of nodes of the strip light; the said CMD control command message is 32 bits in total, where bits 31 to 20 represent the start address of the strip light, bits 19 to 8 represent the end address of the strip light, and bits 7 to 0 represent the number of nodes of each strip light; in the said CMD control command message, the number of nodes is compressed based on the actual number of strip light nodes; The said SDIO bus includes a CMD signal line for sending the CMD control command message; several data lines for sending the compressed data. When each data line sends one byte of data, the single byte will be split, and the high half-word will be sent first and then the low half-word; The data receiving module includes: an SDIO data receiving FIFO unit, and the said SDIO data receiving FIFO unit is specifically used to write and cache the data after receiving 16 bytes of data each time, and intercept the data corresponding to the data receiving module itself in the received data according to the SDIO protocol rules for caching, and package the rest of the data and forward it to the next cascaded data receiving module; A full data caching unit for reading and caching the data cached in the SDIO data receiving FIFO unit; A data distribution unit for reading the data cached in the full data caching unit, and distributing the strip light data of each strip light in the read data to the corresponding strip light data caching FIFO unit according to the start address and end address of the strip light; Several strip light data caching FIFO units for receiving and caching the strip light data of their corresponding strip lights and outputting them in a first-in, first-out manner; A strip light driving unit for reading the data cached in the corresponding strip light data caching FIFO unit, encapsulating it, and outputting it to control the corresponding strip light.
2. The full-color light strip controller according to claim 1, wherein The said data acquisition unit includes: a file parsing unit for parsing strip light effect file information to obtain strip light data; a video decoding unit for decoding a video file to obtain decoded data; a data forwarding unit for forwarding camera data.
3. The full-color light strip controller according to claim 1, characterized in that, The said full-color strip light controller further includes: a USB flash drive interface module, a wired network interface module, a camera interface module, and a WiFi network interface module for importing full-color strip light data.
4. A full-color light strip control method, characterized in that, The method is applied to the full-color light strip controller described in any one of claims 1 to 3, and the method includes: Obtaining full-color light strip data, where the full-color light strip data includes: light strip data obtained by parsing light strip effect file information, decoded data obtained by decoding a video file, and forwarded camera data; it is also used to provide a 48M clock signal for the data receiving module for data synchronization; Compressing the full-color light strip data to obtain compressed data; Sending a CMD control command message with parameters and the compressed data to the data receiving module successively through the SDIO bus. Among them, the CMD control command message includes the start address, end address, and number of nodes of the light strip; the CMD control command message is 32 bits in total. Among them, bits 31 to 20 represent the start address of the light strip, bits 19 to 8 represent the end address of the light strip, and bits 7 to 0 represent the number of nodes of each light strip; in the CMD control command message, the number of nodes is compressed based on the actual number of light strip nodes; The SDIO data receiving FIFO unit in the data receiving module is specifically used to write and cache the data after receiving 16 bytes of data each time, and intercept the data corresponding to the data receiving module itself in the received data according to the SDIO protocol rules for caching, package the remaining part of the data and forward it to the next cascaded data receiving module; All data caching units in the data receiving module read and cache the data cached in the SDIO data receiving FIFO unit; The data distribution unit in the data receiving module reads the data cached in all data caching units, and distributes the light strip data of each light strip in the read data to the corresponding light strip data caching FIFO unit according to the start address and end address of the light strip; Each light strip data caching FIFO unit in the data receiving module receives and caches the light strip data of its corresponding light strip, and outputs it in a first-in first-out manner; The light strip driving unit in the data receiving module reads the data cached in the corresponding light strip data caching FIFO unit, encapsulates it and outputs it to control the corresponding light strip.
5. A full-color light strip device, characterized in that, Including: A full-color dot matrix screen composed of several full-color light strips arranged in combination, and the full-color light strip controller described in claim 1 or 2, where each full-color light strip is respectively connected to the full-color light strip controller for controlling the display effect of the full-color dot matrix screen.
6. The full-color light strip device according to claim 5, wherein The data receiving module can drive at most 48 full-color light strips, and each full-color light strip has a maximum of 1024 nodes.