Method for controlling multiple light bar synchronous light effects based on BLE periodic broadcast
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN XINZHONGXIN TECH CO LTD
- Filing Date
- 2026-04-13
- Publication Date
- 2026-06-26
AI Technical Summary
Existing multi-strip lighting effect control systems suffer from low synchronization accuracy, cumbersome networking, high communication load, and poor deployment flexibility, failing to meet the needs of efficient and flexible control for stage performances.
The method of multi-strip synchronous lighting effect control based on BLE periodic broadcasting is adopted. Periodic broadcasting is configured through BLE host to realize automatic networking and number allocation. Combined with time synchronization stamp, fixed broadcasting and partition calculation of lighting effect data are performed, supporting dynamic adjustment and real-time monitoring.
It achieves high-precision lighting effect synchronization, simplifies the networking process, reduces communication load, improves system stability and flexibility, adapts to rapid adjustments in stage layout, and enhances stage visual effects and system anti-interference capabilities.
Smart Images

Figure CN122294339A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of stage lighting control technology, and in particular to a method for controlling the synchronized lighting effects of multiple light strips based on BLE periodic broadcasting. Background Technology
[0002] In the current field of multi-strip stage lighting effect control technology, existing technologies mainly suffer from two significant defects: 1. When using BLE legacy broadcast for lighting effect data transmission, the addition of random numbers to the broadcast interval results in an unfixed interval. Multiple light strips cannot accurately predict the data reception time, resulting in low synchronization accuracy and easy occurrence of lighting effect misalignment and stuttering, making it impossible to form a coherent overall stage pattern. 2. Existing wireless control solutions for multiple light strips lack an efficient automatic networking mechanism. They require manual configuration of light strip numbers and total quantities, which is cumbersome, error-prone, and the host needs to send specific lighting effect commands to each light strip individually, resulting in a large communication load. When the number of light strips increases (e.g., close to 32), the transmission efficiency drops significantly. Meanwhile, wired control solutions require laying a large number of cables, which is cumbersome to construct, lacks flexibility, and cannot meet the needs of rapid adjustments to the stage layout.
[0003] In addition, some wireless control solutions fail to monitor the working status of the light strips in real time, and cannot handle situations where the light strips are offline or communication is abnormal in a timely manner. The system stability and reliability are insufficient, making it difficult to meet the core requirements of synchronous, efficient and flexible control of multiple light strips in stage performances.
[0004] Therefore, there is an urgent need in this field for a multi-strip synchronous lighting effect control method that can effectively solve the problems of low synchronization accuracy, cumbersome networking, large communication load, and poor deployment flexibility in existing multi-strip lighting effect control.
[0005] The information disclosed in this background section is intended only to enhance the understanding of the overall background of the invention and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0006] The purpose of this invention is to provide a method for controlling the synchronous lighting effect of multiple light strips that can effectively solve the problems of low synchronization accuracy, cumbersome networking, high communication load, and poor deployment flexibility in existing multi-light strip lighting effect control.
[0007] To achieve the above objectives, the present invention provides the following solution: A method for synchronous lighting effect control of multiple LED strips based on BLE periodic broadcasting, applied to a lighting effect control system consisting of a BLE host and at least one Bluetooth LED strip, is characterized by the following steps: System initialization: The BLE host is configured and BLE periodic broadcast is enabled; the Bluetooth light strip initializes the receiving module and listens for the broadcast. Automatic networking and number allocation: The BLE host receives the response from the Bluetooth light strip by periodically broadcasting networking instructions to determine the total number of light strips N, and assigns a unique number K to each light strip; the BLE host sends the total number of light strips N and the number allocation information through periodic broadcasting, and the light strip receives and stores its own number K and the total number of light strips N; Lighting effect data periodic broadcast: The BLE host acquires stage pattern lighting effect data and broadcasts it continuously at fixed intervals through BLE periodic broadcast; Lighting effect zoning calculation and synchronous presentation: The light strip receives the lighting effect data, divides the complete stage pattern lighting effect into N adaptation zones according to the total number N of the light strips, and determines the corresponding target zone according to its own number K, and calculates the lighting effect parameters of the zone; all light strips synchronously present the calculated lighting effect according to the timestamp in the lighting effect data.
[0008] Optionally, the automatic networking and number allocation steps specifically include: The BLE host receives the unique device identifier from all light strips via a response slot that broadcasts periodically with a response. The BLE host performs deduplication and counting on the received device identifiers to determine the total number N of light strips connected to the network; The BLE host assigns a unique number K from 1 to N to each light strip, and encapsulates the total number N of light strips and the correspondence between the device identifier of each light strip and the number K into a network confirmation instruction data packet for periodic broadcast. The light strip receives the network confirmation instruction data packet, parses and permanently stores its own number K and the total number of light strips N.
[0009] Optionally, the fixed broadcast interval for the BLE host to broadcast lighting effect data periodically is adjustable between 7.5ms and 81.91875s.
[0010] Optionally, system maintenance and dynamic adjustment steps may also be included: The BLE host broadcasts status query commands at fixed intervals and receives the working status feedback from the light strip through the response slot; If the light strip is detected to be offline or communication is abnormal, the BLE host rebroadcasts the networking command to trigger its reconnection, and recalculates the total number of light strips N and updates the number K. If stage lighting effects need to be adjusted, the BLE host updates the lighting effect data and then re-encrypts the broadcast.
[0011] Optionally, the partitioning algorithm for calculating the lighting effect parameters of the light strips is as follows: based on the total number N of the light strips, the complete stage pattern lighting effect is divided into N continuous or independent partitions according to preset rules, and the partition lighting effects of all the light strips are spliced together to form a complete overall stage pattern.
[0012] Optionally, the BLE host encrypts and encodes the lighting effect data before broadcasting it; after receiving the broadcast, the light strip first decrypts and decodes it, and then extracts the core lighting effect data and time synchronization stamp.
[0013] Optionally, the BLE host is one unit, and the number of Bluetooth light strips is a maximum of 32.
[0014] Optionally, the Bluetooth light strip integrates a BLE periodic broadcast receiving module, a storage module, a lighting effect algorithm module, and a lighting effect control module; the BLE host integrates a BLE periodic broadcasting module, supporting bidirectional periodic broadcast communication with response.
[0015] Optionally, the lighting effect data packet includes at least the core lighting effect data and a timestamp; the lighting effect parameters include at least the color, brightness, lighting sequence, or dynamic switching rhythm of the LED beads.
[0016] Compared with the prior art, the present invention has the following beneficial effects: High synchronization accuracy and coordinated lighting effects: By adopting BLE periodic broadcast fixed period broadcast technology, the random interval problem of traditional broadcasting is eliminated. Combined with the time synchronization stamp mechanism, multiple light strips can achieve precise time synchronization, avoiding light effect misalignment and stuttering, ensuring that the stage pattern is formed after the zoned light effects are spliced together, and improving the stage visual effect.
[0017] Efficient and convenient networking without manual configuration: It realizes automatic networking, numbering and information storage of multiple light strips, eliminating the need for manual setting of light strip numbers and total quantity, greatly reducing the complexity of operation, and can quickly complete the construction of stage lighting network to meet the needs of rapid deployment in stage scenes. It also supports dynamic access / reconnection of light strips, making the networking highly flexible.
[0018] Low communication load and high transmission efficiency: The light strips autonomously calculate the zone lighting effects based on their own number and total number. The host does not need to send specific instructions to individual light strips, but only needs to broadcast unified lighting effect data, which greatly reduces the communication load of the host. It can support up to 32 light strips working together to meet the lighting effect requirements of most stage scenes.
[0019] Flexible deployment and low power consumption: It adopts wireless BLE periodic broadcast communication, which eliminates the need for laying cables, resulting in low construction costs. The layout of the light strips can be flexibly adjusted, and the low power consumption of BLE periodic broadcast technology allows the light strips to be powered by batteries, further improving scene adaptability.
[0020] The system is stable and reliable, and can be dynamically adjusted: the host can monitor the working status of the light strips in real time through bidirectional communication with periodic broadcasts with response, and can promptly handle issues such as light strip offline / communication abnormalities. At the same time, it supports real-time updates and broadcasts of lighting effect data, realizing dynamic switching of stage lighting effects and meeting the diverse needs of stage performances.
[0021] Secure data transmission and strong anti-interference capability: The lighting effect data is transmitted in an encrypted manner to prevent data from being interfered with or tampered with, ensuring the accuracy of the lighting effect parameters and improving the system's anti-interference capability. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 A flowchart of the BLE host operation provided for an embodiment of the present invention.
[0024] Figure 2 A flowchart illustrating the operation of a Bluetooth light strip provided in an embodiment of the present invention. Detailed Implementation
[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0026] The purpose of this invention is to provide a method for controlling the synchronous lighting effect of multiple light strips that can effectively solve the problems of low synchronization accuracy, cumbersome networking, high communication load, and poor deployment flexibility in existing multi-light strip lighting effect control.
[0027] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] Example 1: The method provided in this embodiment is applied to a lighting effect control system consisting of one BLE host and up to 32 Bluetooth LED strips. Each Bluetooth LED strip integrates a BLE periodic broadcast receiving module, a storage module, a lighting effect algorithm module, and a lighting effect control module. The BLE host integrates a BLE periodic broadcast module, supporting bidirectional periodic broadcast communication with response. The overall technical solution consists of five core components: system initialization, automatic networking of multiple LED strips, periodic broadcasting of lighting effect data, LED strip lighting effect calculation and synchronous presentation, and system maintenance and dynamic adjustment.
[0029] Specifically, such as Figure 1 and Figure 2 As shown, the method includes the following steps: I. System Initialization and Automatic Network Setup: After the BLE host starts up, configure the periodic broadcast parameters, including setting a fixed broadcast interval (preferably 100ms), broadcast channel and number of sub-event response slots, and enable the periodic broadcast function to continuously broadcast network command data packets to the surrounding space.
[0030] After the Bluetooth light strip is powered on, it initializes the BLE periodic broadcast receiver module and enters standby scanning mode. When it detects a network command data packet containing a valid network identifier, it parses and synchronizes the host's periodic broadcast parameters to complete time synchronization. Then, it sends its unique device identifier to the host through the response slot of the periodic broadcast with a response, requesting network access.
[0031] The BLE host receives the unique device identifiers from all LED strips via the response slot, performs deduplication and counting to determine the total number N (N≤32) of LED strips connected to the network, and assigns a unique number K (1~N) to each LED strip according to the order of receipt. Subsequently, the host encapsulates the total number of LED strips N and the correspondence between each LED strip's device identifier and number K into a network confirmation command data packet, which is then broadcast periodically via BLE periodic broadcast.
[0032] After receiving the network confirmation instruction data packet, the light bar parses out its own number K and the total number of light bars N, and permanently stores them in the local storage module.
[0033] II. Periodic Broadcasting and Synchronous Presentation of Lighting Effect Data: After the network is set up, the BLE host obtains the preset stage pattern lighting effect data, encrypts and encapsulates the data into a lighting effect data packet, which contains the core lighting effect data and a time synchronization stamp. Subsequently, the host continuously broadcasts periodically at the initialized fixed broadcast interval.
[0034] The light strip remains in receiving mode, listening for light effect data packets at fixed intervals after synchronization. Upon receiving a packet, it first decrypts and decodes it to extract the core light effect data and the timestamp, and then retrieves its own ID K and the total number of light strips N from the local storage module.
[0035] The light strip's lighting effect algorithm module divides the complete stage pattern lighting effect into N consecutive or independent zones based on the total number of light strips N, according to the lighting effect zoning algorithm. Each zone corresponds to a unique number for a light strip, and the lighting effects of all light strip zones are spliced together to form the complete overall stage pattern. The light strip determines its corresponding target zone through its own number K, and combined with the core lighting effect data, calculates the specific lighting effect parameters of that zone (such as LED color, brightness, lighting sequence, and dynamic switching rhythm).
[0036] Finally, all light strips start displaying their lighting effects at the same time according to the timestamp, and control the LED beads to work according to the calculated lighting effect parameters, thus achieving synchronization of multiple light strips.
[0037] III. System Maintenance and Dynamic Adjustment: The BLE host broadcasts status query command data packets at fixed intervals (preferably 500ms) and receives feedback on the working status of the light strips (such as lighting effect status, communication status, and battery status) through response slots. If an offline light strip or communication abnormality is detected, the host rebroadcasts the network configuration command to trigger reconnection and recalculates the total number of light strips N and updates the number K. If stage lighting effects need to be adjusted, the host updates the lighting effect data and re-encrypts the broadcast to achieve dynamic switching of lighting effects.
[0038] The present invention eliminates the random interval problem of traditional broadcasting by utilizing the fixed period characteristic of BLE periodic broadcasting through the above technical solution. Combined with automatic networking and partitioning algorithms, it achieves high-precision synchronization, efficient networking and low communication load control of multiple light strips.
[0039] This embodiment details the implementation process of the method of the present invention in a specific application scenario. This scenario uses a stage lighting effect network composed of 16 Bluetooth light strips to achieve synchronized presentation of a rainbow gradient stage pattern as an example.
[0040] System initialization and networking: After the BLE host powers on, configure the periodic broadcast parameters: set the fixed broadcast interval to 100ms, use broadcast channels 37, 38, and 39, and allocate 4 response slots for each sub-event. After configuration, the host starts periodic broadcasting, continuously broadcasting networking commands.
[0041] Upon power-on initialization, the 16 Bluetooth LED strips scan for and receive the network formation command. They then synchronize the host's broadcast parameters and send a unique device identifier back to the host via their respective response slots. The host receives all 16 identifiers, deduplicates them, and determines N=16. The host assigns numbers K=1 to K=16 to the LED strips in the order they are received. Subsequently, the host encapsulates N=16 and the correspondence between each LED strip identifier and its corresponding number into a network formation confirmation command, which is then periodically broadcast.
[0042] Network information storage: After receiving the network confirmation command, each light strip resolves its own number K (for example, K=1 for the first light strip, K=2 for the second light strip, and so on) and the total number N=16, and permanently stores the (K, N) pairs in the local module.
[0043] Lighting effect data broadcast: The BLE host internally edits rainbow gradient lighting effect data, which defines the complete color gradient range from red to purple, 80% brightness, and a switching speed of 100ms / frame. The host encrypts and encapsulates this data along with a timestamp into a lighting effect data packet, and begins periodically broadcasting it at fixed intervals of 100ms.
[0044] Lighting effect zoning calculation and synchronous presentation: Each light strip continuously listens for and receives lighting effect data packets. Upon receiving them, it first decrypts and decodes them to extract the core lighting effect data and synchronization stamp. Then, the light strip calls its own number K and the total number N=16 stored locally.
[0045] The algorithm module of the light strip logically divides the complete rainbow gradient pattern into 16 consecutive color gradient zones based on N=16. According to its own number K, the light strip determines its target zone: K=1 corresponds to the red zone, K=2 to the orange zone, K=3 to the yellow zone, ..., K=16 to the purple zone. Each light strip then calculates the precise color value, brightness, and switching sequence it needs to display.
[0046] Ultimately, all 16 light strips activated their lighting effects simultaneously according to the timestamps broadcast. The 16 zone lighting effects seamlessly spliced together to form a complete and coherent rainbow gradient stage pattern, switching synchronously at a rate of 100ms per frame, resulting in a smooth and unified visual effect.
[0047] System maintenance: During the lighting effects playback, the BLE host broadcasts a status query command every 500ms. All LED strips respond with their current working status in their respective assigned response slots. If the host does not receive feedback from a particular LED strip (e.g., a strip with K=5) for several consecutive cycles, it determines that the strip is offline. The host immediately rebroadcasts the network reconnection command, triggering the offline LED strip to reconnect to the network after recovery, and recalculates N (assuming it remains 16) and reassigns the number K, ensuring the integrity of the stage lighting effects and the stability of the system.
[0048] As can be seen from this embodiment, the method of the present invention can automatically network and number 16 light strips without any manual configuration, ensure a synchronization accuracy of 100ms through fixed periodic broadcasting, and the host only broadcasts one channel of lighting effect data, resulting in extremely low communication load and perfectly realizing complex overall stage lighting effects.
[0049] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.
[0050] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. Furthermore, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for controlling a multi-lamp synchronization light effect based on BLE periodic broadcast, applied to a light effect control system composed of a BLE host and at least one Bluetooth lamp strip, characterized in that, The method comprises the following steps: System initialization: the BLE host configures and enables BLE periodic broadcast, and the Bluetooth light bar initializes the receiving module and listens to the broadcast; Automatic networking and number allocation: the BLE host receives the response of the Bluetooth light bar through periodic broadcast networking instructions to determine the total number of light bars N, and allocates a unique number K to each light bar; the BLE host sends the total number of light bars N and the number allocation information through periodic broadcast, and the light bar receives and stores its own number K and the total number of light bars N; Light effect data periodic broadcast: the BLE host obtains the stage pattern light effect data, and continuously broadcasts through BLE periodic broadcast at a fixed broadcast interval; Light effect partition calculation and synchronous presentation: the light bar receives the light effect data, divides the complete stage pattern light effect into N adaptive partitions according to the total number of light bars N, determines the corresponding target partition according to its own number K, and calculates the light effect parameters of the partition; all light bars present the calculated light effect synchronously according to the time synchronization stamp in the light effect data.
2. The method of claim 1, wherein the method further comprises: The automatic networking and number allocation step specifically comprises: The BLE host receives the unique device identification feedback by all light bars through the response slot of the periodic broadcast with response; The BLE host de-duplicates and counts the received device identification to determine the total number of light bars N accessing the network; The BLE host allocates the unique number K from 1 to N to each light bar, and encapsulates the total number of light bars N and the correspondence between the device identification and the number K of each light bar into a networking confirmation instruction data packet for periodic broadcast; The light bar receives the networking confirmation instruction data packet, analyzes and permanently stores its own number K and the total number of light bars N. 3.The method of claim 1, wherein, The fixed broadcast interval of the BLE host for periodic broadcast of light effect data is adjustable between 7.5 ms and 81.91875 s.
4. The method of claim 1, wherein the method further comprises: It also includes system maintenance and dynamic adjustment steps: The BLE host broadcasts a state query instruction at a fixed period, and receives the working state feedback from the light bar through the response slot; If it is detected that the light bar is offline or has communication abnormalities, the BLE host rebroadcasts the networking instruction to trigger its reconnection, and recalculates the total number of light bars N and updates the number K; If the stage light effect needs to be adjusted, the BLE host updates the light effect data and then re-encrypts and broadcasts it.
5. The method of claim 1, wherein the method further comprises: The partition algorithm for calculating light effect parameters of the light bar is: according to the total number of light bars N, the complete stage pattern light effect is divided into N continuous or independent partitions according to a preset rule, and the partition light effects of all light bars are spliced to form a complete stage whole pattern.
6. The method of claim 1, wherein the method further comprises: The BLE host encrypts and encodes the light effect data before broadcasting; after receiving the broadcast, the light bar first decrypts and decodes, and then extracts the light effect core data and the time synchronization stamp.
7. The method of claim 1, wherein the method further comprises: The BLE host is one, and the number of Bluetooth light bars is at most 32. 8.The method of claim 1, wherein, The Bluetooth light bar integrates a BLE periodic broadcast receiving module, a storage module, a light effect algorithm module, and a light effect control module; the BLE host integrates a BLE periodic broadcast broadcasting module and supports periodic broadcast bidirectional communication with response. 9.The method of claim 1, wherein, The light effect data packet at least contains light effect core data and a time synchronization stamp; the light effect parameters at least include a color of a lamp bead, brightness, a lighting timing or a dynamic switching rhythm.