Dynamic light cooperative control system and method based on Bluetooth signal intensity positioning
The dynamic lighting coordination control system, which uses Bluetooth signal strength for positioning, utilizes Bluetooth Low Energy (BLE) nodes and an RS485 bus to achieve a continuous and smooth transition of lighting effects. This solves the problems of high deployment costs and poor environmental adaptability of existing interactive lighting systems, and provides a low-cost, interference-resistant, and natural and smooth lighting interaction experience.
Patent Information
- Application Number
- CN202511356605.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-22
- Publication Date
- 2025-11-18
AI Technical Summary
Existing interactive lighting systems are costly to deploy, have poor environmental adaptability, and produce disjointed effects, making it difficult to achieve a low-cost, interference-resistant, and natural and smooth interactive lighting experience.
A positioning method based on Bluetooth signal strength is adopted. Through Bluetooth Low Energy (BLE) broadcast nodes, user mobile terminals, lighting control devices, and lighting driver modules, combined with RS485 bus and filtering algorithms, continuous and smooth transitions and personalized control of lighting effects are achieved.
It significantly reduces system deployment costs and complexity, lowers control latency, enhances the consistency of the visual experience, improves construction and maintenance efficiency, supports tiered member interaction functions, and possesses good environmental adaptability and commercial potential.
Smart Images

Figure CN120980754A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent lighting control technology, and in particular to a dynamic lighting collaborative control system and method for interactive landscape lighting, especially for running tracks or multimedia interactive lighting scenes, which uses Bluetooth signal strength for positioning and triggering. Background Technology
[0002] With the vigorous development of national fitness activities and the continuous advancement of smart city construction, interactive experience projects that combine outdoor sports facilities with artistic lighting landscapes are gaining increasing popularity. These projects are commonly found in public running tracks, park trails, theme parks, and other locations. Through dynamic interaction between lighting effects and pedestrians or runners, they not only greatly enhance the participants' sense of immersion and enjoyment but also significantly increase the attractiveness and utilization of the venue, becoming a highlight of modern urban construction.
[0003] In existing technological solutions, human-light interaction typically relies on various sensors for location sensing. For example, some systems use infrared sensors, pressure sensors, or ultrasonic sensors to detect the passage or presence of users. However, these solutions face numerous challenges in practical deployment and application. Infrared sensors are susceptible to interference in rainy or foggy weather, resulting in decreased detection accuracy; pressure sensors need to be buried underground, making installation complex and requiring specific terrain features, leading to high maintenance costs. Furthermore, some solutions employ higher-precision positioning technologies such as ultra-wideband (UWB), but their hardware costs and deployment complexity are often too high for large-area, long-distance runway landscape applications, hindering large-scale deployment.
[0004] Therefore, there is an urgent need in this field for a dynamic lighting control system that is low-cost, flexible in deployment, has strong anti-interference capabilities, and can achieve natural and smooth interactive lighting effects. Summary of the Invention
[0005] The purpose of this invention is to overcome the shortcomings of existing interactive lighting systems, such as high deployment costs, poor environmental adaptability, and fragmented effects. It provides a dynamic lighting collaborative control system and method based on mobile phone Bluetooth broadcasting, which achieves a personalized human-light interaction experience with low latency, high synchronization, continuous smoothness, and easy deployment through localized signal recognition and inter-module collaboration.
[0006] To solve the above-mentioned technical problems, the technical solution proposed in this application is as follows:
[0007] This invention provides a dynamic lighting coordination control system based on Bluetooth signal strength positioning, comprising:
[0008] Multiple Bluetooth Low Energy (BLE) broadcast nodes are configured at specific locations within the area of the light to be controlled;
[0009] The user mobile terminal is used to periodically broadcast BLE signals containing user identification information during operation.
[0010] A lighting control device includes a lighting controller and a dimming device connected to the lighting controller; the lighting controller is equipped with a Bluetooth communication module for scanning and receiving BLE signals broadcast by the user's mobile terminal and obtaining its Received Signal Strength Indicator (RSSI); the lighting controller is configured to estimate the user's proximity based on the RSSI and generate a lighting control command when it is determined that the user is approaching the target lighting fixture; the dimming device is used to receive the lighting control command and output a corresponding dimming drive signal.
[0011] Multiple lighting drive modules are connected to the dimming device and are used to drive corresponding lamps to emit light according to the dimming drive signal; the multiple lighting drive modules are connected to each other via an RS485 bus to exchange coordination parameters to achieve a continuous transition of lighting effects.
[0012] Furthermore, the lighting control device and the dimming device are connected via a wired connection through one of an RS-232 interface, a USB interface, or an Ethernet interface; the dimming device controls the lighting drive module through a pulse width modulation (PWM) signal to adjust the brightness and color of the lamp.
[0013] Furthermore, the lighting controller is configured to perform noise reduction processing on the acquired RSSI value using a filtering algorithm, and compare the noise-reduced RSSI value with a preset threshold to determine whether the user is approaching the target lighting fixture; wherein, the filtering algorithm includes moving average filtering or Kalman filtering.
[0014] Furthermore, the lighting driving module includes a constant current driving circuit for driving RGB LED lights; the lighting driving module sends a cooperative data frame to an adjacent lighting driving module via the RS485 bus. The cooperative data frame includes a start character, module address, command word, parameter field, and cyclic redundancy check (CRC) field. The parameter field contains boundary weights and gradient parameters for achieving smooth transitions in lighting effects.
[0015] Furthermore, it also includes the installation and debugging of terminals and servers;
[0016] The installation and debugging terminal is used to scan the BLE broadcast node in the installation and debugging state to obtain its BLE identifier, bind the BLE identifier with the lamp identifier and the RS485 address of the lighting driver module to generate binding mapping data, and configure the transmit power (TX power) and broadcast interval of the BLE broadcast node.
[0017] The server is communicatively connected to the installation and debugging terminal and the lighting control device. It is used to receive and store the binding mapping data and configuration parameters, generate a lighting effect mapping table and RSSI scene calibration parameters, and send them to the lighting control device.
[0018] Furthermore, the lighting control device is also configured to execute a local degradation control strategy when it is unable to communicate normally with the server. The local degradation control strategy includes controlling the lights to remain on or executing a pre-stored local gradient effect.
[0019] Furthermore, the BLE signal broadcast by the user's mobile terminal also includes user membership level information; the light controller is further configured to trigger different lighting effects according to different user membership levels.
[0020] On the other hand, this application also claims protection for a dynamic lighting coordination control method based on Bluetooth signal strength positioning, comprising the following steps:
[0021] The user's mobile terminal periodically broadcasts a BLE signal containing the user's identifier;
[0022] The lighting controller scans and receives the BLE signal to obtain its RSSI value;
[0023] The lighting controller uses a filtering algorithm to denoise the RSSI value and estimates the proximity of the user to the lighting fixture based on the denoised RSSI value.
[0024] When the approximation exceeds a preset threshold, the lighting controller generates a corresponding lighting control command based on a pre-stored lighting effect mapping table.
[0025] The lighting controller sends the lighting control command to the dimming device;
[0026] The dimming device generates a dimming drive signal according to the lighting control command and sends it to the corresponding lighting drive module;
[0027] The lighting driver module drives the lamp to emit light according to the dimming drive signal, and cooperates with the adjacent lighting driver module through the RS485 bus to exchange cooperative data frames containing boundary weights and gradient parameters, so as to achieve a continuous and smooth transition of the lighting effect in space.
[0028] Furthermore, it also includes an installation and debugging method, which includes the following steps:
[0029] By installing and debugging the terminal, scan each BLE broadcast node in the area to obtain its BLE identifier;
[0030] Bind each BLE identifier to the corresponding lamp identifier and the RS485 address of the lighting driver module to generate a binding mapping table;
[0031] Configure the transmit power (TX power) and broadcast interval of the BLE broadcast node;
[0032] Upload the binding mapping table and configuration parameters to the server;
[0033] The server generates the lighting effect mapping table and RSSI scene calibration parameters, and sends them to the lighting control device.
[0034] Furthermore, the installation and debugging method also includes the following steps: triggering a lamp test command through the installation and debugging terminal to verify the function of a single lamp and its coordination effect with adjacent lamps via the RS485 bus; the BLE signal broadcast by the user mobile terminal also includes user membership level information; the step of generating corresponding lighting control commands includes: generating different lighting control commands according to different user membership levels.
[0035] Compared with the prior art, the present invention achieves the following beneficial technical effects:
[0036] This invention utilizes widely supported mobile phone Bluetooth broadcasting for positioning, significantly reducing system deployment costs and complexity; through localized signal processing and judgment, it significantly reduces control latency; with the help of a wired collaborative bus between lamps, it achieves high synchronization and smooth transition of lighting changes, improving the continuity of the visual experience; its installation and debugging mode greatly improves construction and maintenance efficiency, and supports intelligent interactive functions such as membership tiers, possessing both good environmental adaptability and commercial potential. Attached Figure Description
[0037] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a schematic diagram of a dynamic lighting coordination control system based on Bluetooth signal strength positioning, provided as an embodiment of the present invention.
[0039] Figure 2 A flowchart of a dynamic lighting coordination control method based on Bluetooth signal strength positioning provided in an embodiment of the present invention.
[0040] Figure 3Photograph of a lighting control device for a dynamic lighting cooperative control system based on Bluetooth signal strength positioning, provided as an embodiment of the present invention.
[0041] Figure 4 The present invention provides a circuit diagram of a lighting control device for a dynamic lighting cooperative control system based on Bluetooth signal strength positioning, which is provided in an embodiment of the present invention.
[0042] Figure 5 yes Figure 4 Enlarged schematic diagram of the finished nRF51822 core board.
[0043] The reference numerals used in this application are as follows: 1. User mobile terminal; 2. Installation and debugging terminal; 3. BLE broadcast node; 4. Server; 5. Lighting control device; 6. Dimming device; 7. Lighting driver module. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, 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, 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.
[0045] The following detailed description of the specific implementation of the dynamic lighting coordination control system and method based on Bluetooth signal strength positioning will clearly present the technical implementation process and details of the present invention.
[0046] like Figure 1 As shown, the core of the dynamic lighting coordination control system based on Bluetooth signal strength positioning of the present invention lies in building a hardware architecture that can locate and achieve lighting coordination control through Bluetooth signals. The system mainly includes four key components.
[0047] First, there are multiple Bluetooth Low Energy (BLE) broadcast nodes 3. These BLE broadcast nodes 3 need to be configured in specific locations within the area to be controlled, such as on walls, floors, ceilings, or fixed structures within the area. Their function is to serve as positioning reference points to assist in estimating the user's location later. Second, there is the user mobile terminal 1. This terminal can be a smartphone, smart bracelet, or other device with Bluetooth Low Energy communication capabilities. In operation, the user mobile terminal 1 will periodically broadcast BLE signals containing user identification information. This user identification information is used to distinguish different users, ensuring targeted lighting control. Next is the lighting control device 5, which further includes a lighting controller and a dimming device 6, with the dimming device 6 connected to the lighting controller. The lighting controller is equipped with a Bluetooth communication module, the core function of which is to scan and receive BLE signals broadcast by the user's mobile terminal 1, and simultaneously acquire the received signal strength indicator (RSSI) of the signal during signal reception. The lighting controller has a pre-set algorithm logic that can estimate the proximity between the user and the target lighting fixture based on the acquired RSSI. When the algorithm determines that the user is close to the target lighting fixture, the lighting controller will automatically generate a corresponding lighting control command. The dimming device receives the lighting control command sent by the lighting controller and outputs a corresponding dimming drive signal according to the command content, providing a driving basis for subsequent brightness or color adjustment of the lighting fixture. Finally, there are multiple lighting drive modules 7, all of which are connected to the dimming device and can receive the dimming drive signal output by the dimming device, and drive the corresponding lamps to emit light according to the drive signal. More importantly, the multiple lighting drive modules 7 are connected to each other via an RS485 bus. This connection method allows each lighting drive module 7 to exchange coordination parameters, such as the brightness transition parameters of adjacent lamps and color switching parameters. Through the exchange of parameters, a continuous transition of lighting effects is finally achieved, avoiding abrupt changes in lighting.
[0048] Based on the aforementioned system architecture, the connection method between the lighting control device and the dimming device, as well as the control method of the dimming device, can be further optimized. Regarding the connection method, the lighting control device and the dimming device use a wired connection, specifically choosing one of an RS-232 interface, a USB interface, or an Ethernet interface. The choice of different interfaces depends on the needs of the actual application scenario. For example, in short-distance, low-data-volume transmission scenarios, an RS-232 or USB interface can be used, while in long-distance, high-stability transmission scenarios, an Ethernet interface is more suitable. Regarding the control method, the dimming device controls the lighting driver module 7 through a pulse width modulation (PWM) signal. By adjusting the duty cycle of the PWM signal, the output current or voltage of the lighting driver module 7 can be precisely changed, thereby achieving adjustment of the brightness and color of the lamps. For example, when the brightness of the lamps needs to be increased, the duty cycle of the PWM signal can be increased; when the lamp color needs to be switched, the duty cycle of different channels of the PWM signal can be adjusted to achieve different proportions of RGB light mixing.
[0049] To improve the accuracy of user proximity determination, the way the lighting controller processes RSSI values can be optimized. Since the BLE signal broadcast by user mobile terminal 1 is subject to environmental interference during transmission, causing fluctuations in the acquired RSSI value, the lighting controller is configured to use a filtering algorithm to denoise the acquired RSSI value. Specifically, the filtering algorithm includes moving average filtering or Kalman filtering. Moving average filtering averages multiple RSSI values acquired continuously over a period of time to eliminate fluctuations caused by instantaneous interference, while Kalman filtering establishes a dynamic model of the signal and combines prediction and update processes to more accurately remove noise, making it suitable for scenarios with large RSSI value fluctuations. After denoising, the lighting controller compares the denoised RSSI value with a preset threshold. The preset threshold is pre-set based on the actual environment of the controlled area and the positioning accuracy requirements. When the denoised RSSI value is greater than the preset threshold, it is determined that the user is approaching the target lighting fixture; otherwise, it is determined that the user is not approaching. This processing flow effectively improves the reliability of user proximity determination.
[0050] The lighting driver module 7 in the system can be designed in greater detail to meet the requirements of collaborative control. First, the lighting driver module 7 contains a constant current drive circuit, which is specifically designed to drive RGB LED lights. Since RGB LED lights have high requirements for current stability, the constant current drive circuit can ensure a stable output current and avoid deviations in the brightness or color of the lights due to current fluctuations. Secondly, to achieve coordinated lighting control, lighting driver module 7 sends coordinated data frames to adjacent lighting driver modules 7 via an RS485 bus. This coordinated data frame has a specific structure, mainly including a start character, module address, command word, parameter field, and cyclic redundancy check (CRC) field. The start character identifies the beginning of the data frame, ensuring the receiver can accurately identify its starting position. The module address specifies the sender and receiver of the data frame, preventing data transmission errors. The command word indicates the type of coordinated operation, such as brightness adjustment or color switching commands. The parameter field is the core of the coordinated data frame, containing boundary weights and gradient parameters for smooth transitions in lighting effects. The boundary weights define the influence range of adjacent lighting effects, while the gradient parameters control the speed and curve of the lighting effect transition. The CRC field verifies the integrity of the data frame, ensuring no errors occur during transmission and guaranteeing the accuracy of coordinated control.
[0051] To improve the system's installation, deployment, and data management functions, two new components, installation and debugging terminal 2 and server 4, can be added to the aforementioned basic system architecture. The newly added installation and debugging terminal 2 is primarily used for operations during the system installation and debugging phase. During installation and debugging, staff can scan each BLE broadcast node within the controllable area using the terminal to obtain the BLE identifier of each node. Subsequently, the obtained BLE identifier is bound to the corresponding lamp identifier and the RS485 address of the lighting driver module 7, forming binding mapping data. This data establishes the correspondence between BLE broadcast nodes, lamps, and the lighting driver module 7, ensuring accurate matching for subsequent positioning and control. Simultaneously, the installation and debugging terminal can also configure the transmission power (TX power) and broadcast interval of the BLE broadcast nodes to adapt to the size and environmental characteristics of different controllable areas. Server 4 establishes communication connections with both the installation and debugging terminal and the lighting control device. On one hand, the server receives and stores the binding mapping data and configuration parameters uploaded by the installation and debugging terminal, forming the system's basic database. On the other hand, the server generates a lighting effect mapping table and RSSI scene calibration parameters based on the stored binding mapping data, configuration parameters, and actual application scenario requirements. The lighting effect mapping table defines the lighting effects corresponding to different user locations or scenarios, while the RSSI scene calibration parameters are used to correct the correspondence between RSSI values and actual distances under different environments, improving positioning accuracy. Finally, the server sends the generated lighting effect mapping table and RSSI scene calibration parameters to the lighting control device, providing data support for the precise control of the lighting control device.
[0052] In a system architecture that includes installation and debugging terminals and servers, a local degradation control strategy can be added to the lighting control device to ensure basic system functionality under abnormal conditions. Under normal operating conditions, the lighting control device relies on the lighting effect mapping table and RSSI scene calibration parameters issued by the server. However, when network failures, server malfunctions, or other situations prevent the lighting control device from communicating normally with the server, the lighting control device will automatically trigger a preset local degradation control strategy. This local degradation control strategy mainly includes two modes: one is to keep the lights constantly on, maintaining a fixed brightness level in the controlled area to meet basic lighting needs; the other is to execute pre-stored local gradient effects. These local gradient effects are pre-stored within the lighting control device when the system is normal, such as slow brightness cycling gradients and fixed color switching gradients. By executing these pre-stored effects, even when server data is unavailable, a certain level of lighting experience can still be provided to the user, preventing complete system failure.
[0053] To achieve personalized lighting control, the content of the BLE signal broadcast by the user's mobile terminal 1 and the functions of the lighting controller can be expanded. Specifically, when the user's mobile terminal 1 broadcasts a BLE signal containing user identification information, it also adds user membership level information to the signal. This information can be different levels of identification, such as ordinary member, silver member, and gold member. Correspondingly, the lighting controller is further configured to recognize the user membership level information in the BLE signal and trigger different lighting effects according to different membership levels. For example, for ordinary members, basic light brightness adjustment is triggered; for silver members, a slight color change is added to the basic adjustment; and for gold members, richer dynamic lighting effects are triggered, such as multi-color gradients and brightness changes according to the user's movement trajectory. Through this differentiated lighting control, the user experience of different membership levels is improved.
[0054] The following is a specific embodiment of this application:
[0055] like Figure 3-5 As shown, the BLE broadcast node 33 can be implemented using a Bluetooth 4.0 module of model HM-10 or other chips compatible with the Bluetooth Low Energy protocol. It is fixedly installed near the light fixture or at a specific location along a predetermined path to broadcast data packets containing its own unique identifier. The user mobile terminal 11 and the installation and debugging terminal 2 are smartphones running Android or iOS operating systems, on which custom-developed applications (APPs) implementing specific functions are run. The lighting control device 5, as the core processing unit, can be an STM32F407 series embedded microcontroller from STMicroelectronics, which integrates a high-speed computing core and rich peripheral interfaces. The lighting control device 5 requires an external Texas Instruments CC2541 Bluetooth chip as a slave device to scan and receive BLE broadcast signals. The dimming device 6 can be an LED dimmer that supports the DMX512 protocol or PWM input, which receives instructions from the lighting control device 5 via an RS-232 serial port. The lighting driver module 77 includes a constant current driver chip (such as Texas Instruments' TLC5947) to drive RGB LED beads and integrates an RS-485 bus transceiver chip (such as Maxim Integrated's MAX485) for inter-module communication. The modules 7 are connected via twisted-pair cables in a bus configuration. The server 4 can be a cloud server built on a Linux operating system, using Apache as the web server, PHP for business logic processing, and a MySQL database for data storage.
[0056] like Figure 2As shown, this application also includes a dynamic lighting coordination control method based on Bluetooth signal strength positioning, which is compatible with the above system architecture. The method mainly achieves dynamic lighting coordination control through seven consecutive steps. First, after the user mobile terminal 1 enters the running state, it broadcasts a BLE signal containing a user identifier according to a preset period. The user identifier is used by the lighting controller to identify the specific user. Second, the lighting controller continuously scans the BLE signal in the area to be controlled through its configured Bluetooth communication module. When it detects the BLE signal broadcast by the user mobile terminal 1, it receives the signal and simultaneously acquires the RSSI value of the signal. Third, the lighting controller processes the acquired RSSI value, using a filtering algorithm (such as moving average filtering or Kalman filtering) to remove noise interference from the signal, obtaining a denoised RSSI value. Then, based on the denoised RSSI value, it estimates the proximity between the user and the target lighting fixture using a preset algorithm model. Fourth, the lighting controller compares the estimated user proximity with a preset threshold. When the proximity exceeds the preset threshold, it determines... When a user needs to adjust the lighting, the lighting controller will call the pre-stored internal lighting effect mapping table and generate a corresponding lighting control command based on the user's identifier and current proximity. Fifth, the lighting controller sends the generated lighting control command to the connected dimming device. Sixth, after receiving the lighting control command, the dimming device parses the command and generates a corresponding dimming drive signal based on the parsing result, then sends the drive signal to the corresponding lighting drive module 7. Seventh, after receiving the dimming drive signal, the lighting drive module 7 drives the corresponding lamps to emit light according to the signal requirements. Simultaneously, it communicates with adjacent lighting drive modules 7 via an RS485 bus, exchanging collaborative data frames containing boundary weights and gradient parameters. Each lighting drive module 7 adjusts the effect of its driven lamps according to the exchanged collaborative parameters, ultimately achieving a continuous and smooth transition of lighting effects in space.
[0057] The following is a specific embodiment of a dynamic lighting cooperative control method based on Bluetooth signal strength positioning according to this application:
[0058] This method represents the stage where the system provides users with routine interactive services, and includes the following steps:
[0059] 1. User Intervention: The user opens the interactive APP on their personal mobile terminal 1 and logs in for authentication. The APP backend can obtain the user's identity ID, membership level, and other information.
[0060] 2. Signal Broadcasting: The user's app starts broadcasting a BLE signal continuously in the background at regular intervals (e.g., 100ms). The broadcast packet payload may contain fields such as user ID and membership level.
[0061] 3. Signal Monitoring and Acquisition: The Bluetooth scanning module of the lighting control device 5 continuously monitors over-the-air broadcast packets. When a broadcast packet is received, its source address is parsed (compared with the pre-stored ble_id) and the Received Signal Strength Indicator (RSSI) value are extracted.
[0062] 4. Signal Processing and Proximity Determination: The lighting control device 5 performs digital filtering on continuous RSSI samples from the same beacon (e.g., using a moving average filter with a window length of 5) to suppress signal fluctuations. The filtered RSSI value is then compared to a preset trigger threshold. The threshold can be dynamically adjusted based on calibration coefficients issued during the installation and commissioning phase. When the RSSI value exceeds the threshold a certain number of times, it is determined that the user has entered the interaction area of the lighting fixture associated with that beacon.
[0063] 5. Command Generation and Issuance: Once proximity is detected, the lighting control device 5 immediately determines the RS-485 address of the target lamp based on the pre-stored mapping table, and generates corresponding lighting control commands (such as specific color, brightness, and dynamic mode) based on user membership level and other information. This command is sent to the dimming device 6 via the RS-232 serial port.
[0064] 6. Lighting Drive and Execution: The dimming device 6 converts the received instructions into a corresponding PWM duty cycle signal and outputs it to the target lighting drive module 77. The constant current drive circuit of module 7 adjusts the output current according to the PWM signal, thereby precisely controlling the brightness and color of the LED beads.
[0065] 7. Inter-module collaboration: To achieve continuity in regional lighting effects, the currently triggered light driver module 77 sends a collaboration data frame to its physically adjacent modules via the RS-485 bus. This data frame follows a custom application layer protocol and includes a frame header, the module's address, command words (e.g., synchronous fade), parameter fields (e.g., starting color, target color, fade duration), and a frame check sequence. Upon receiving this frame, adjacent modules parse and execute the corresponding collaboration actions, thereby ensuring a smooth spatial transition of lighting effects (e.g., chasing, waves, fade-in / fade-out) without visual discontinuities.
[0066] Preferably, the method further includes a degradation fault-tolerant processing step. During operation, the lighting control device 5 periodically checks the network connection with the server 4 via heartbeat. In the event of a network anomaly, it automatically switches to degradation mode and executes a pre-stored basic scene (such as all lights being constantly on at low brightness) to ensure the availability of basic system functions.
[0067] To ensure the system completes equipment configuration and data preparation before formal operation, installation and debugging are required. The installation and debugging method mainly includes five steps. First, the operator uses the installation and debugging terminal to enter scanning mode and moves it within the area to be controlled, scanning all BLE broadcast nodes. During the scanning process, the terminal automatically acquires and records the BLE identifier of each BLE broadcast node. Second, after acquiring the BLE identifiers of all BLE broadcast nodes, the operator uses the installation and debugging terminal to associate and bind each BLE identifier with the corresponding lamp identifier and the RS485 address of the lighting driver module 7. For example, the identifier of a BLE broadcast node is bound to the lamp identifier near that node and the RS485 address of the lighting driver module 7 controlling that lamp. After binding, a binding mapping table is generated, which is used to establish the correspondence between the components. Third, based on the actual situation and positioning requirements of the area to be controlled, the installation and debugging terminal is used to... The test terminal configures the transmit power (TX power) and broadcast interval of each BLE broadcast node. For example, in a larger area, the transmit power can be appropriately increased and the broadcast interval shortened to ensure signal coverage and positioning accuracy. The fourth step involves the installation and debugging terminal uploading the generated binding mapping table and the configured transmit power, broadcast interval, and other parameters to the server for unified storage. The fifth step involves the server receiving the binding mapping table and configuration parameters. Based on the lighting requirements of the area to be controlled, such as different lighting standards and scene modes, the server generates a corresponding lighting effect mapping table. Simultaneously, considering the characteristics of the area's environment, it generates RSSI scene calibration parameters for calibrating RSSI values. Finally, the generated lighting effect mapping table and RSSI scene calibration parameters are sent to the lighting control device, completing the data preparation work for the system installation and debugging phase and providing support for the system's formal operation.
[0068] Based on the above installation and debugging methods, further verification steps can be added, and the conditions for generating lighting control commands can be expanded. Regarding the installation and debugging methods, a new step is added to verify the functionality and collaborative effects of the lighting fixtures. Specifically, a lighting fixture test command is triggered through the installation and debugging terminal. This command is sent to each lighting driver module 7, which then drives the corresponding lighting fixture to operate according to the command. Operators can verify the functionality of individual lighting fixtures by observing their illumination, such as whether brightness adjustment is smooth and color switching is accurate. Simultaneously, adjacent lighting driver modules 7 are controlled to work collaboratively via commands, and the lighting transition effect between adjacent lighting fixtures is observed. This verifies whether the collaborative effect of each lighting driver module 7 via the RS485 bus meets expectations, ensuring the normal implementation of the collaborative control function. Regarding the generation of lighting control commands, the content of the BLE signal broadcast by the user's mobile terminal 1 is expanded. In addition to the user identifier, the BLE signal also includes user membership level information. Accordingly, in the step of generating corresponding lighting control commands, the lighting controller will combine the user membership level information to generate different lighting control commands according to different user membership levels. For example, more complex lighting effect control commands will be generated for advanced members, and basic lighting control commands will be generated for ordinary members, thereby realizing personalized lighting control based on membership level.
[0069] The installation and debugging process aims to complete the networking, address allocation, parameter calibration, and functional verification of the hardware facilities, laying the foundation for the operation phase. A specific example of the installation and debugging steps is as follows:
[0070] Powering on the equipment and selecting the mode: The construction personnel power on all BLE broadcast nodes 33, lighting control devices 5, and lighting driver modules 77. Then, they launch the dedicated APP on the installation and commissioning terminal 2 and select "Installation Mode".
[0071] Node scanning and identification: The APP calls the terminal's Bluetooth API to scan for BLE broadcast signals in the surrounding environment, parses and lists the unique identifier (ble_id) of all discoverable nodes and their initial signal strength (RSSI).
[0072] Information binding and address allocation: The operator selects a target ble_id from the list and enters or selects the corresponding fixture ID in the APP interface. Subsequently, a unique RS-485 bus address is assigned to the lighting driver module 77 corresponding to the fixture, and its area number can be specified.
[0073] Wireless parameter optimization: Based on the actual installation spacing and environmental characteristics (such as whether there are obstructions), the transmit power (TX Power) and broadcast interval (Advertising Interval) of the BLE broadcast node 33 are adjusted through the APP interface in order to achieve the best balance between signal coverage, power consumption and channel congestion.
[0074] Configuration writing and preliminary validation: This involves writing the above binding relationships. The wireless parameters are packaged and written to the non-volatile memory of the lighting control device 5 via Bluetooth connection or wired connection, and can be read and verified locally to ensure that the data is correct.
[0075] Functional testing: Test commands are sent to the lighting control device 5 via the APP. Commands may include: single light on / off, RGB color cycling, brightness step changes, etc., to verify the normal functioning of the dimming device 6 and the lighting driver module 77. Furthermore, test scenarios requiring cooperation between adjacent modules (such as a flowing light effect) can be triggered to verify whether the communication and coordination logic of the RS-485 bus is correct and whether the light changes are smooth and flicker-free.
[0076] Data reporting and cloud processing: After all tests are passed, the APP encapsulates the complete configuration information (mapping table, wireless parameters) and test result logs into a JSON format data packet and uploads it to server 4 via the Internet. The server-side script receives the data, parses it, and stores it in the corresponding table in the database.
[0077] Parameter generation and distribution: Server 4 can generate calibration coefficients for the mapping relationship between RSSI value and distance in this specific scenario based on the reported initial RSSI data and preset algorithm, and distribute them to the lighting control device 5 together with the lighting effect mapping table.
[0078] Mode switching: After configuring and testing all the lights, the entire system can be switched to "running mode" via APP or server command.
[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A dynamic lighting coordination control system based on Bluetooth signal strength positioning, characterized in that, include: Multiple Bluetooth Low Energy (BLE) broadcast nodes are configured at specific locations within the area of the light to be controlled; The user mobile terminal is used to periodically broadcast BLE signals containing user identification information during operation. A lighting control device includes a lighting controller and a dimming device connected to the lighting controller; the lighting controller is equipped with a Bluetooth communication module for scanning and receiving BLE signals broadcast by the user's mobile terminal and obtaining its Received Signal Strength Indicator (RSSI); the lighting controller is configured to estimate the user's proximity based on the RSSI and generate a lighting control command when it is determined that the user is approaching the target lighting fixture. The dimming device is used to receive the lighting control command and output the corresponding dimming drive signal; Multiple lighting drive modules are connected to the dimming device and are used to drive the corresponding lamps to emit light according to the dimming drive signal; The multiple lighting drive modules are connected via an RS485 bus to exchange coordination parameters to achieve a continuous transition of lighting effects.
2. The dynamic lighting coordination control system based on Bluetooth signal strength positioning according to claim 1, characterized in that, The lighting control device and the dimming device are connected via a wired connection through an RS-232 interface, a USB interface, or an Ethernet interface; the dimming device controls the lighting drive module through a pulse width modulation (PWM) signal to adjust the brightness and color of the lamp.
3. The dynamic lighting coordination control system based on Bluetooth signal strength positioning according to claim 1, characterized in that, The lighting controller is configured to perform noise reduction processing on the acquired RSSI value using a filtering algorithm, and compare the noise-reduced RSSI value with a preset threshold to determine whether the user is close to the target lighting fixture; wherein, the filtering algorithm includes moving average filtering or Kalman filtering.
4. The dynamic lighting coordination control system based on Bluetooth signal strength positioning according to claim 1, characterized in that, The lighting driver module includes a constant current driving circuit for driving RGB LED lights. The lighting driver module sends a cooperative data frame to an adjacent lighting driver module via the RS485 bus. The cooperative data frame includes a start character, module address, command word, parameter field, and cyclic redundancy check (CRC) field. The parameter field contains boundary weights and gradient parameters for achieving smooth transitions in lighting effects.
5. The dynamic lighting coordination control system based on Bluetooth signal strength positioning according to claim 1, characterized in that, This also includes installing and debugging terminals and servers; The installation and debugging terminal is used to scan the BLE broadcast node in the installation and debugging state to obtain its BLE identifier, bind the BLE identifier with the lamp identifier and the RS485 address of the lighting driver module to generate binding mapping data, and configure the transmit power (TX power) and broadcast interval of the BLE broadcast node. The server is communicatively connected to the installation and debugging terminal and the lighting control device. It is used to receive and store the binding mapping data and configuration parameters, generate a lighting effect mapping table and RSSI scene calibration parameters, and send them to the lighting control device.
6. The dynamic lighting coordination control system based on Bluetooth signal strength positioning according to claim 5, characterized in that, The lighting control device is also configured to execute a local degradation control strategy when it is unable to communicate normally with the server. The local degradation control strategy includes controlling the lights to remain on or executing a pre-stored local gradient effect.
7. The dynamic lighting coordination control system based on Bluetooth signal strength positioning according to claim 1, characterized in that, The BLE signal broadcast by the user's mobile terminal also includes user membership level information; the light controller is further configured to trigger different lighting effects according to different user membership levels.
8. A dynamic lighting cooperative control method based on Bluetooth signal strength positioning, characterized in that, Includes the following steps: The user's mobile terminal periodically broadcasts a BLE signal containing the user's identifier; The lighting controller scans and receives the BLE signal to obtain its RSSI value; The lighting controller uses a filtering algorithm to denoise the RSSI value and estimates the proximity of the user to the lighting fixture based on the denoised RSSI value. When the approximation exceeds a preset threshold, the lighting controller generates a corresponding lighting control command based on a pre-stored lighting effect mapping table. The lighting controller sends the lighting control command to the dimming device; The dimming device generates a dimming drive signal according to the lighting control command and sends it to the corresponding lighting drive module; The lighting driver module drives the lamp to emit light according to the dimming drive signal, and cooperates with the adjacent lighting driver module through the RS485 bus to exchange cooperative data frames containing boundary weights and gradient parameters, so as to achieve a continuous and smooth transition of the lighting effect in space.
9. The dynamic lighting coordinated control method based on Bluetooth signal strength positioning according to claim 8, characterized in that, It also includes installation and debugging methods, which include the following steps: By installing and debugging the terminal, scan each BLE broadcast node in the area to obtain its BLE identifier; Bind each BLE identifier to the corresponding lamp identifier and the RS485 address of the lighting driver module to generate a binding mapping table; Configure the transmit power (TX power) and broadcast interval of the BLE broadcast node; Upload the binding mapping table and configuration parameters to the server; The server generates the lighting effect mapping table and RSSI scene calibration parameters, and sends them to the lighting control device.
10. The dynamic lighting coordinated control method based on Bluetooth signal strength positioning according to claim 9, characterized in that, The installation and debugging method also includes the following steps: triggering a lamp test command through the installation and debugging terminal to verify the function of a single lamp and its coordination effect with adjacent lamps via the RS485 bus; the BLE signal broadcast by the user mobile terminal also includes user membership level information; the step of generating corresponding lighting control commands includes: generating different lighting control commands according to different user membership levels.