Intelligent lighting control method and system of magnetic attraction track lamp
By automatically identifying the actual number and time information of magnetic track lights and dynamically adjusting the brightness and color temperature parameters, the problem that the existing system cannot adapt to changes in the number of lamps is solved, and intelligent and energy-saving lighting control is achieved.
Patent Information
- Application Number
- CN202510893463.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-06-30
AI Technical Summary
The existing magnetic track light control system cannot dynamically sense changes in the number of lamps, resulting in the inability to automatically adjust lighting parameters, resulting in uneven illumination, reduced energy efficiency and cumbersome user operations.
By automatically obtaining the actual number of track lights when responding to the lamp turn-on command, and adjusting the lighting control parameters, including brightness and color temperature parameters, according to the time and number of lamps, personalized target lighting control is achieved.
It realizes adaptive lighting adjustment when the number of lamps changes, avoids the problem of excessive or weak illumination, improves visual comfort and energy saving, and has scene adaptability and control accuracy.
Smart Images

Figure CN120614733A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lighting control, and in particular to an intelligent lighting control method and system for a magnetic track light. Background Art
[0002] Magnetic track lights are a modular lighting system widely used in modern interior spaces. They primarily consist of a magnetic track, a power module, and multiple removable track lights. Track lights are typically mounted on a track using a magnetic connection, and the track provides power and control channels for lighting and dimming. Compared to traditional fixed lamps, magnetic track lights offer advantages such as easy installation, flexible layout, and strong scalability. They are widely used in homes, businesses, exhibitions, offices, and other settings.
[0003] Existing control solutions generally rely on the system's initial configuration for centralized dimming control. The on / off, brightness, and color temperature of lamps are typically preset on a main control panel or mobile terminal. For example, patent publication number CN111970789A discloses a track light control system based on centralized control. The system interacts with multiple track lights through a communication module to enable remote adjustment of lamp parameters. However, this solution assumes a fixed number of track lights and stable layout, making it difficult to handle dynamic additions and subtractions of lamps or real-time position changes.
[0004] In actual use, users often add, remove, slide, or reposition track lights at any time according to the function of the space or situational needs. Traditional control systems cannot recognize such changes and will not automatically adjust lighting parameters. Such solutions usually assume that the number of track lights is fixed and the layout is stable, and cannot dynamically perceive changes in the number of lights actually connected to the track. However, in actual use, users may add, remove, or reposition track lights at any time according to space needs. Traditional control methods cannot automatically sense and adjust lighting parameters when the number of lights changes, which can easily lead to the following problems: the illumination in some areas is too low or too high, and the lighting distribution is unbalanced; the system energy efficiency is reduced and the power output cannot be dynamically adjusted according to the actual load; users need to manually reconfigure the lighting parameters, which is cumbersome and lacks intelligence. Summary of the Invention
[0005] In view of this, embodiments of the present invention provide an intelligent lighting control method and system for magnetic track lights, so as to solve the problem in the prior art that track light control solutions adjust lighting parameters according to the number of lamps.
[0006] In a first aspect, an embodiment of the present invention provides an intelligent lighting control method for a magnetic track light, wherein the magnetic track light includes a magnetic track and a plurality of independently controllable track lights, wherein the plurality of track lights are detachably connected to the magnetic track, the method comprising: In response to a lamp on instruction, obtaining the actual number of track lamps connected to the magnetic track; According to the current time, obtaining corresponding initial lighting control parameters, wherein the initial lighting control parameters include brightness parameters and color temperature parameters; Adjusting the initial lighting control parameters according to the number of lamps to obtain target lighting control parameters for each track light; According to the target lighting control parameters, each of the track lights is controlled to perform lighting.
[0007] Preferably, the step of obtaining the actual number of track lights connected to the magnetic track in response to a lamp on instruction includes: In response to a lamp on instruction, the track lights connected to the magnetic track are controlled to turn on in sequence; During the sequential turning-on process, the power increment of the magnetic track lights is counted; Comparing the power increment with a preset power threshold to obtain a significant power increment; The actual number of track lamps connected to the magnetic track is determined according to the number of occurrences of the significant power increment.
[0008] Preferably, adjusting the initial lighting control parameters according to the number of lamps to obtain target lighting control parameters for each track light includes: Obtaining target illumination and target color temperature according to the initial lighting control parameters; Calculating the target total luminous flux of the magnetic track light according to the target illuminance and target color temperature; Obtaining the number of reference lamps according to the target total luminous flux value and the rated brightness range of the track light; Obtaining a brightness factor and a color temperature factor according to a difference between the reference number of lamps and the actual number of lamps, wherein the brightness factor is positively correlated with the difference, and the color temperature factor is positively correlated with the difference; According to the brightness factor and the color temperature factor, the initial lighting control parameters of each track light are adjusted to obtain target lighting control parameters.
[0009] Preferably, the track lights are movable along the magnetic track. When the actual number of lamps is greater than a preset number, before controlling each of the track lights to illuminate according to the target lighting control parameters, the method further includes: Acquire first position information of each track light on the magnetic track; Obtaining the interval distance between adjacent track lights according to the position information; According to the interval distance, the target lighting control parameter of each track light is adjusted.
[0010] Preferably, the magnetic track light further includes a communication device, which is fixedly mounted on one side of the magnetic track. The step of obtaining the first position information of each track light on the magnetic track includes: Controlling the communication device to sequentially send a broadcast signal containing a time stamp to each track light on the magnetic track; In response to the broadcast signal, controlling the track light to return a response signal to the communication device, wherein the response signal includes unique identification information of the track light; When the response signal arrives at the communication device, obtaining the return time of each response signal; The first position information of each of the track lights relative to the communication device is determined according to the time difference between the return time and the sending time of the broadcast signal.
[0011] Preferably, adjusting the target lighting control parameter of each track light according to the interval distance includes: Acquire the number of lamps within a preset distance range centered on each of the track lights according to the first position information; Obtaining a lamp density factor according to an average value of the number of lamps within the range of each track light; Obtaining a spacing factor for each track light according to an average of the spacing distances between each track light and adjacent track lights; Obtaining a spacing mutation factor of each track light according to the difference in spacing distances between adjacent track lights; Obtaining a brightness adjustment coefficient and a color temperature adjustment coefficient for each track light according to the lamp density factor, spacing factor, and mutation factor; The target lighting control parameter of each track light is adjusted according to the brightness adjustment coefficient and the color temperature adjustment coefficient.
[0012] Preferably, obtaining the brightness adjustment coefficient and color temperature adjustment coefficient of each track light according to the lamp density factor, spacing factor and mutation factor includes: Obtaining an initial light load level of each track light within its illumination range according to the lamp density factor and the spacing factor, wherein the light load level is positively correlated with the lamp density factor and negatively correlated with the spacing factor; When the mutation factor is higher than a preset threshold, the light load level of the corresponding track light is adjusted, wherein the adjusted light load level is positively correlated with the mutation factor; Calculate the global average lighting load based on the lighting load of all track lights; Obtaining a lighting balance target offset for each track light according to a normalized value of the difference between the global lighting load average and the lighting load level of each track light; According to the global illumination load average value and the lighting balance target offset of each track light, a brightness adjustment coefficient and a color temperature adjustment coefficient of each track light are obtained.
[0013] Preferably, after controlling each of the track lights to illuminate according to the target lighting control parameter, the method further includes: determining whether the track light is moving on the magnetic track according to the current signal of the magnetic track; If there is movement, obtaining the second position information of each track light on the magnetic track after the movement; updating the target lighting control parameters according to the second position information; The track lights are controlled to perform lighting according to the updated target lighting control parameters.
[0014] Preferably, judging whether the track light is moving on the magnetic track according to the current signal of the magnetic track includes: Continuously sampling the current signal of the magnetic track according to a preset sampling frequency to obtain a sampling sequence; Calculate the sliding mean and sliding standard deviation based on the sampling sequence and the preset sliding window; Differentiating the current signal of the sampling point at the current moment and the sampling point at the previous moment in the sampling sequence to obtain the instantaneous current slope at the current moment; Obtaining an adaptive current slope threshold value according to the current sliding standard deviation and a first preset sensitivity; Comparing the instantaneous current slope with the adaptive current threshold to obtain a first comparison result; Calculate the difference between the current sampling point and the sliding average value to obtain the current amplitude deviation at the current moment; Obtaining an adaptive current amplitude threshold according to the current sliding standard deviation and a second preset sensitivity, wherein the second preset sensitivity is greater than the first preset sensitivity; Comparing the current amplitude deviation with the adaptive current amplitude threshold to obtain a second comparison result; When the first comparison results and the second comparison results of a preset number of consecutive sampling points in the sampling sequence meet a preset condition, it is determined that the track light is moving on the magnetic track.
[0015] In the second aspect, an embodiment of the present invention further provides an intelligent lighting control system for magnetic track lights, the system comprising a plurality of magnetic track lights, a power supply device and a control device, the power supply device being electrically connected to the magnetic track lights for supplying power to the magnetic track lights, the magnetic tracks of each of the magnetic track lights being detachably connected, and the control device being used to execute the intelligent lighting control method for magnetic track lights described in the first aspect.
[0016] In summary, the beneficial effects of the present invention are as follows: The intelligent lighting control method and system for magnetic track lights provided by embodiments of the present invention proactively obtain the number of track lights currently connected to the magnetic track in response to a lamp power-on command. This dynamically detects the addition or removal of lamps, eliminating the need for tedious manual adjustments by the user or static system presets, and adapting to flexible lighting configuration needs. Lighting control parameters are obtained based on the current time, enabling "time-to-lighting strategy" mapping, such as high brightness during the day, soft light at night, and warm or cool adjustment in the evening. This provides the lighting system with basic scene adaptability, improving visual comfort and energy efficiency. By dynamically adjusting the initial lighting control parameters, the brightness and color temperature of each lamp can be compensated or reduced accordingly when the number of track lights changes, effectively avoiding over-intensity caused by an increase in lamps or insufficient lighting caused by a decrease in lamps, ensuring balanced illumination and uniform spatial light quality. By setting target lighting control parameters for each track light, rather than a unified global setting, individual lamps can be controlled individually, enabling more complex lighting scenarios such as fixed-point lighting and zoned fill lighting, laying the foundation for subsequent expansion of personalized control or regional intelligent linkage. In summary, the present invention not only improves the adaptability and control accuracy of the magnetic track light system in dynamically changing scenarios, but also takes into account energy saving, comfort and maintainability, and has broad practical application value and industrial promotion prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work, and these are all within the scope of protection of the present invention.
[0018] Figure 1 It is a structural diagram of a magnetic track light according to an embodiment of the present invention.
[0019] Figure 2 The figure is a flow chart of an intelligent lighting control method for a magnetic track light according to an embodiment of the present invention.
[0020] Figure 3 This is another flow chart of the intelligent lighting control method for magnetic track lights according to an embodiment of the present invention.
[0021] Figure 4 This is another flow chart of the intelligent lighting control method for magnetic track lights according to an embodiment of the present invention.
[0022] Reference numerals: Track light 1, magnetic track 2, first connecting part 21, second connecting part 22, connecting bracket 3. DETAILED DESCRIPTION
[0023] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present invention by illustrating examples of the present invention.
[0024] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article, or device comprising the elements.
[0025] Example 1 The embodiment of the present invention provides an intelligent lighting control method for magnetic track lights. Figure 1 The magnetic track light includes a magnetic track and a plurality of independently controllable track lights, and the plurality of track lights are detachably connected to the magnetic track. Figure 1 As shown, the magnetic track light in this embodiment includes a track light 1, a magnetic track 2, and a connecting bracket 3 for connecting the two. The magnetic track 2 includes a first connecting portion 21 and a second connecting portion 22 at each end. The track light 1 is a lighting component with an integrated lamp housing structure that integrates a light source, a drive circuit, and a heat dissipation element. It can output a lighting beam with a specific brightness and color temperature. The track light 1 is connected to the magnetic track 2 via the connecting bracket 3, enabling vertical suspension and directional adjustment.
[0026] Connecting bracket 3 is the intermediate connector between the light and the track. One end is fixed to track light 1, and the other end plugs into the power supply port of magnetic track 2. Conductive contacts within the bracket allow the track power signal to be fed into the track light, while also allowing the light to rotate around the bracket for pan and tilt adjustment.
[0027] The magnetic track 2 is a horizontally arranged track-type installation structure with a conductive copper bar inside and a magnetic adsorption component for realizing the sliding positioning, power supply connection and structural installation of the track light.
[0028] The first connecting part 21 and the second connecting part 22 are respectively located at the two ends of the magnetic track 2, and can be used to realize the splicing and docking between multiple sections of tracks, or to connect the power input end and the end blocking piece respectively; the connecting parts at both ends are provided with corresponding structural interfaces to ensure the electrical connectivity and mechanical consistency between the tracks, while supporting standardized wiring expansion.
[0029] By providing the first and second connecting parts at both ends of the track, the magnetic track has the structural capability of being able to be connected in series and directionally expanded, so that users can freely splice track segments according to different space requirements; Different from the traditional integrated track system, this structure improves the modularity and maintenance convenience of the system, and supports the rapid replacement or expansion of track light groups; Both ends of the track have a connection structure with clearly defined interfaces, which also provides structural guarantees for subsequent power supply management, intelligent controller access or system segmented power supply.
[0030] The magnetic track is a strip-shaped structure with an internal conductive track or power bus that provides power and control signal channels for the track lights. Multiple connection slots or elastic snap-on interfaces can be provided on the track's outer shell to facilitate quick installation and secure attachment of the track lights. Furthermore, components such as a communication device and a time control module can be integrated on the outside of the track body to facilitate functions such as lamp identification, address assignment, and dimming data transmission.
[0031] The track light features a cylindrical lamp holder structure, electrically connected and mechanically secured to the magnetic track 2 via a connecting bracket. The connecting bracket is equipped with power contacts or magnetic connectors, which complete the power connection and physical connection once inserted into the track. The lamp body houses a light source module, a circuit driver module, and a control response unit, enabling personalized adjustments based on target brightness and color temperature parameters issued by the system. Each track light fixture can be independently controlled, enabling grouped and zoned dimming, or dynamic response control strategies.
[0032] See Figure 2 , the method comprising: S1. In response to a lamp on instruction, obtaining the actual number of track lamps connected to the magnetic track; Specifically, in this step, the "lamp on command" refers to the on control signal sent by the user through a physical switch, remote control terminal, or mobile application, which triggers the initialization response process of the track lighting system. The "actual number of lamps" refers to the total number of track lamps currently physically connected to the magnetic track. This number is not a fixed configuration but a dynamic parameter that can be plugged in and out and adjusted at any time according to space requirements.
[0033] The goal of this step is to enable the control system to perceive lamps. Without relying on manual configuration or static settings, it can automatically identify the number of lamps currently connected to the lighting system, providing a data foundation for subsequent personalized control and adaptive compensation. This logic embodies the fundamental framework of "perception-control" intelligent lighting.
[0034] In practical implementation, technologies such as power increment detection, communication address polling, and cascaded response sequencing can be employed. For example, the system could sequentially activate track lights and detect power changes, identifying each significant power increase as a new fixture. Alternatively, the fixtures could proactively report their IDs upon connecting to the communication link, allowing a central controller to accurately count the fixtures. All of these methods are compatible with existing magnetic power rail structures.
[0035] By automatically identifying the actual number of lamps, the system can grasp the lighting layout status in real time and dynamically adjust the output strategy according to the current lighting situation without user intervention, thereby improving control accuracy and ease of use.
[0036] S2. Acquire corresponding initial lighting control parameters according to the current time, wherein the initial lighting control parameters include a brightness parameter and a color temperature parameter; In this step, "current time" usually refers to the real-time time information recorded by the system, with an accuracy of at least hourly level, which is used to distinguish typical time periods such as daytime, dusk, and nighttime. "Initial lighting control parameters" refer to the basic lighting settings before personalization or quantity compensation, including two core indicators: brightness (such as 80% output) and color temperature (such as 4000K), which are usually determined by preset scene templates.
[0037] The goal of this step is to make the lighting output strategy time-aware, enabling natural light simulation or mood lighting adjustments based on circadian rhythms. For example, setting cool light to high brightness in the morning to enhance wakefulness, and warm light to low brightness at night to ensure relaxation and comfort.
[0038] During implementation, the controller can include a built-in timed dimming strategy table, dividing time periods into preset cycles, such as early morning, daytime, evening, and night, and matching the corresponding brightness and color temperature for each time period. For example, when the system starts at 7:00 PM, it automatically selects the lighting parameters corresponding to "night mode": 60% brightness and 3000K color temperature. This setting can be based on experience or continuously optimized by learning user habits.
[0039] By introducing the time dimension, the system can form a lighting rhythm that "changes over time", create a lighting environment that conforms to the laws of human perception, and improve the comfort of space use and energy efficiency management.
[0040] S3. Adjust the initial lighting control parameters according to the number of lamps to obtain target lighting control parameters for each track light; The target lighting control parameters refer to the personalized control data generated for each track light. Based on the correction of the initial parameters, the target lighting control parameters have been comprehensively considered. Factors such as the number of lamps and distribution density have been comprehensively considered to guide the specific lighting output behavior of each track light.
[0041] The purpose of this step is to achieve light field balance and functional compensation under different lamp configurations. If there are a small number of lamps, the brightness can be increased to avoid insufficient illumination; conversely, if the lamps are densely packed, the output can be reduced to prevent glare and energy waste.
[0042] Implementation methods may include, but are not limited to, setting a reference number of lamps, comparing the current number with the reference value, and adjusting the brightness of each lamp based on the proportional relationship; or allocating the total luminous flux based on the current number of lamps to calculate the output load that each lamp should bear. For example, if the system has a preset total illuminance of 800 lux, there are eight reference lamps, and only four are currently in use, the output of each lamp should be doubled. A color temperature compensation mechanism can also be introduced to increase the color temperature (for example, from 3500K to 4000K) in low-light environments to enhance the perception of brightness.
[0043] This step enables the system to have dynamic output capabilities, and can automatically generate matching target control parameters under any lighting state, realizing adaptive illumination compensation, energy-saving dimming and lighting consistency maintenance. It is a key step in realizing intelligent light field control.
[0044] S4. Control each of the track lights to perform lighting according to the target lighting control parameters.
[0045] This step is to implement the aforementioned parameter decision results at the hardware level, that is, to send the target brightness and color temperature to each track lamp separately, so that it can operate according to the personalized settings.
[0046] The purpose is to achieve precise control on demand. Each track light no longer has a uniform output, but responds to different lighting instructions based on factors such as its spatial position, quantity background, and time environment, to achieve zone dimming, group output or uniform fill light.
[0047] In practice, the control system can transmit target parameters to each luminaire via a communication bus (such as CAN, 1-Wire, RS-485) or wireless protocol (such as BLE or Zigbee). After receiving the parameters, each track light calls the local driver module to control the LED chip's operating state and output the matching brightness and color temperature. The system can also set smooth transition logic, adopting a gradual change strategy when brightness changes to avoid instantaneous flicker.
[0048] Through this step, the system realizes the closed-loop operation of "intelligent judgment-precise control", ensuring that the overall lighting status automatically adapts to changes in the environment and configuration, truly realizing personalized lighting control based on quantity perception, and improving the intelligence level and user experience of the lighting system.
[0049] As an optional embodiment of the present invention, see Figure 3 , the step of obtaining the actual number of track lights connected to the magnetic track in response to the lamp on instruction includes: S11, in response to a lamp on instruction, controlling the track lights connected to the magnetic track to turn on in sequence; In this step, sequential activation refers to the system activating the track lights connected to the magnetic track one by one at a certain time interval or sequence, rather than lighting them all at once. The "lamp on command" is the upper-level control command that triggers the activation of the entire lighting group. It can be triggered automatically by user operation, environmental sensing, or time scheduling.
[0050] The purpose of this step is to provide a distinguishable time window for the subsequent statistical analysis of the power changes caused by the activation of each track light. By sequentially activating each track light, the current / power response of each track light can be identified one by one, thus corresponding to the identification logic of "one track light = one power increment".
[0051] During implementation, the controller can preset a set of timed activation strategies, such as sending a lighting signal every 100ms to each lighting module on the magnetic track. This activation can be synchronized with the track power supply, or precisely controlled by address coding or short-range communication modules. The system must ensure that the activation intervals are sufficiently long to ensure stable and reliable power measurement on the power supply side.
[0052] This step establishes a one-to-one correspondence between lamps and power responses through "sequential activation", which is a key prerequisite for subsequently using power characteristics to reversely infer the number of lamps, avoiding the problem of difficulty in identifying individual status in traditional batch power-on.
[0053] S12. Counting the power increments of the magnetic track lights during the sequential turning-on process; Power increment refers to the increase in instantaneous power on the power supply side detected by the system when the track lights are turned on one by one, which is used to reflect the change in power consumption brought about by the newly connected light source load.
[0054] The purpose of this step is to capture the power increase caused by each track light being turned on, providing raw data to support subsequent determination of whether it is a genuine fixture. The magnitude of the power change can be considered an electrical signature of the fixture. During implementation, the system continuously monitors the power output (e.g., active power, current, etc.) of the track input or driver, recording the power change value for each time period.
[0055] This step can achieve dynamic detection of the connection status through low-cost electrical parameter detection means without the need for individual lamp identification, and has the advantages of strong versatility and simple implementation.
[0056] S13, comparing the power increment with a preset power threshold to obtain a significant power increment, wherein: This step determines whether the power increment exceeds the system preset threshold, thereby screening out the effective power changes caused by turning on the lamp and eliminating background noise or small electrical disturbances.
[0057] The purpose is to improve recognition accuracy and ensure that each statistical result corresponds to the access behavior of a track light to avoid misjudgment.
[0058] During implementation, the system compares each recorded power increment against a threshold. The threshold can be based on a typical power setting for a single track light, such as 4W or 5W, and takes into account error tolerance. If a particular increment is greater than or equal to the threshold, the event is recorded as a significant increment; otherwise, it is ignored.
[0059] By setting the power judgment threshold, interference factors such as power supply fluctuations and other irrelevant load changes can be filtered out, effectively improving the accuracy and robustness of lamp quantity determination.
[0060] S14. Determine the actual number of track lights connected to the magnetic track according to the number of occurrences of the significant power increment.
[0061] Specifically, the number of significant power increases represents the number of times the system identifies a real track light as connected. By counting the number of effective power jumps during the entire sequential power-on process, the actual number of lights connected on the current track can be determined.
[0062] The purpose of this step is to enable the control system to have the ability to adapt to changes in physical configuration, to be able to identify the connection status of lamps on the track in real time, and to provide basic data for subsequent calculations of brightness and color temperature parameters.
[0063] The implementation is simple and effective: each time a significant power increase is identified, a luminaire is considered successfully connected, and the cumulative number of times is calculated as the total number of luminaires. Once the statistics are completed, the system can write this number into the control logic as input for subsequent adjustment calculations.
[0064] This step realizes the intelligent identification of the number of lamps without the need for additional sensors, address presets, or manual operations, improving the automation level and scene adaptability of the track light system. It is especially suitable for home and commercial applications where the layout of lamps needs to be frequently changed.
[0065] As an optional embodiment of the present invention, see Figure 4 , adjusting the initial lighting control parameters according to the number of lamps to obtain target lighting control parameters for each track light, including: S31. Obtaining a target illuminance and a target color temperature according to the initial lighting control parameters; Specifically, in this step, "initial lighting control parameters" refer to the default brightness and color temperature settings obtained based on the current time, preset scene, and other conditions. "Target illuminance" refers to the desired average illuminance level set by the system for the current space, typically measured in lux. "Target color temperature" refers to the desired light source hue, measured in Kelvin (K), such as 2700K for warm white light and 5000K for cool white light. This step aims to convert common lighting control parameters into quantifiable optical targets, laying the physical foundation for subsequent lamp quantity conversion and parameter compensation based on light output capacity. A lighting scenario library is called up, for example, setting daytime office mode to 500 lux and 4000K; and nighttime reading mode to 300 lux and 3500K. The system selects the appropriate target illuminance and color temperature based on the current time period or user needs. By specifying control parameters as optical indicators, the correspondence between illuminance, color temperature, and spatial lighting expectations is unified, enhancing the adaptability and stability of the control strategy.
[0066] S32. Calculate the target total luminous flux of the magnetic track light according to the target illuminance and target color temperature; The target total luminous flux value refers to the luminous flux required to meet the needs of the entire illuminated area under target illumination conditions. It is calculated based on the product of the space area and the target illumination. This value is a key intermediate quantity in converting lighting requirements into luminaire output capacity. The purpose of this step is to establish a correspondence between space usage requirements and luminaire output capacity, enabling the subsequent calculation of the theoretical number of luminaires required for the system based on the rated output of each individual lamp. This step converts abstract visual comfort requirements into a quantitative output benchmark, forming one of the foundational models for the system's dimming and color adjustment strategy, improving the scientific nature and controllability of parameter adjustments.
[0067] S33. Obtaining the number of reference lamps according to the target total luminous flux value and the rated brightness range of the track light; "Rated brightness range" refers to the upper and lower limits of the luminous flux output of a single track light under normal operating voltage and driving conditions, for example, 300-500 lumens. The reference luminaire quantity is the theoretical number of luminaires required, used to assess the appropriate configuration level based on the target total luminous flux value.
[0068] The purpose of this step is to calculate the number of lamps required to meet the space's lighting requirements under an ideal configuration by comparing the target luminous flux to the output of a single lamp. This provides a basis for determining whether the current number of lamps is too few or too many. The specific calculation is: Reference Luminaire Quantity = Total Target Luminous Flux / Typical Lumens per Lamp. If the system supports dimming, the average or median value of the rated brightness range can be used as the reference value. This step enables the system to assess whether the actual number of lamps meets the requirements, providing a quantitative basis for subsequent parameter factor adjustments, thereby facilitating balanced lighting efficiency and optimized energy consumption.
[0069] S34. Obtaining a brightness factor and a color temperature factor based on a difference between the reference number of lamps and the actual number of lamps, wherein the brightness factor is positively correlated with the difference, and the color temperature factor is positively correlated with the difference; The brightness factor and color temperature factor are adjustment coefficients used to adjust the target output of each track light. Their settings depend on the difference between the current number of lamps and the theoretical required number. If the actual number of lamps is less than the reference value, the brightness and color temperature will be adjusted up, and vice versa.
[0070] The purpose of this step is to achieve linkage matching between the lamp configuration status and the lighting output, so that when the number of lamps changes, dynamic compensation of total illumination and color temperature distribution can still be achieved to ensure the visual experience.
[0071] This implementation involves setting a mapping function or table lookup strategy to map the difference between the reference and actual quantities to factor values. For example, when the difference is -2, the brightness factor is 1.25 (a 25% increase) and the color temperature factor is 1.05 (increasing the color temperature to enhance the brightness perception). When the difference is +3, the factors are set to 0.85 and 0.95, respectively, to suppress excessive brightness and reduce the perception of coldness. This step demonstrates the adaptive nature of the control strategy, making the lighting system fault-tolerant and self-adjusting to changes in the number of connected lamps, making it particularly suitable for locations where lighting layouts are frequently adjusted.
[0072] S35. Adjust the initial lighting control parameters of each track light according to the brightness factor and the color temperature factor to obtain target lighting control parameters.
[0073] This step is the concrete implementation of all the aforementioned calculation logic, and the brightness factor and color temperature factor are applied to the initial parameters to form the final output instruction for each track light. This target parameter directly determines the actual state of the lamp output. The purpose is to complete the closed-loop process from system judgment to individual execution, and to achieve personalized and refined adjustment of the lighting strategy. Multiply the initial brightness by the brightness factor, and multiply the initial color temperature by the color temperature factor. For example, if the initial brightness is 80% and the brightness factor is 1.2, the target brightness is 96%. Each lamp can be calculated independently and control instructions can be issued. Through this step, the system not only maintains the stability of the overall light environment, but also maintains consistent visual effects and color atmosphere under different configuration states, achieving adaptive, highly consistent, and highly energy-saving lighting goals.
[0074] As an optional embodiment of the present invention, the track light is movable along the magnetic track. When the actual number of lamps is greater than a preset number, before controlling each of the track lights to illuminate according to the target lighting control parameter, the method further includes: S04, obtaining position information of each track light on the magnetic track; Specifically, in this step, the track light is a movable structure that, after being installed on a magnetic track, can slide within the track manually or automatically. Position information refers to the relative position coordinates of each track light on the magnetic track, typically expressed as a distance from the track's starting point, such as the center axis position of each light fixture recorded in millimeters.
[0075] The purpose of this step is to further analyze the spatial distribution of a large number of connected lamps, so as to assist the subsequent control strategy to more accurately deal with problems such as lighting balance, shading overlap, or excessive concentration.
[0076] In specific implementations, location information can be obtained through one or a combination of the following methods: The controller broadcasts the signal, and each track light calculates its relative position to the track end based on the reception delay; Using the communication device set up in the track, the response time of each poll is polled one by one to obtain the relative sequence and estimated distance; After installation, the user can mark the position of the luminaire using a smart device, or perform a self-calibration upon initial activation. The controller records all luminaire position data in a system configuration table for subsequent parameter allocation and calculation. This step establishes a spatial geometric model of the luminaires for the system, bridging the gap between physical lighting layout and logical control strategies, and enabling spatially aware lighting distribution adjustments.
[0077] S05. Obtaining the interval distance between adjacent track lights according to the position information; Spacing distance refers to the spatial spacing between the center points of two adjacent track lights. It reflects the density of the current fixture arrangement and is an important basis for subsequent brightness adjustment and lighting overlap. The purpose of this step is to analyze the arrangement of the lamps on the magnetic track, identify areas of overcrowding or sparseness, and support the setting of differentiated control parameters for individual lamps. During implementation, the controller sorts the lamps from left to right according to their position information and calculates the spacing between adjacent lamps one by one.
[0078] This step establishes the spatial relationship between track lights, which helps to detect possible light stacking caused by dense areas or insufficient illumination caused by sparse areas, and provides basic data for subsequent corrections to brightness and color temperature factors.
[0079] S06: Adjust the target lighting control parameter of each track light according to the interval distance.
[0080] This step makes differential adjustments to the brightness and color temperature parameters of each track light based on the differences in lamp spacing, so that the lighting output can adapt to the spatial characteristics of its location, achieving uniformity and visual comfort in the overall light environment.
[0081] Its purpose is to solve the problems of excessive lighting, local glare or dark areas caused by uniform parameters when the number of lamps exceeds the preset number and the distribution is dense and uneven.
[0082] In implementation, the control system can introduce a spacing factor as part of the adjustment coefficient: For example, but not limitation, if the distance between a track light and adjacent lamps is less than the average distance, the brightness of the lamp is slightly lowered and the color temperature is appropriately lowered to reduce light stacking and glare; If the spacing is large, the brightness of the lamp will be appropriately increased and the color temperature will be higher to enhance lighting coverage and visual transparency; at the same time, a multi-factor adjustment model will be formed by combining factors such as lamp density and mutation position.
[0083] By dynamically adjusting the target parameters of each track light, the system not only improves the consistency of overall lighting, but also enhances the detailed control capabilities of local areas, creating a softer and more balanced visual experience for users.
[0084] As an optional embodiment of the present invention, the magnetic track light further includes a communication device, which is fixedly mounted on one side of the magnetic track. The obtaining of position information of each track light on the magnetic track includes: S041, controlling the communication device to sequentially send a broadcast signal containing a time stamp to each track light on the magnetic track; Specifically, in this step, the communication device is fixedly installed on one side of the magnetic track and is used to communicate data with the track lights. A broadcast signal is a universal control signal that does not require point-to-point addressing and can be received by all track lights connected to the track. A timestamp is the timestamp information added by the communication device at the moment the signal is transmitted, typically generated by a high-precision clock.
[0085] The purpose of this step is to uniformly send a reference signal to all track lights, which serves as the time reference for subsequent position delay calculations. This ensures that each track light responds according to a unified standard, thereby avoiding errors caused by inconsistent time starting points. During implementation, the communication device sends a data frame containing the current system timestamp via the conductive rail, bus, or near-field protocol in the track. Upon receiving the data frame, each track light immediately prepares to provide feedback, and its response behavior is controlled by subsequent steps. This method is low-cost and fast-response, and does not rely on complex hardware structures. It is suitable for environments with limited-length, densely distributed linear lighting fixtures, such as magnetic tracks.
[0086] S042. In response to the broadcast signal, control the track light to return a response signal to the communication device, wherein the response signal includes unique identification information of the track light; The response signal is the data packet sent back by the track light after receiving the broadcast signal. It carries the light's own identity information, allowing the communication device to identify the specific light that sent the data back. "Unique identification information" can be the device ID, address code, or connection number burned in at the factory.
[0087] The purpose of this step is to establish a corresponding relationship between the response signal and the track light entity, so that each delay measurement result can be clearly pointed to a specific lamp, providing a basis for subsequent position matching.
[0088] In practice, once the track light receives the broadcast signal, it will send back a response frame with minimum delay (or preset delay window), which includes an identification code, a reception time check field, etc. The communication device will archive it according to the received ID.
[0089] By binding the physical response behavior to the lamp ID, the system completes the "delay-identity" pairing, facilitating personalized processing and recording of location information.
[0090] S043. When the response signal reaches the communication device, obtain the return time of each response signal; The return time refers to the local timestamp of the communication device receiving each track light's response signal, which serves as the endpoint for delay calculation. This step aims to establish the time difference between the broadcast signal's transmission and the return of the response signal, thereby inferring the relative distance between the track light and the communication device. Communication devices typically have built-in high-precision timing circuits. Each time a response frame is received, the system's current time is recorded and mapped to the identification code contained in that frame. This process creates a unique response time record for each luminaire, enabling subsequent location estimation based on the time difference.
[0091] S044. Determine the position information of each of the track lights relative to the communication device according to the time difference between the return time and the sending time of the broadcast signal.
[0092] This step, based on the physical relationship between signal round-trip time and propagation distance, converts the time difference into spatial distance, thereby obtaining the relative position information of the track lights on the magnetic track. The propagation speed of electrical signals in conductive rails or buses approaches the speed of light, so while the delay is small, it can still be used to determine relative distance. If response calculation delays are ignored, the time difference multiplied by the propagation speed can be used to estimate the distance. By calculating the time differences of all lamps, the system can construct a complete spatial distribution map of the track, enabling sensorless position information collection.
[0093] This method does not rely on complex visual or radar equipment and can obtain distribution information only through communication delay. It has the advantages of controllable precision, simple deployment, and low maintenance cost. It is especially suitable for installation of densely packed and regularly shaped track lighting systems.
[0094] As an optional embodiment of the present invention, adjusting the target lighting control parameter of each track light according to the interval distance includes: S061. Obtaining the number of lamps within a preset distance range centered on each track light according to the location information; In this step, the "Number of Range Luminaires" refers to the number of other track lights within a specific distance (e.g., ±500mm) around a track light. This is used to assess the local lighting density at that light's location. This range is a preset value and can be determined based on track length, luminaire specifications, or lighting coverage radius.
[0095] The purpose of this step is to collect the concentration of lamps in a local area, providing data support for the subsequent calculation of the density factor. This allows the system to perceive the crowdedness or sparseness of the area surrounding each lamp. Based on the center position of each lamp, the distance to all other lamps is calculated, and the number of lamps falling within this range is counted. This counting process can be completed within the controller or upper-level platform, and refreshed periodically or in a triggered manner. This operation provides a more spatially aware control foundation for the entire system, allowing lighting adjustment strategies to no longer rely on global averages and instead focus on the actual operating environment of the lamps.
[0096] S062. Obtain a lamp density factor according to an average value of the number of lamps within the range of each track light; The lamp density factor is an indicator that reflects the overall density of the lighting on the track, and is usually positively correlated with the number of neighboring lamps within the range of each lamp. By averaging the number of lamps within the range of all track lights, the system can obtain the concentration of the lighting in the loop. The purpose of this step is to generate a standardized reference value so that subsequent adjustments can normalize the density of different lamp areas and improve the objectivity and consistency of the adjustment. The number of lamps within the range of all track lights is averaged, and the deviation between the individual value of each lamp and the average value is mapped to the density factor. For example, if the number of neighboring lamps of a lamp is 8 and the average is 5, its density factor may be set to a correction weight of >1. This factor is used to guide the dynamic adjustment of brightness and color temperature strategies in the direction of "enhancing low-density areas and suppressing high-density areas" to improve the uniform lighting capability of the entire track light system.
[0097] S063. Obtain a spacing factor for each track light based on an average of the spacing distances between each track light and adjacent track lights; The spacing factor is used to reflect the average spatial distance between a certain lamp and its adjacent lamps. This factor is related to the openness of the lamp in the space. The larger the spacing, the wider the lighting coverage responsibility range. The purpose of this step is to further evaluate the relative spatial pressure of each track light from the perspective of geometric arrangement, and provide another dimension of reference for individual output compensation. For each lamp, the system will take the distance between one or more adjacent lamps on the left and right, calculate the average spacing value, and then compare it with the system default standard spacing to obtain a relative value as the spacing factor. If the value is greater than the standard, the factor is too high, indicating that the output capacity needs to be improved. This compensation mechanism based on geometric distance can effectively improve the lighting quality of lamps at the edge of the space or sparse areas, and improve the problem of dark corners at the edges.
[0098] S064. Obtaining a spacing mutation factor of each track light according to the difference in spacing distances between adjacent track lights; The spacing mutation factor reflects whether there is discontinuity or obvious density mutation in the arrangement of track lights. For example, if the distance between two adjacent lights suddenly jumps from 200mm to 800mm, this difference can be defined as a mutation. The purpose of this step is to identify areas of structural unevenness in the track so that visual smoothing of the lighting field can be achieved through transition adjustment of brightness / color temperature. By calculating the differential sequence of adjacent spacing values, the mutation points are extracted, and the mutation amplitude is converted into a "mutation factor". This factor will be used for gradient correction in the subsequent adjustment process, such as increasing the brightness of the transition zone and adjusting the color temperature to a cooler level to alleviate visual abruptness. This technical feature is particularly suitable for commercial environments with irregular decoration and manual lighting deployment to improve the uniformity perceived by users.
[0099] S065. Obtain a brightness adjustment coefficient and a color temperature adjustment coefficient for each track light according to the lamp density factor, spacing factor, and mutation factor; In this step, the "Brightness Adjustment Coefficient" and "Color Temperature Adjustment Coefficient" indicate the degree to which the track light's final output brightness and color temperature should be adjusted upward or downward, respectively, relative to their initial values. These coefficients are determined by a combination of multiple factors, not using a linear function but rather based on grading rules, weighted assignments, or table lookup mappings.
[0100] The purpose of this step is to convert the structural characteristics of spatial perception into control parameters and form personalized adjustment strategies for lamps in different areas.
[0101] For example, but not limitation, if a lamp has a low density factor (few surrounding lamps), a large spacing, and a strong sudden change, then the lamp should be brighter and have a cooler color temperature; If it is in a high-density area, with small spacing and smooth mutation, the brightness and color temperature will be adjusted down accordingly to reduce overlap and energy consumption.
[0102] In this way, lamps in different positions can dynamically adapt their "roles" in the spatial structure to achieve a systematic lighting balance.
[0103] S066. Adjust the target lighting control parameters of each track light according to the brightness adjustment coefficient and the color temperature adjustment coefficient.
[0104] This step is the final application of the aforementioned control logic. The system scales or offsets the previously calculated target brightness and color temperature for each track light based on the adjustment coefficients, outputting specific execution parameters. Its purpose is to apply the analysis results to the lighting behavior of each fixture.
[0105] As an optional embodiment of the present invention, obtaining the brightness adjustment coefficient and the color temperature adjustment coefficient of each track light according to the lamp density factor, the spacing factor, and the mutation factor includes: S0651. Obtain an initial light load level of each track light within its illumination range based on the lamp density factor and the spacing factor, wherein the light load level is positively correlated with the lamp density factor and negatively correlated with the spacing factor; The lighting load level refers to the relative lighting responsibility that a track light should assume under the current lighting layout, that is, the expected contribution of its unit luminous flux to the entire illuminated area. A higher fixture density means that more light sources are sharing the lighting task locally, and the load on that light is more evenly distributed. A larger spacing indicates more gaps between fixtures, increasing the lighting responsibility of that light. The purpose of this step is to use local structural information to quantitatively assess the importance of each light's work, providing a basis for subsequent brightness and color temperature adjustments.
[0106] S0652. When the mutation factor is higher than a preset threshold, adjusting the light load level of the corresponding track light, wherein the adjusted light load level is positively correlated with the mutation factor; As mentioned above, the mutation factor reflects whether the spacing between a particular lamp and its neighbors changes suddenly. When the change exceeds a set threshold, it is considered a sudden change in the arrangement. This step aims to enhance the sensitivity of brightness adjustment within the sudden change in spacing, thereby improving the smoothness of illumination transitions and alleviating the sudden changes in brightness in the user's field of view.
[0107] If the system determines that a lamp's sudden change factor exceeds the standard, it multiplies its initial light load by an amplification weight (e.g., 1.1-1.3 times), giving that lamp a higher priority in subsequent brightness compensation. This dynamic enhancement mechanism strengthens the system's ability to compensate for sudden changes in structure, resulting in more natural visual hierarchy and greater lighting continuity.
[0108] S0653. Calculate the global lighting load average based on the lighting load levels of all track lights; The global light load average is the arithmetic mean of the light load levels of all luminaires and serves as a baseline for subsequent lighting offsets. This establishes a reference standard for overall load balancing in the system, ensuring that each luminaire's parameter adjustment targets are relatively balanced and avoiding overly bright or dimmed lighting.
[0109] The light load level of each lamp is summed and divided by the number of track lights to obtain the average value, which is cached in the dimming strategy module. This process establishes local adjustments within a global reference system, taking into account both consistency and differentiation, and improving the intelligence of the lighting system.
[0110] S0654. Obtain a lighting balance target offset for each track light based on a normalized value of a difference between an average global lighting load and a lighting load level of each track light. The "Lighting Balance Target Offset" is a quantitative measure of how much "positive or negative" adjustments should be made to each track light's original lighting control parameters. This value is determined by the difference between the luminaire's current load and the global average, and is normalized to ensure that the adjustment is within a controllable range.
[0111] The goal is to set a personalized dimming intensity for each luminaire, indicating whether it should adjust its output up or down to achieve overall light field energy balance. Normalization methods can use linear mapping, piecewise functions, and other methods. This step distributes dimming responsibilities across the system, improving overall system coordination and balance.
[0112] S0655. Obtain a brightness adjustment coefficient and a color temperature adjustment coefficient of each track light according to the global illumination load average value and the lighting balance target offset of each track light.
[0113] In this step, the control system generates two final control parameters based on the offset: For the brightness adjustment coefficient, the larger the positive offset is, the higher the brightness coefficient is; the color temperature adjustment coefficient can be positively correlated with the brightness adjustment coefficient or configured independently according to preset rules (such as linear improvement, cold and warm transition). The purpose of this step is to formally convert the structural light load information into a parameter source for the lamp control instructions, thereby driving each track light to perform the corresponding lighting behavior. For example, if the offset of a lamp is +0.3, its brightness coefficient may be adjusted from 1.0 to 1.15, and the color temperature is increased from 3000K to 3300K to enhance the visual penetration of the lamp in the area. Finally, the controller generates a PWM, constant current or dimming voltage control signal based on these two coefficients to achieve precise adjustment of the physical lighting output.
[0114] Specifically, after controlling each of the track lights to illuminate according to the target lighting control parameter, the method further includes: S6. Determine whether the track light is moving on the magnetic track according to the current signal of the magnetic track; Specifically, after controlling each track light to illuminate according to the target lighting control parameters, the system further performs a dynamic adaptive adjustment process to ensure that the overall lighting effect maintains uniformity and scene matching when the track light position changes. First, in step S6, the current signal from the magnetic track is used to determine whether the track light has moved on the magnetic track. This process analyzes the real-time variation characteristics of the track current. The current sequence obtained by continuous sampling is combined with the sliding average and standard deviation to establish a dynamic baseline model. Then, a dual-threshold comparison is performed on the instantaneous current slope and amplitude deviation. When the judgment conditions are met at multiple consecutive sampling points, it is determined that the track light has slipped on the track, thereby achieving rapid identification of track light movement events.
[0115] S7. If there is movement, obtaining second position information of each track light on the magnetic track after the movement; Specifically, the second position information refers to the current position coordinates or segment number of the lamp after sliding, usually expressed in the form of the number of the contact point between the lamp and the magnetic track, a coded signal, or the result of the response time calculation of the aforementioned broadcast. This step is to accurately determine the current spatial area or illumination direction of each lamp after the movement event is detected, and further support the subsequent recalculation of lighting parameters. The core purpose of this step is to reconstruct the spatial distribution map of the track lights on the track, because the sliding of the lamps will disrupt the original lighting configuration relationship. Only by obtaining new position information can the system re-evaluate the illumination contribution and position weight of each lamp to the target area.
[0116] This can be achieved using two strategies: one is for the luminaire to automatically identify the current segment number through contact numbering and report it via communication; the other is for the master communication device at one end of the track to send a time-stamp signal, which the track luminaire receives and responds to, calculating the relative distance based on the round-trip time, thus achieving contactless positioning. Ultimately, the master control system updates the spatial mapping relationship table between the luminaire and the track based on the response frame and identification information, forming the "second position information" corresponding to each luminaire. This allows for seamless perception and analysis of the real-time layout of the luminaire after movement, providing an accurate basis for the dynamic adjustment of lighting parameters, avoiding visual mismatches caused by the lamp being moved but not updated, and ensuring consistent spatial lighting and a continuous user experience.
[0117] S8. Update the target lighting control parameters according to the second position information; Specifically, when a user manually slides a lamp to a different functional area or above an illuminated object, the system immediately reassesses the target illumination and color temperature preferences for that area and adjusts the lamp's control parameters accordingly. Simultaneously, the system also considers factors such as the density, spacing, and overlap of nearby lamps to coordinately compensate for all lamp parameters. The specific method for updating parameters can be found in step S06 above and will not be detailed here.
[0118] S9. Control each of the track lights to perform lighting according to the updated target lighting control parameters.
[0119] This step is the final step in executing the actual lighting output after the lighting control parameters are updated. This step sends control instructions to each luminaire based on the target brightness and color temperature values for each track light calculated in S8, adjusting its drive channel to achieve the desired lighting effect.
[0120] In one embodiment, determining whether the track light is moving on the magnetic track according to the current signal of the magnetic track includes: S61, continuously sampling the current signal of the magnetic track according to a preset sampling frequency to obtain a sampling sequence; In this step, the sampling frequency refers to the process of acquiring current values from the magnetic track's power supply circuit at fixed intervals (e.g., once every millisecond); the "sampling sequence" refers to an array or time series of current values consisting of multiple consecutive sampling points. This provides the real-time data foundation for subsequent sliding analysis and dynamic detection. Track lights cause fluctuations in track current during sliding, and only continuous, high-frequency current sampling can capture these subtle and rapid changes.
[0121] The implementation method is as follows: the current sampling module in the system (such as built-in power controller or track main control unit) reads the current value once at a fixed time interval under the set sampling frequency, and temporarily stores the continuous readings as a sliding window, for example, including the most recent 64 points.
[0122] Through this step, the system can establish a dynamic "current image" that reflects the current electrical state of the track, providing accurate data support for subsequent calculations while maintaining the system's ability to respond to rapid sliding events.
[0123] S62: Calculate a sliding mean and a sliding standard deviation based on the sampling sequence and a preset sliding window; Specifically, the preset sliding window selects a continuous and fixed-length subset of current data in the sampling sequence, such as the most recent 64 sampling points, and the window will continue to scroll forward during the sampling process. Based on this preset sliding window, the basic characteristics of the current state of the current magnetic archive are extracted to facilitate subsequent judgment; among them, the sliding average can be understood as the reference baseline value of the current at the current moment, and the sliding standard deviation represents the fluctuation intensity or background noise level of the track current.
[0124] The specific acquisition process is as follows: after each new sampling, a certain number of recent current values are taken and their average is calculated as the average current of the current window; at the same time, the deviation between these current values and the average is counted to obtain the degree of fluctuation at the current moment; The acquisition of these two data enables this solution to dynamically adjust the judgment benchmark according to the real-time operating status of the track current, without the need to manually set a fixed threshold, and maintain sensitive and robust response capabilities even under different power supply conditions or load states.
[0125] S63, performing a differential operation on the current signal of the sampling point at the current moment and the current signal of the sampling point at the previous moment in the sampling sequence to obtain the instantaneous current slope at the current moment; Specifically, the differential here refers to the comparison of the numerical difference between the current sampling value and the previous sampling value, which represents the speed of change of the current. It can also be understood as the increase or decrease in the current within a short period of time, in order to determine whether the current has undergone a sudden change at the current moment, thereby identifying possible track light sliding events. Because when the lamp moves, its contact with the track will produce an instantaneous current jump, and this change is usually faster than the natural fluctuation of the power supply itself. After each sampling, the value is automatically compared with the previous sampling value to calculate the change between the two. This change reflects the speed of the current change, that is, the size of the slope. Through this step, the system can sensitively capture the speed mutation characteristics brought about by the sliding behavior, provide data support for the first-level rapid response judgment, and facilitate the efficient triggering of subsequent analysis.
[0126] S64, obtaining an adaptive current slope threshold according to the current sliding standard deviation and a first preset sensitivity; Specifically, the first preset sensitivity is an adjustment parameter defined at the system's factory or during setup, controlling the system's sensitivity to the rate of change of current. The purpose of this step is to match the slope judgment criteria with the current track noise level, creating a judgment threshold that automatically adjusts based on actual operating conditions.
[0127] The previously calculated sliding standard deviation is used as the basis for the current noise intensity and multiplied by the sensitivity parameter to determine a threshold. Only when the current change rate exceeds this threshold is it considered a possible sliding behavior. The judgment threshold is automatically adjusted based on the current level of electrical fluctuations in the track, maintaining high sensitivity when the current is stable and suppressing false alarms when the current is unstable, thus achieving a balance between rapid detection and stability.
[0128] S65, comparing the instantaneous current slope with the adaptive current threshold to obtain a first comparison result; This step is a quick initial screening, comparing the actual measured current change rate with the slope judgment standard calculated by the system based on the real-time noise level to preliminarily determine whether the current current has changed abnormally quickly, which may mean that a track light is sliding or being inserted.
[0129] Through this step, the system can quickly screen sliding behaviors, which helps to filter out normal fluctuation points that are obviously not within the sliding category while maintaining low latency.
[0130] S66, calculating the difference between the current sampling point and the sliding average value to obtain the current amplitude deviation at the current moment; Specifically, the current amplitude deviation represents the deviation between the current value and the average operating level considered by the system, and is used to determine whether the current amplitude has a large fluctuation.
[0131] The purpose of this step is to add a second level of strength confirmation, in addition to the first level of slope determination. This verification verifies whether the current change has sufficient magnitude to be meaningful. Specifically, after each sample, the system calculates the difference between the sampled value and the current baseline obtained by the sliding average in the previous step. This difference is the amplitude deviation. This level of determination effectively prevents certain high-speed, low-amplitude noise interference from being mistaken for sliding events, thereby enhancing the stability of the system's judgment.
[0132] S67. Obtaining an adaptive current amplitude threshold according to the current sliding standard deviation and a second preset sensitivity, wherein the second preset sensitivity is greater than the first preset sensitivity; The second preset sensitivity is the threshold coefficient used by the system specifically for amplitude judgment, and is usually set to be larger than the first sensitivity to reflect the strictness and robustness of the amplitude judgment. The purpose of this step is to automatically generate an adaptive standard value for amplitude judgment based on the current current fluctuation intensity. This standard value will only be triggered when the actual current deviation is very large, avoiding misjudging tiny jitters as actual sliding. The implementation method is similar to the above. Based on the current sliding standard deviation, it is multiplied by the second sensitivity coefficient to generate the amplitude judgment threshold at the current moment. Setting a higher sensitivity parameter can make the system confirm the sliding behavior more conservatively. After the first slope judgment is triggered, another layer of forced confirmation is added to improve the robustness of the overall system judgment.
[0133] S68, comparing the current amplitude deviation and the adaptive current amplitude threshold to obtain a second comparison result; This step is the execution link of amplitude judgment, that is, comparing the deviation between the current current value and the average value with the adaptive amplitude threshold just calculated to determine whether the amplitude mutation condition is met.
[0134] If the current deviation at the current sampling point exceeds the threshold, the point is considered to have the potential for slipping at the amplitude level; otherwise, it is judged to have not reached the mutation level. This step forms an amplitude confirmation mechanism independent of speed judgment, which can avoid misjudgments caused by short-term high-frequency interference. It can also confirm potential slip behaviors such as slow-changing large jumps, improving the accuracy of the system's overall judgment.
[0135] S69: When the first comparison results and the second comparison results of a preset number of consecutive sampling points in the sampling sequence meet a preset condition, it is determined that the track light is moving on the magnetic track.
[0136] This step is the final slip detection mechanism. Its core is "continuous satisfaction" and "dual conditions coexisting": not only does it require that both the slope and amplitude judgments meet the threshold standards, but it also requires that multiple consecutive samples meet this condition. Its purpose is to prevent single-point spikes or occasional jitter from being misjudged as slip, thereby improving the robustness of detection.
[0137] When presetting the number, a minimum number of consecutive hits is pre-set (such as 3 times). If the slope and amplitude judgments of multiple consecutive sampling points within a certain period of time meet the conditions, the system will confirm that the track light is moving. Otherwise, the fluctuation will be regarded as normal fluctuation and ignored.
[0138] Example 2 This embodiment 2 also provides an intelligent lighting control system for magnetic track lights, which includes several magnetic track lights, a power supply device and a control device. The power supply device is electrically connected to the magnetic track lights and is used to power the magnetic track lights. The magnetic tracks of each magnetic track light are detachably connected, and the control device is used to execute the intelligent lighting control method for magnetic track lights described in embodiment 1.
[0139] The magnetic track light in this embodiment adopts a modular and detachable magnetic structure. The tracks are connected by magnetic attraction and conductive contacts. Users can quickly adjust the number and position of lamps according to the actual space layout without removing or replacing wiring. Compared with traditional hard-wired or embedded lighting systems, this structure significantly reduces the construction and subsequent maintenance costs. At the same time, it has good scalability and reconfigurability, and is particularly suitable for spaces such as homes, exhibition halls, and offices that require dynamic layout adjustments. The control device in the system integrates and executes the method steps described in the first aspect of the present invention, and has the ability to identify the movement behavior of track lights in real time, dynamically obtain position information, and adaptively adjust lighting parameters. The control device combines current disturbance feature detection, position perception, regional strategy matching and other mechanisms to automatically complete the reconfiguration of brightness and color temperature according to the movement of the lamp on the track, achieving an automatic response effect of "moving the lamp is dimming", and improving the intelligence level and environmental adaptability of the lighting system. It does not rely on visual recognition, infrared sensing or complex sensor networks. It can achieve accurate detection of track light displacement behavior only through current signal analysis and communication response mechanism.
[0140] It should be understood that the present invention is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted. In the above embodiments, several specific steps are described and illustrated as examples. However, the method of the present invention is not limited to the specific steps described and illustrated. Those skilled in the art may make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present invention.
[0141] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROMs, optical storage, etc.) containing computer-usable program code.
[0142] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0143] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0144] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0145] It should also be noted that the exemplary embodiments described herein describe methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the steps described above. In other words, the steps may be performed in the order described in the embodiments, or in a different order, or several steps may be performed simultaneously.
[0146] The above description is only a specific embodiment of the present invention. Those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention.
Claims
1. An intelligent lighting control method for a magnetic track light, characterized in that: The magnetic track light comprises a magnetic track and a plurality of independently controllable track lights, wherein the plurality of track lights are detachably connected to the magnetic track, and the method comprises: In response to a lamp-on instruction, obtaining the actual number of track lamps connected to the magnetic track; According to the current time, obtaining corresponding initial lighting control parameters, wherein the initial lighting control parameters include brightness parameters and color temperature parameters; Adjusting the initial lighting control parameters according to the number of lamps to obtain target lighting control parameters for each track light; According to the target lighting control parameters, each of the track lights is controlled to perform lighting.
2. The intelligent lighting control method of the magnetic track light according to claim 1, characterized in that: The step of obtaining the actual number of track lights connected to the magnetic track in response to the lamp on instruction includes: In response to a lamp on instruction, the track lights connected to the magnetic track are controlled to turn on in sequence; During the sequential turning-on process, the power increment of the magnetic track lights is counted; Comparing the power increment with a preset power threshold to obtain a significant power increment; The actual number of track lamps connected to the magnetic track is determined according to the number of occurrences of the significant power increment.
3. The intelligent lighting control method of the magnetic track light according to claim 1, characterized in that: The adjusting the initial lighting control parameters according to the number of lamps to obtain target lighting control parameters for each track light includes: Obtaining target illumination and target color temperature according to the initial lighting control parameters; Calculating the target luminous flux of the magnetic track light according to the target illuminance and the target color temperature; Obtaining the number of reference lamps according to the target total luminous flux value and the rated brightness range of the track light; Obtaining a brightness factor and a color temperature factor according to a difference between the reference number of lamps and the actual number of lamps, wherein the brightness factor is positively correlated with the difference, and the color temperature factor is positively correlated with the difference; According to the brightness factor and the color temperature factor, the initial lighting control parameters of each track light are adjusted to obtain target lighting control parameters.
4. The intelligent lighting control method of the magnetic track light according to any one of claims 1 to 3, characterized in that: The track lights are movable along the magnetic track. When the actual number of lamps is greater than a preset number, before controlling each of the track lights to illuminate according to the target lighting control parameter, the method further includes: Acquire first position information of each track light on the magnetic track; Obtaining the interval distance between adjacent track lights according to the position information; According to the interval distance, the target lighting control parameter of each track light is adjusted.
5. The intelligent lighting control method of the magnetic track light according to claim 4, characterized in that: The magnetic track light further includes a communication device, which is fixedly mounted on one side of the magnetic track. The obtaining of the first position information of each track light on the magnetic track includes: Controlling the communication device to sequentially send a broadcast signal containing a time stamp to each track light on the magnetic track; In response to the broadcast signal, controlling the track light to return a response signal to the communication device, wherein the response signal includes unique identification information of the track light; When the response signal arrives at the communication device, obtaining the return time of each response signal; The first position information of each of the track lights relative to the communication device is determined according to the time difference between the return time and the sending time of the broadcast signal.
6. The intelligent lighting control method of the magnetic track light according to claim 4, characterized in that: The step of adjusting the target lighting control parameter of each track light according to the interval distance includes: Acquire the number of lamps within a preset distance range centered on each of the track lights according to the first position information; Obtaining a lamp density factor according to an average value of the number of lamps within the range of each track light; Obtaining a spacing factor for each track light according to an average of the spacing distances between each track light and adjacent track lights; Obtaining a spacing mutation factor of each track light according to a difference in spacing distances between adjacent track lights; Obtaining a brightness adjustment coefficient and a color temperature adjustment coefficient for each track light according to the lamp density factor, spacing factor, and mutation factor; The target lighting control parameter of each track light is adjusted according to the brightness adjustment coefficient and the color temperature adjustment coefficient.
7. The intelligent lighting control method of the magnetic track light according to claim 6, characterized in that: The step of obtaining a brightness adjustment coefficient and a color temperature adjustment coefficient for each track light according to the lamp density factor, the spacing factor, and the mutation factor includes: Obtaining an initial light load level of each track light within its illumination range according to the lamp density factor and the spacing factor, wherein the light load level is positively correlated with the lamp density factor and negatively correlated with the spacing factor; When the mutation factor is higher than a preset threshold, the light load level of the corresponding track light is adjusted, wherein the adjusted light load level is positively correlated with the mutation factor; Calculate the global average lighting load based on the lighting load of all track lights; Obtaining a lighting balance target offset for each track light according to a normalized value of the difference between the global lighting load average and the lighting load level of each track light; According to the global illumination load average value and the lighting balance target offset of each track light, a brightness adjustment coefficient and a color temperature adjustment coefficient of each track light are obtained.
8. The intelligent lighting control method of the magnetic track light according to claim 6, characterized in that: After controlling each of the track lights to illuminate according to the target lighting control parameter, the method further includes: determining whether the track light is moving on the magnetic track according to the current signal of the magnetic track; If there is movement, obtaining the second position information of each track light on the magnetic track after the movement; updating the target lighting control parameters according to the second position information; The track lights are controlled to perform lighting according to the updated target lighting control parameters.
9. The intelligent lighting control method of the magnetic track light according to claim 8, characterized in that: The determining, based on the current signal of the magnetic track, whether the track light is moving on the magnetic track comprises: Continuously sampling the current signal of the magnetic track according to a preset sampling frequency to obtain a sampling sequence; Calculate the sliding mean and sliding standard deviation based on the sampling sequence and the preset sliding window; Differentiating the current signal of the sampling point at the current moment and the sampling point at the previous moment in the sampling sequence to obtain the instantaneous current slope at the current moment; Obtaining an adaptive current slope threshold according to the sliding standard deviation and a first preset sensitivity; Comparing the instantaneous current slope with the adaptive current threshold to obtain a first comparison result; Calculate the difference between the current sampling point and the sliding average value to obtain the current amplitude deviation at the current moment; obtaining an adaptive current amplitude threshold according to the sliding standard deviation and a second preset sensitivity, wherein the second preset sensitivity is greater than the first preset sensitivity; Comparing the current amplitude deviation with the adaptive current amplitude threshold to obtain a second comparison result; When the first comparison results and the second comparison results of a preset number of consecutive sampling points in the sampling sequence meet a preset condition, it is determined that the track light is moving on the magnetic track.
10. An intelligent lighting control system for magnetic track lights, characterized in that: The system includes several magnetic track lights, a power supply device and a control device. The power supply device is electrically connected to the magnetic track lights and is used to power the magnetic track lights. The magnetic tracks of each magnetic track light are detachably connected. The control device is used to execute the intelligent lighting control method of the magnetic track light according to any one of claims 1 to 9.
Citation Information
Patent Citations
Track lamp control system and track lamp
CN111970789A
Adaptive adjusting constant-power control method for LED lamp
CN109757012A
Control method of track lamp
CN116025878A
Communication control method and system of intelligent magnetic track lamp
CN116669264A
LED illumination output control method and system
CN116723600A
Cited By
LED lamp bank card induction trigger energy-saving control method and system
CN122534721A