Intelligent lighting control method and system for magnetic track lamp

By dynamically sensing the number and position of magnetic track lights and adjusting brightness and color temperature parameters, the problem of traditional systems being unable to adapt to changes in lights is solved, achieving flexible, energy-saving, and personalized lighting control.

CN120614733BActive Publication Date: 2026-02-27SHENZHEN STARWIRE LIGHTING CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510893463.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2026-02-27
Estimated Expiration
2045-06-30

AI Technical Summary

Technical Problem

The existing magnetic track light control system cannot dynamically sense changes in the number of lights, resulting in the inability to automatically adjust lighting parameters, leading to problems such as uneven illuminance, reduced energy efficiency, and cumbersome user operation.

Method used

By obtaining the actual number of lights when the lights are turned on, the brightness and color temperature parameters are dynamically adjusted. Combined with location information and spacing, personalized control of each track light can be achieved.

Benefits of technology

It achieves automatic compensation and balanced lighting when the number of lamps changes, improving the system's adaptability, energy efficiency, and user experience, and supporting flexible layouts and complex lighting scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120614733B_ABST
    Figure CN120614733B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of lighting control, and provides an intelligent lighting control method and system of a magnetic attraction track lamp, to solve the problem of adjusting lighting parameters according to the number of lamps in the prior art track lamp control scheme. The method comprises the following steps: in response to a lamp opening instruction, the actual number of lamps of track lamps connected to the magnetic attraction track is acquired; according to the current time, the corresponding initial lighting control parameters are acquired, wherein the initial lighting control parameters comprise a brightness parameter and a color temperature parameter; the initial lighting control parameters are adjusted according to the number of lamps, and the target lighting control parameters of each track lamp are acquired; and according to the target lighting control parameters, the track lamps are controlled to perform lighting. The application improves the adaptability and control precision of the magnetic attraction track lamp system in a dynamic change scene.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of lighting control, in particular to an intelligent lighting control method and system of a magnetic track lamp. BACKGROUND

[0002] The magnetic track lamp is a modular lighting system widely used in modern indoor space lighting, mainly composed of a magnetic track, a power module and a plurality of movable track lamps. The track lamp is usually installed on the track by magnetic attraction connection, and realizes lighting and adjustment functions through the power supply and control channel provided by the track. Compared with traditional fixed lamps, the magnetic track lamp has the advantages of convenient installation, flexible layout and strong expandability, and has been widely used in home, business, exhibition, office and other scenes.

[0003] The existing control scheme generally relies on initial configuration of the system for centralized dimming control. The switch, brightness and color temperature of the lamp are usually preset by the main control panel or mobile terminal. For example, the invention patent with publication number CN111970789A discloses a track lamp control system based on centralized control mode. The system interacts with multiple track lamps through a communication module to realize remote adjustment of lamp parameters. However, this kind of scheme assumes that the number of track lamps is fixed and the layout position is stable, which is difficult to cope with dynamic increase or decrease of lamps or real-time position change.

[0004] In actual use, users often increase, decrease, slide or replace the position of track lamps according to the function or situation of the space. However, the traditional control system cannot recognize such changes and will not automatically adjust the lighting parameters. This kind of scheme usually assumes that the number of track lamps is fixed and the layout is stable, and cannot dynamically perceive the change of the number of actual connected lamps on the track. However, in actual use, users may increase or adjust the position of track lamps according to the space requirements. When the number of lamps changes, the traditional control method cannot automatically perceive and adjust the lighting parameters, which may lead to the following problems: the illuminance of some areas is too low or too high, the lighting distribution is unbalanced; the system energy efficiency is reduced, and the power output cannot be dynamically adjusted according to the actual load; the user needs to manually reconfigure the lamp parameters, which is tedious and lacks intelligence. SUMMARY

[0005] Therefore, the embodiments of the present application provide an intelligent lighting control method and system of a magnetic track lamp to solve the problem of adjusting lighting parameters according to the number of lamps in the prior art.

[0006] In a first aspect, the embodiments of the present application provide an intelligent lighting control method of a magnetic track lamp, the magnetic track lamp comprising a magnetic track and a plurality of independently controllable track lamps, the plurality of track lamps being detachably connected with the magnetic track, and the method comprising:

[0007] In response to the lamp opening instruction, the actual number of track lamps connected to the magnetic track is obtained;

[0008] According to the current time, the corresponding initial lighting control parameter is obtained, wherein the initial lighting control parameter includes a brightness parameter and a color temperature parameter;

[0009] According to the number of lamps, the initial lighting control parameter is adjusted to obtain the target lighting control parameter of each track lamp;

[0010] According to the target lighting control parameter, each track lamp is controlled to illuminate.

[0011] Preferably, in response to the lamp opening instruction, the actual number of track lamps connected to the magnetic track is obtained, comprising:

[0012] In response to the lamp opening instruction, the track lamp connected to the magnetic track is controlled to be turned on in sequence;

[0013] In the process of turning on in sequence, the power increment of the magnetic track lamp is counted;

[0014] The power increment and the preset power threshold are compared to obtain a significant power increment;

[0015] According to the number of occurrences of the significant power increment, the actual number of track lamps connected to the magnetic track is determined.

[0016] Preferably, in response to the lamp opening instruction, the actual number of track lamps connected to the magnetic track is obtained, comprising:

[0017] According to the initial lighting control parameter, the target illuminance and the target color temperature are obtained;

[0018] According to the target illuminance and the target color temperature, the target total value of the light flux of the magnetic track lamp is calculated;

[0019] According to the target total value of the light flux and the rated brightness range of the track lamp, the reference lamp number is obtained;

[0020] According to the difference between the reference lamp number and the actual lamp number, the brightness factor and the color temperature factor are obtained, wherein the brightness factor is positively correlated with the difference, and the color temperature factor is positively correlated with the difference;

[0021] According to the brightness factor and the color temperature factor, the initial lighting control parameter of each track lamp is adjusted to obtain the target lighting control parameter.

[0022] Preferably, the track lamp is movable along the magnetic track, and when the actual number of lamps is greater than the preset number, before the track lamps are controlled to illuminate according to the target lighting control parameters, the method further comprises:

[0023] acquiring first position information of each track lamp on the magnetic track;

[0024] acquiring interval distances between adjacent track lamps according to the position information;

[0025] adjusting target lighting control parameters of each track lamp according to the interval distances.

[0026] Preferably, the magnetic track lamp further comprises a communication device fixedly installed on one side of the magnetic track, and the acquiring of the first position information of each track lamp on the magnetic track comprises:

[0027] controlling the communication device to sequentially send broadcast signals containing time marks to each track lamp on the magnetic track;

[0028] controlling the track lamps to return response signals containing unique identification information of the track lamps to the communication device in response to the broadcast signals;

[0029] acquiring return times of each response signal when the response signals arrive at the communication device;

[0030] determining first position information of each track lamp relative to the communication device according to a time difference between the return times and a sending time of the broadcast signals.

[0031] Preferably, the adjusting of the target lighting control parameters of each track lamp according to the interval distances comprises:

[0032] acquiring a number of range lamps within a preset distance range centered on each track lamp according to the first position information;

[0033] acquiring a lamp density factor according to an average value of the number of range lamps of each track lamp;

[0034] acquiring a spacing factor of each track lamp according to an average value of the interval distances between each track lamp and adjacent track lamps;

[0035] acquiring a spacing mutation factor of each track lamp according to a difference value of the interval distances between the adjacent track lamps;

[0036] acquiring a brightness adjustment coefficient and a color temperature adjustment coefficient of each track lamp according to the lamp density factor, the spacing factor and the mutation factor;

[0037] adjusting a target lighting control parameter of each of the track lights according to the brightness adjustment coefficient and the color temperature adjustment coefficient.

[0038] Preferably, the obtaining the brightness adjustment coefficient and the color temperature adjustment coefficient of each track light according to the luminaire density factor, the spacing factor and the mutation factor comprises:

[0039] obtaining an initial illumination load degree of each track light within its illumination range according to the luminaire density factor and the spacing factor, wherein the illumination load degree is positively correlated with the luminaire density factor and negatively correlated with the spacing factor;

[0040] adjusting the illumination load degree of the corresponding track light when the mutation factor is higher than a preset threshold, wherein the adjusted illumination load degree is positively correlated with the mutation factor;

[0041] calculating a global illumination load average according to the illumination load degrees of all track lights;

[0042] obtaining a lighting balance target offset of each track light according to the global illumination load average and a normalized value of a difference between the illumination load degree of each track light;

[0043] obtaining the brightness adjustment coefficient and the color temperature adjustment coefficient of each track light according to the global illumination load average and the lighting balance target offset of each track light.

[0044] Preferably, the controlling each track light to illuminate according to the target lighting control parameter further comprises:

[0045] judging whether the track light moves on the magnetic track according to a current signal of the magnetic track;

[0046] if there is movement, obtaining second position information of each track light on the magnetic track after the movement;

[0047] updating the target lighting control parameter according to the second position information;

[0048] controlling each track light to illuminate according to the updated target lighting control parameter.

[0049] Preferably, the judging whether the track light moves on the magnetic track according to the current signal of the magnetic track comprises:

[0050] continuously sampling the current signal of the magnetic track according to a preset sampling frequency to obtain a sampling sequence;

[0051] calculating a sliding average and a sliding standard deviation according to the sampling sequence and a preset sliding window.

[0052] differencing the current signals of the sampling point at the current moment and the sampling point at the last moment in the sampling sequence, to obtain an instantaneous current slope at the current moment;

[0053] obtaining an adaptive current slope threshold according to the current sliding standard deviation and a first preset sensitivity;

[0054] comparing the instantaneous current slope and the adaptive current threshold to obtain a first comparison result;

[0055] calculating a difference between the sampling point at the current moment and the sliding average value to obtain a current amplitude deviation at the current moment;

[0056] 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;

[0057] comparing the current amplitude deviation and the adaptive current amplitude threshold to obtain a second comparison result;

[0058] when the first comparison result and the second comparison result of the continuous preset number of sampling points in the sampling sequence meet a preset condition, it is determined that the track lamp moves on the magnetic track.

[0059] In a second aspect, the embodiments of the present application further provide an intelligent lighting control system of a magnetic track lamp, the system comprising a plurality of magnetic track lamps, a power supply device and a control device, the power supply device being electrically connected with the magnetic track lamps and being used for supplying power to the magnetic track lamps, the magnetic tracks of the magnetic track lamps being detachably connected, and the control device being used for executing the intelligent lighting control method of the magnetic track lamp.

[0060] In summary, the beneficial effects of the present application are as follows:

[0061] The intelligent lighting control method and system of the magnetic attraction track lamp provided by the embodiment of the application can actively acquire the number of track lamps currently connected to the magnetic attraction track in response to a lamp opening instruction, can dynamically perceive the increase and decrease of the lamps, and saves the user from manually adjusting or the system from statically presetting the cumbersome operation, and is suitable for flexible lamp arrangement requirements. The lighting control parameters are acquired according to the current time, the mapping of 'time-lighting strategy' is realized, such as daytime high brightness, night soft light, evening cold and warm adjustment, etc., so that the lighting system has basic scene adaptation capability, and the visual comfort and energy saving level are improved. Through dynamic adjustment of the initial lighting control parameters, when the number of track lamps changes, the brightness and color temperature of each lamp can be compensated or reduced accordingly, effectively avoiding the problems of over-illumination due to the increase of lamps or insufficient illumination due to the decrease of lamps, and ensuring the uniformity of illuminance and the unity of space light quality. The target lighting control parameters of each track lamp, rather than the unified global setting, can control the single lamp one by one, realize the more complex lighting scene application such as point lighting and partition light supplementing, and provide a basis for subsequent expansion of personalized control or regional intelligent linkage. In summary, the application not only improves the adaptability and control accuracy of the magnetic attraction track lamp system in the dynamic change scene, but also takes into account the energy saving, comfort and maintainability, and has wide practical application value and industrial promotion prospect. BRIEF DESCRIPTION OF DRAWINGS

[0062] In order to more clearly illustrate the technical solutions of the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiments of the application. For those skilled in the art, other drawings can also be obtained without creative labor on the premise of these drawings, and these are within the protection scope of the application.

[0063] Figure 1 is a structural schematic diagram of the magnetic attraction track lamp of the embodiment of the application.

[0064] Figure 2 is a flowchart of the intelligent lighting control method of the magnetic attraction track lamp of the embodiment of the application.

[0065] Figure 3 is another flowchart of the intelligent lighting control method of the magnetic attraction track lamp of the embodiment of the application.

[0066] Figure 4 is another flowchart of the intelligent lighting control method of the magnetic attraction track lamp of the embodiment of the application.

[0067] Corresponding symbols:

[0068] Track lamp 1, magnetic attraction track 2, first connecting part 21, second connecting part 22, connecting bracket 3. DETAILED DESCRIPTION

[0069] The features and exemplary embodiments of the various aspects of the present application will be described in detail below with reference to the drawings and examples. It should be understood that the specific embodiments described herein are merely configured to explain the present application and are not configured to limit the present application. The present application can be implemented without some of the specific details for those skilled in the art. The following description of the embodiments is merely to provide a better understanding of the present application by showing examples of the present application.

[0070] It should be noted that, in this paper, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or equipment. Without more limitations, the elements defined by the statement "include" do not exclude the presence of other identical elements in the process, method, article or equipment including the elements.

[0071] Embodiment 1

[0072] The embodiment of the present application provides a kind of intelligent lighting control method of magnetic attraction track lamp, refer to Figure 1 , the magnetic attraction track lamp includes magnetic attraction track and several independently controllable track lamps, several track lamps are detachably connected with the magnetic attraction track, as Figure 1 Indicated, the magnetic attraction track lamp in the embodiment includes track lamp 1, magnetic attraction track 2 and the connecting bracket 3 for connecting both, wherein the magnetic attraction track 2 includes the first connecting portion 21 and the second connecting portion 22 arranged at both ends, track lamp 1 is lighting function component, with integrated lamp housing structure, internal integration light source, drive circuit and heat dissipation element, can output the illumination beam of specific brightness and color temperature. Track lamp 1 is connected with magnetic attraction track 2 by connecting bracket 3, realizes vertical suspension and direction adjustment.

[0073] Connecting bracket 3 is the intermediate connecting piece between lamp body and track, one end is fixed to track lamp 1, the other end is inserted into the power supply interface of magnetic attraction track 2. Conductive contact is provided in the bracket, which can introduce track power signal into the track lamp, while allowing the lamp to rotate around the bracket to realize horizontal or pitch angle adjustment.

[0074] The magnetic track 2 is a track type mounting structure arranged transversely, internally provided with a conductive copper strip and provided with a magnetic adsorption assembly, used for realizing sliding positioning, power supply connection and structure installation of the track lamp.

[0075] The first connecting part 21 and the second connecting part 22 are respectively located at two ends of the magnetic track 2, and can be used for realizing splicing and butt joint between multiple track segments, or respectively connecting a power input end and a terminal sealing piece; the two end connecting parts are respectively provided with corresponding structure interfaces, used for ensuring electrical connectivity and mechanical consistency between the track segments, and supporting standardized wiring extension.

[0076] By arranging the first connecting part and the second connecting part at two ends of the track, the magnetic track has the structural capability of being able to be connected in series and being able to be extended in a direction, so as to facilitate a user to freely splice track segments according to different space requirements;

[0077] Unlike a traditional integrated track system, the structure improves the modularity and maintenance convenience of the system, and supports quick replacement or extension of the track lamp group.

[0078] The two ends of the track have a connection structure with clear interface definition, and also provide structural guarantee for subsequent power supply management, intelligent controller access or segmented power supply of the system.

[0079] The magnetic track has a strip-shaped structure, internally provided with a conductive track or a power supply bus, used for providing a power supply and a control signal channel for the track lamp. A plurality of connection positioning grooves or elastic buckle interfaces can be arranged on the surface of the track shell, so as to realize quick installation and stable adsorption of the track lamp. Meanwhile, communication devices, time control modules and other components can be integrated on the outer side of the track body, used for completing lamp identification, address allocation and dimming data transmission.

[0080] The track lamp has a cylindrical lamp head structure, electrically connected and mechanically fixed with the magnetic track 2 through a connecting support. The connecting support is provided with a power supply contact or a magnetic adsorption connector, which can complete power supply butt joint and physical hanging after being inserted into the track. The lamp body is internally provided with a light source module, a circuit driving module and a control response unit, which can be individually controlled according to target brightness and color temperature parameters issued by the system, to realize lamp grouping, zone dimming or dynamic response control strategy.

[0081] Please refer to Figure 2 , the method comprises:

[0082] S1, in response to a lamp opening instruction, the actual number of track lamps connected to the magnetic track is acquired.

[0083] Specifically, in this step, the "lamp opening instruction" refers to the opening control signal issued by the user through physical switches, remote control terminals or mobile applications, etc. to trigger the initialization response process of the track lighting system. The "actual lamp quantity" refers to the number of all track lamps currently physically connected to the magnetic track, which is not a fixed configuration, but a dynamic parameter that can be plugged in or adjusted by the user at any time according to space requirements.

[0084] The purpose of this step is to enable the control system to have lamp perception capability, automatically identify the number of lamps currently connected to the lighting system without relying on manual configuration or static settings, thereby providing a data basis for subsequent personalized control and adaptive compensation. This logic embodies the "perception-control" intelligent lighting basic framework.

[0085] In actual implementation, techniques such as power increment detection, communication address polling, and cascade response sorting can be used. For example, the system can turn on the track lights one by one and detect the power change, and each significant power increase corresponds to a new lamp; or the lamp can actively report its identity ID after connecting to the communication link, and the central controller can obtain the accurate lamp quantity. The above methods are all compatible with existing magnetic power supply track structures.

[0086] By automatically identifying the actual lamp quantity, the system can real-time grasp the lighting layout state without user intervention, and dynamically adjust the output strategy according to the current lamping situation to improve control accuracy and user convenience.

[0087] S2, according to the current time, obtaining the corresponding initial lighting control parameter, wherein the initial lighting control parameter includes brightness parameter and color temperature parameter;

[0088] The "current time" in this step usually refers to the real-time time information recorded by the system, with an accuracy of at least hours, used to distinguish typical time periods such as daytime, dusk, and night; the "initial lighting control parameter" refers to the basic lighting setting before personalized or quantity compensation, including brightness (such as 80% output) and color temperature (such as 4000K) two core indicators, usually determined by the preset scene template.

[0089] The purpose of this step is to enable the lighting output strategy to have time perception capability, to realize natural light simulation or situational light adjustment under the circadian rhythm. For example, set cold light high brightness in the morning to improve alertness, and set warm light low brightness at night to ensure relaxation and comfort.

[0090] In the implementation process, the controller can internally build a timing dimming strategy table, divide a time period into several preset periods, such as early morning, daytime, evening, and night, and match corresponding brightness and color temperature for each time period. For example, when the system starts at 19:00 in the evening, the corresponding lighting parameters of the "night mode" are automatically selected: brightness 60%, color temperature 3000K. This setting can be based on empirical values or continuously optimized by learning user habits.

[0091] By introducing the time dimension, the system can form a "time-varying" lighting rhythm, create a lighting environment that meets the human perception rules, and improve the space use comfort and energy efficiency management level.

[0092] S3, adjusting the initial lighting control parameters according to the number of lamps to obtain target lighting control parameters for each track lamp;

[0093] The target lighting control parameter is the personalized control data generated for each track lamp, which is based on the initial parameter correction and has considered factors such as the number of lamps and distribution density, and is used to guide the specific lighting output behavior of each track lamp.

[0094] The purpose of this step is to achieve light field balance and function compensation under different lamp configurations. If the number of lamps is small, the brightness can be increased to avoid insufficient illuminance; otherwise, the output can be reduced to prevent glare and energy waste when the lamps are dense.

[0095] The implementation can include but is not limited to: setting a reference number of lamps, comparing the current number with the reference value, and adjusting the brightness of each lamp according to the proportional relationship; or distributing the total luminous flux according to the current number of lamps to calculate the output load that each lamp should bear. For example, the system presets a total illuminance of 800 lux, a reference number of lamps is 8, and there are only 4 currently, so the output of each lamp should be increased to twice the original. A color temperature compensation mechanism can also be introduced to increase the color temperature (e.g., from 3500K to 4000K) in a few-lamp environment to enhance the bright feeling.

[0096] This step enables the system to have dynamic output capability, automatically generate matching target control parameters in any lamp distribution state, achieve adaptive illuminance compensation, energy-saving dimming, and lighting consistency maintenance, and is a key step to realize intelligent light field regulation.

[0097] S4, controlling each track lamp to perform lighting according to the target lighting control parameters.

[0098] This step is to execute the parameter decision result on the hardware level, i.e., to send the target brightness and color temperature to each track lamp respectively, so that it operates according to the personalized setting.

[0099] The purpose is to realize the precise control on demand, and each track lamp is no longer uniformly output, but responds to different lighting instructions according to the spatial position, quantity background and time environment and other factors, so as to realize the zoning dimming, grouping output or uniform light supplement.

[0100] In the implementation, the control system can send the target parameters to each lamp through a communication bus (such as CAN, 1-Wire, RS-485) or a wireless protocol (such as BLE, Zigbee); each track lamp receives the parameters and calls the local drive module to control the working state of the LED chip, and outputs the matching brightness and color temperature. The system can also set a smooth transition logic to adopt a slow change strategy when the brightness changes to avoid instantaneous flicker.

[0101] Through this step, the system realizes the closed-loop operation of "intelligent judgment-precise control", ensures that the overall lighting state automatically adapts to the changes of the environment and configuration, and truly realizes the personalized lighting control based on quantity perception, and improves the intelligent level and use experience of the lighting system.

[0102] As an optional embodiment of the present application, please refer to Figure 3 , the actual lamp quantity of the track lamp connected to the magnetic track is acquired in response to the lamp opening instruction, comprising:

[0103] S11, in response to the lamp opening instruction, the track lamp connected to the magnetic track is sequentially turned on;

[0104] In this step, the track lamp connected to the magnetic track is sequentially activated in a certain time interval or order, instead of being turned on at the same time. The "lamp opening instruction" is an upper control command to trigger the activation of the whole group of lighting, which can be triggered automatically by user operation, environmental sensing or time scheduling.

[0105] The purpose of this step is to provide a distinguishable time window for the subsequent statistics of the power change caused by the opening of each track lamp. Through sequential opening, the current / power response of each track lamp can be identified one by one, and then corresponding to the identification logic "one track lamp = one power increment".

[0106] In the implementation process, the controller can preset a set of timing opening strategies, for example, sending the lighting signal to the lamp module on the magnetic track every 100ms. The lighting can be realized synchronously through the guide rail power supply, or the precise single lamp control can be realized by cooperating with the address coding or short-range communication module. The system needs to ensure that the opening interval is long enough to ensure that the power measurement on the power supply side is stable and reliable.

[0107] This step establishes a one-to-one correspondence between the lamps and the power response through "sequential activation", which is the key prerequisite for subsequent use of power characteristics to deduce the number of lamps, avoiding the problem of individual state identification difficult in traditional batch power-on.

[0108] S12, in the process of sequentially turning on, the power increment of the magnetic attraction track lamp is counted;

[0109] The power increment refers to the rising amplitude of the instantaneous power on the power supply side detected by the system in the process of turning on the track lamp one by one, which reflects the power consumption change brought by the new access of the light source load.

[0110] The purpose of this step is to capture the power rise caused by the opening of each track lamp, thereby providing original data support for subsequent judgment of whether it is a real lamp. The power change amplitude can be regarded as an electrical characteristic of the existence of the lamp. In the implementation process, the system continuously monitors the power output (such as active power, current, etc.) of the track input end or the driving power supply, and records the power change value of each time period.

[0111] This step can realize dynamic detection of the connection state without the need for individual identification of the lamp through low-cost electrical parameter detection means, and has the advantages of strong universality and simple implementation.

[0112] S13, comparing the power increment with a preset power threshold to obtain a significant power increment, wherein the;

[0113] This step filters out background noise or small electrical disturbances by judging whether the power increment exceeds the system preset threshold, thereby selecting the effective power change caused by the opening of the lamp.

[0114] The purpose is to improve the recognition accuracy and ensure that each statistical result corresponds to the access behavior of a track lamp, avoiding misjudgment.

[0115] In the implementation process, the system compares the power increment recorded each time with the threshold value. The threshold value can refer to the typical power setting of a single track lamp, such as 4W or 5W, and consider the error tolerance. If the increment of a certain time is greater than or equal to the threshold value, the event is recorded as a significant increment; otherwise, it is ignored.

[0116] By setting the power judgment threshold, the power fluctuations, other irrelevant load changes and other interference factors can be filtered out, effectively improving the accuracy and robustness of the determination of the number of lamps.

[0117] S14, determining the actual number of track lamps connected to the magnetic attraction track according to the number of occurrences of the significant power increment.

[0118] Specifically, the number of significant power increments represents the number of times the system identifies a real track light access. By counting the number of effective power jumps during the entire sequential start process, the actual number of lamps connected to the current track can be determined.

[0119] The purpose of this step is to enable the control system to adapt to physical configuration changes, to identify the connection state of the lamps on the track in real time, and to provide basic data for subsequent brightness and color temperature parameter calculation.

[0120] The implementation is simple and effective: each significant power increment is considered a successful lamp connection, and the cumulative number is the total number of lamps. After the statistics are completed, the system can write this number into the control logic as input for subsequent adjustment calculations.

[0121] This step realizes intelligent lamp quantity identification without additional sensors, address presets, or manual operation, improving the automation level and scene adaptability of the track light system, especially for home, commercial, and other applications that require frequent lamp layout changes.

[0122] As an optional embodiment of the present application, please refer to Figure 4 , the step of adjusting the initial lighting control parameters according to the number of lamps to obtain the target lighting control parameters of each track light, comprising:

[0123] S31, obtaining target illuminance and target color temperature according to the initial lighting control parameters;

[0124] Specifically, in this step, the "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 expected average illuminance level set by the system for the current space, usually measured in lux. "Target color temperature" refers to the desired color tone of the light source, measured in Kelvin (K), such as 2700K for warm white light and 5000K for cool white light. The purpose of this step is to convert general lighting control parameters into quantifiable optical targets, laying a physical foundation for subsequent lamp quantity conversion and parameter compensation based on light output capability. Call the lighting scene library, for example, set the daytime office mode to 500 lux and 4000K, and the night reading mode to 300 lux and 3500K. The system selects the corresponding target illuminance and color temperature based on the current time period or user demand. By specifying control parameters as optical indicators, the correspondence between illuminance, color temperature, and space lighting expectations can be unified, enhancing the adaptability and stability of the control strategy.

[0125] S32, calculating the total target luminous flux value of the magnetic track light according to the target illuminance and target color temperature;

[0126] The target total luminous flux value refers to the luminous flux required to meet the demand of the entire light receiving area under the target illumination condition, and is calculated based on the product of the spatial area and the target illumination. This value is a key intermediate quantity for converting lighting demand into lamp output capacity. The purpose of this step is to establish a corresponding bridge between space use demand and lamp output capacity, so that the number of system theoretically required lamps can be calculated based on the rated output of a single lamp. This step converts abstract visual comfort demand into quantitative output criteria, constituting one of the basic models of the system dimming and color adjustment strategy, and improving the scientificity and controllability of parameter adjustment.

[0127] S33, obtaining a reference lamp quantity according to the target total luminous flux value and the rated luminance range of the track lamp;

[0128] The "rated luminance range" refers to the upper and lower limits of the output luminous flux that a single track lamp can provide under normal operating voltage and driving conditions, for example, 300-500 lumens. The reference lamp quantity is the theoretically required number of lamps, which is used to evaluate the reasonable configuration level based on the target total luminous flux value.

[0129] The purpose of this step is to calculate the number of lamps required to meet the space lighting demand under ideal configuration through the ratio of the target total luminous flux to the output capacity of a single lamp, providing a basis for determining whether the current number of lamps is too few or too many. The specific calculation method is: reference lamp quantity = target total luminous flux value ÷ single lamp typical lumen value. If the system supports dimming, the average or median value of the rated luminance range can be selected as the reference value. This step enables the system to evaluate whether the actual number of lamps matches the demand, providing a quantitative basis for subsequent parameter factor adjustment, which is beneficial to achieving light efficiency balance and energy optimization.

[0130] S34, obtaining a luminance factor and a color temperature factor according to the difference between the reference lamp quantity and the actual lamp quantity, wherein the luminance factor is positively correlated with the difference, and the color temperature factor is positively correlated with the difference;

[0131] The luminance factor and the color temperature factor are adjustment coefficients used to adjust the target output of each track lamp, and their setting depends on the difference between the current number of lamps and the theoretically required number. If the actual number of lamps is less than the reference value, the luminance and color temperature need to be adjusted upwards, and vice versa.

[0132] The purpose of this step is to achieve the linkage matching of lamp configuration state and lighting output, so that in the case of change in the number of lamps, dynamic compensation of total illumination and color temperature distribution can still be achieved, ensuring visual experience.

[0133] The implementation includes setting a mapping function or a lookup table strategy to map the difference between the reference quantity and the actual quantity to a factor value. For example, when the difference is -2, the brightness factor is 1.25 (increased by 25%), and the color temperature factor is 1.05 (increased color temperature to enhance brightness); when the difference is +3, the factors are set to 0.85 and 0.95, which play a role in suppressing excessive brightness and reducing coldness. This step embodies the adaptive characteristics of the control strategy, enabling the lighting system to have fault tolerance and self-regulation ability for changes in the number of connected lamps, especially suitable for places where the layout of lamps is frequently adjusted.

[0134] S35, adjusting the initial lighting control parameters of each track lamp according to the brightness factor and the color temperature factor to obtain target lighting control parameters.

[0135] This step is the specific landing of all the above calculation logic. The brightness factor and the color temperature factor are applied to the initial parameters to form the final output instructions of each track lamp. The target parameters directly determine the actual state of the lamp output. The purpose is to complete the closed-loop process from system judgment to individual execution, and to realize personalized and refined adjustment of the lighting strategy. The initial brightness is multiplied by the brightness factor, and the initial color temperature is multiplied 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 independently calculate and issue control instructions. 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, high-consistency, and energy-saving lighting goals.

[0136] As an optional embodiment of the present application, the track lamp can move along the magnetic track. When the actual number of lamps is greater than the preset number, before the track lamps are controlled to illuminate according to the target lighting control parameters, the method further comprises:

[0137] S04, obtaining position information of each track lamp on the magnetic track;

[0138] Specifically, in this step, the track lamp is a movable structure that can slide in the track manually or automatically after being installed on the magnetic track. The position information refers to the relative position coordinates of each track lamp on the magnetic track, which is usually expressed in length from the starting point of the track, for example, the central axis position of each lamp is recorded in millimeters.

[0139] The purpose of this step is to further analyze the spatial distribution when the actual number of connected lamps is large, to assist the subsequent control strategy to more accurately handle problems such as lighting balance, shadow overlap, or excessive concentration.

[0140] In specific implementation, the position information can be obtained by one or a combination of the following methods:

[0141] The controller broadcasts signals, and each track light calculates the relative position to the track end according to the received delay;

[0142] The relative order and estimated distance are obtained by polling the response time of each track light using the communication device installed in the track;

[0143] After installation, the user marks the position of the lamp through the intelligent device, or performs self-calibration of the position at the first activation. The controller records the position data of all lamps in the system configuration table for subsequent parameter allocation and calculation. This step establishes a spatial geometric model of the lamps for the system, bridging the physical lamp distribution state and the logical control strategy, enabling the lighting distribution adjustment to have spatial perception ability.

[0144] S05、According to the position information, the interval distance between adjacent track lights is obtained;

[0145] The interval distance refers to the spatial distance between the center points of two adjacent track lights, reflecting the density of the current lamp arrangement, and is an important basis for subsequent brightness adjustment and light overlap processing. The purpose of this step is to analyze the arrangement state of the lamps on the magnetic track, identify whether there are local dense or sparse areas, and provide support for setting differentiated control parameters for individual lamps. In the implementation process, the controller sorts the lamps from left to right according to the position information, and calculates the interval distance between adjacent lamps one by one.

[0146] This step establishes the mutual spatial relationship between the track lights, which is conducive to discovering the light stacking caused by dense areas or the insufficient illumination caused by sparse areas, and provides basic data for subsequent brightness and color temperature factor correction.

[0147] S06、According to the interval distance, adjust the target lighting control parameters of each track light.

[0148] This step adjusts the brightness and color temperature parameters of each track light according to the interval distance, so that the lighting output can adapt to the spatial characteristics of its location, achieving uniformity and visual comfort of the overall light environment.

[0149] The purpose is to solve the problem of excessive lighting, local glare or dark area caused by uniform parameters when the number of lamps exceeds the preset and the distribution is uneven.

[0150] In the implementation, the control system can introduce the interval factor as part of the adjustment coefficient:

[0151] For example, without limitation, if the interval distance between a track light and the adjacent lamp is less than the average interval distance, the brightness of the lamp is slightly adjusted to be lower, and the color temperature is moderately reduced to reduce light stacking and glare;

[0152] If the spacing is large, the brightness of the lamp should be appropriately increased and the color temperature should be higher to enhance the lighting coverage and visual transparency; at the same time, a multi-factor adjustment model should be formed by combining factors such as lamp density and abrupt change location.

[0153] By dynamically adjusting the target parameters of each track light, the system not only improves the consistency of overall lighting but also enhances the ability to control local areas in detail, creating a softer and more balanced visual experience for users.

[0154] As an optional embodiment of the present invention, the magnetic track light further includes a communication device, which is fixedly installed on one side of the magnetic track. The step of acquiring the position information of each track light on the magnetic track includes:

[0155] S041. Control the communication device to send broadcast signals containing time stamps to each track light on the magnetic track in sequence;

[0156] Specifically, in this step, the communication device is fixedly installed on one side of the magnetic track for data communication with the track lights. The 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. The timestamp refers to the timestamp information added by the communication device at the moment the signal is emitted, usually generated by a high-precision clock.

[0157] The purpose of this step is to send a unified reference signal to all track lights as a time base for subsequent position delay calculations, ensuring that each track light responds according to a unified standard and thus avoiding errors caused by inconsistent time starting points. In implementation, the communication device sends a data frame containing the current system timestamp via a conductive rail, bus, or near-field protocol within the track. Upon receiving this frame, each track light immediately prepares to respond, with its response behavior controlled by subsequent steps. This method is characterized by low cost and fast response, does not rely on complex hardware structures, and is suitable for linear lighting environments with limited length and dense distribution, such as magnetic tracks.

[0158] S042. In response to the broadcast signal, control the track light to return a response signal to the communication device, the response signal containing the unique identification information of the track light;

[0159] The response signal is a feedback data packet from the track light after receiving the broadcast signal. It carries the light's own identification information, allowing the communication device to identify which specific light sent back the data. The "unique identification information" can be the device ID, address code, or connection number programmed at the factory.

[0160] The purpose of this step is to establish a correspondence between the "response signal and the track light entity" so that each delay measurement result can clearly point to a specific light fixture, providing a basis for subsequent position matching.

[0161] In practice, once the track light receives a broadcast signal, it will send back a response frame within the minimum delay (or a preset delay window). The frame includes an identification code, a receiving time verification field, etc. The communication device archives the received ID.

[0162] By binding physical response behavior to the lamp ID, the system completes the "latency-identity" pairing, which facilitates personalized processing and recording of location information.

[0163] S043. When the response signal arrives at the communication device, the return time of each response signal is obtained;

[0164] The return time refers to the local timestamp at which the communication device receives the response signal from each track light, serving as the endpoint time for delay calculation. The purpose of this step is to establish the time difference between the moment the broadcast signal is emitted and the moment the response signal is transmitted, in order to deduce the relative distance between the track light and the communication device. The communication device typically has a built-in high-precision timing circuit that records the system's current time immediately upon receiving each response frame and establishes a correspondence with the identifier code contained in that frame. Through this step, the system establishes a unique response time record for each light, making subsequent position estimation based on the time difference possible.

[0165] S044. Determine the position information of each track light relative to the communication device based on the time difference between the return time and the transmission time of the broadcast signal.

[0166] 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 is close to the speed of light; although the delay is small, it can still be used for relative distance determination. If the response calculation delay is ignored, the distance can be estimated by multiplying the time difference by the propagation speed. By statistically analyzing the time differences of all lights, the system can construct a complete track spatial distribution map, achieving seamless position information acquisition.

[0167] This method does not rely on complex vision or radar equipment and can obtain distribution information only through communication delay. It has advantages such as controllable accuracy, simple deployment, and low maintenance cost, and is especially suitable for densely installed and regularly shaped track lighting systems.

[0168] As an optional embodiment of the present invention, adjusting the target lighting control parameters of each track light according to the interval distance includes:

[0169] S061. Based on the location information, obtain the number of range lights within a preset distance range centered on each track light;

[0170] In this step, the "range luminaire quantity" refers to the number of other track lights existing within a certain distance (e.g. ±500mm) around a track light, used to evaluate the local lighting density at the location of the light. The range is a preset value, which can be determined according to the track length, luminaire specifications or illumination coverage radius.

[0171] The purpose of this step is to collect the degree of aggregation of lamps in the local area, thereby providing data support for the calculation of the subsequent density factor. In this way, the system can perceive the crowded or sparse state of the area where each lamp is located. Based on the center position of each lamp, the distance calculation is performed on the positions of all other lamps, and the number of lamps falling within the range interval is counted. This statistical process can be completed in the controller or upper platform, refreshed periodically or triggered. This operation provides a more spatially aware control basis for the entire system, making the lighting adjustment strategy no longer dependent on global averaging, but focusing on the actual working environment of the luminaire.

[0172] S062, obtain a luminaire density factor according to the average value of the range luminaire quantity of each track light;

[0173] The luminaire density factor is an index reflecting the overall lighting density on the track, which is usually positively correlated with the number of neighboring lamps within the range of each lamp. By averaging the range luminaire quantity of all track lights, the system can obtain the concentration degree of lighting in the circuit. The purpose of this step is to generate a standardized reference value, so that subsequent adjustment can normalize the intensity of different luminaire areas, improving the objectivity and consistency of adjustment. The range luminaire quantity 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, the density factor of the lamp may be set to a correction weight >1. This factor is used to guide the dynamic adjustment of the brightness and color temperature strategy in the direction of "strengthening in low-density area and suppressing in high-density area", improving the uniform illumination ability of the entire track light system.

[0174] S063, obtain a spacing factor of each track light according to the average value of the spacing distance between each track light and the adjacent track light;

[0175] The spacing factor is used to reflect the average distance between a certain lamp and its adjacent lamps, which is related to the openness of the lamp in space. The larger the spacing, the wider the lighting coverage range. The purpose of this step is to further evaluate the relative spatial pressure of each track lamp from the geometric arrangement angle, providing another dimensional reference for individual output compensation. The system takes the distance of one or more adjacent lamps on the left and right of each lamp, calculates the average interval value, and then compares 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 high, indicating that the output capacity needs to be improved. This compensation mechanism based on geometric distance can effectively improve the lighting quality of space edge lamps or sparse areas and improve the edge dark angle problem.

[0176] S064, obtaining a spacing mutation factor of each track lamp according to the difference in spacing distance of the adjacent track lamps;

[0177] The spacing mutation factor reflects whether there is a discontinuity or obvious density mutation in the arrangement of track lamps. For example, the distance between two adjacent lamps suddenly jumps from 200mm to 800mm, and this difference can be defined as a mutation. The purpose of this step is to identify areas of structural unevenness in the track so as to achieve visual smoothing of the lighting field through transition adjustment of brightness / color temperature. By calculating the difference 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 brightness pull-up of the transition zone and color temperature adjustment to cold, to alleviate the visual jarring feeling. This technical feature is particularly suitable for commercial environments with irregular decoration and manual deployment of lamps, to improve the uniformity of user perception.

[0178] S065, obtaining a brightness adjustment coefficient and a color temperature adjustment coefficient of each track lamp according to the lamp density factor, the spacing factor and the mutation factor;

[0179] In this step, the “brightness adjustment coefficient” and the “color temperature adjustment coefficient” respectively represent the degree to which the final output brightness / color temperature of the track lamp should be adjusted up or down relative to its initial value. These coefficients are determined by a plurality of factors, and a linear function is not used, but a hierarchical rule, weight allocation or table mapping is used.

[0180] The purpose of this step is to convert the structural features of spatial perception into control parameters to form a personalized adjustment strategy for lamps in different areas.

[0181] For example, but not limited to, if a certain lamp density factor is low (few surrounding lamps), the spacing is large, and the mutation is strong, the lamp should increase the brightness and adjust the color temperature to cold;

[0182] If it is in a high-density area, the spacing is small, and the mutation is smooth, the corresponding brightness and color temperature should be adjusted down to reduce overlap and energy consumption.

[0183] In this way, the lamps at different positions can dynamically adapt to their "roles" in the spatial structure, achieving systematic lighting balance.

[0184] S066、Adjust the target lighting control parameters of each track lamp according to the luminance adjustment coefficient and the color temperature adjustment coefficient.

[0185] This step is the final application stage of the aforementioned control logic. The system scales or offsets the originally calculated target luminance and color temperature of each track lamp according to the adjustment coefficient, outputting specific execution parameters. The purpose is to implement the analysis results into the lighting behavior of each lamp.

[0186] As an optional embodiment of the present application, the luminance adjustment coefficient and the color temperature adjustment coefficient of each track lamp are obtained according to the lamp density factor, the spacing factor, and the mutation factor, comprising:

[0187] S0651、According to the lamp density factor and the spacing factor, obtain the initial illumination load degree of each track lamp in its illumination range, wherein the illumination load degree is positively correlated with the lamp density factor and negatively correlated with the spacing factor;

[0188] The illumination load degree refers to the relative lighting responsibility that the track lamp should bear under the current lamp arrangement structure, that is, the expected contribution of its unit luminous flux to the entire lighting area. The higher the lamp density, the more light sources share the lighting task locally, and the load of this lamp tends to be averaged. The larger the spacing, the more coverage gaps between lamps, and the lighting responsibility of this lamp increases. The purpose of this step is to quantitatively evaluate the importance of each lamp based on local structural information, providing a basic reference for subsequent luminance and color temperature adjustment.

[0189] S0652、When the mutation factor is higher than a preset threshold, adjust the illumination load degree of the corresponding track lamp, wherein the adjusted illumination load degree is positively correlated with the mutation factor;

[0190] As mentioned earlier, the mutation factor reflects whether the spacing between this lamp and the adjacent lamps changes suddenly. When the change exceeds the set threshold, it is considered that there is an arrangement mutation. The purpose of this step is to enhance the sensitivity of luminance adjustment in the spacing mutation area, thereby improving the smoothness of the illumination transition and alleviating the sense of light and dark jumping in the user's field of view.

[0191] After the system determines that the mutation factor of a certain lamp exceeds the standard, it multiplies the initial illumination load degree of the lamp by an amplification weight (e.g., 1.1~1.3 times), so that the lamp obtains higher priority in subsequent luminance compensation. Through this dynamic enhancement mechanism, the system enhances the illumination compensation capability in the structure mutation area, making the visual hierarchy more natural and the lighting continuity stronger.

[0192] S0653、According to the illumination load degree of all track lights, calculate the global illumination load average value;

[0193] The global illumination load average value, which is the arithmetic mean of the illumination load degrees of all luminaires, is used as the reference baseline for subsequent lighting offset. This establishes a reference standard for overall load balancing for the system, making the parameter adjustment target of each luminaire relatively balanced, and avoiding overall over-brightness or over-darkness.

[0194] The illumination load degree 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 makes local adjustment based on a global reference system, taking into account consistency and differences, and improving the intelligence of the lighting system.

[0195] S0654、According to the global illumination load average value and the normalized value of the difference between the illumination load degree of each track light, obtain the lighting balance target offset of each track light;

[0196] The "lighting balance target offset" is a quantitative value that measures how much "positive or negative" adjustment each track light should make based on the original lighting control parameters. This value is determined by the difference between the current load degree of the luminaire and the global average value, and is normalized to ensure that the adjustment range is within a controllable range.

[0197] The purpose is to set personalized adjustment strength for each luminaire, indicating whether it should increase or decrease output to tend towards overall light field energy balance. The normalization method can use linear mapping, piecewise function, etc. This step assigns dimming responsibility to the system and improves the overall system's ability to balance and coordinate.

[0198] S0655、According to the global illumination load average value and the lighting balance target offset of each track light, obtain the brightness adjustment coefficient and color temperature adjustment coefficient of each track light.

[0199] In this step, the control system generates two final control parameters based on the offset:

[0200] The greater the positive brightness adjustment coefficient offset, the higher the brightness coefficient. The color temperature adjustment coefficient: can be positively correlated with the brightness adjustment coefficient or independently configured according to pre-set rules (such as linear increase, cold-warm transition). The purpose of this step is to formally convert structural illumination load information into a parameter source for luminaire control instructions, thereby driving each track light to make consistent lighting behavior. For example, if a luminaire offset is +0.3, its brightness coefficient may be adjusted from 1.0 to 1.15, and the color temperature from 3000K to 3300K to improve the visual penetration of the light in the area. Finally, the controller generates PWM, constant current or dimming voltage control signals according to these two coefficients to achieve precise adjustment of physical lighting output.

[0201] Specifically, the step of controlling each track lamp to illuminate according to the target illumination control parameter further comprises the following steps:

[0202] S6, judging whether the track lamp moves on the magnetic track according to the current signal of the magnetic track;

[0203] Specifically, after controlling each track lamp to illuminate according to the target illumination control parameter, the system further executes a dynamic self-adaptive adjustment process to ensure that the overall illumination effect can still maintain uniformity and scene matching when the position of the track lamp changes. First, in step S6, whether the track lamp moves on the magnetic track is judged according to the current signal of the magnetic track. This process uses the real-time change characteristics of track current for analysis. Through the current sequence obtained by continuous sampling, a dynamic baseline model is established by combining the moving average and standard deviation. Then, the instantaneous current slope and amplitude deviation are compared by double threshold, and when the judgment condition is met in multiple consecutive sampling points, it is determined that the track lamp has a sliding behavior on the track, so as to realize the rapid identification of the track lamp moving event.

[0204] S7, if there is movement, obtaining second position information of each track lamp on the magnetic track after movement;

[0205] Specifically, the second position information refers to the current position coordinates or section number of the lamp after sliding, which is usually represented in the form of the number of the contact point of the lamp and the magnetic track, the coding signal or the calculation result of the response time of the aforementioned broadcast. After detecting the moving event, this step is to accurately determine the current space region or illumination direction of each lamp, and further support the subsequent recalculation of the illumination parameter. The core purpose of this step is to reconstruct the spatial distribution map of the track lamp on the track. Because the sliding of the lamp will break the original lighting configuration relationship, only by obtaining the new position information, the system can reevaluate the illumination contribution and position weight of each lamp to the target region.

[0206] The implementation can be based on the following two strategies: one is that the lamp automatically identifies the current section number through the contact touch point and reports it through communication; the other is that the time mark signal is sent by the master communication device at one end of the track, and the track lamp receives and responds to it, and the relative distance is calculated through the round trip time to realize non-contact positioning. Finally, the master system updates the space mapping relationship table of the lamp and the track according to the response frame and the identification information to form the "second position information" corresponding to each lamp. Thus, the real-time layout of the lamp after moving can be seamlessly perceived and analyzed, providing an accurate basis for dynamic adjustment of the illumination parameter, avoiding the visual mismatch problem that the lamp has been moved but the illumination has not been updated, and ensuring the spatial illumination consistency and user experience continuity.

[0207] S8, updating the target illumination control parameter according to the second position information;

[0208] Specifically, when the lamp is manually slid by the user to different functional areas or above the irradiation object, the system needs to immediately re-evaluate the target illuminance and color temperature preference of the area, and adjust the control parameters of the lamp accordingly. At the same time, the density, spacing, coverage overlap and other factors of the nearby lamps also need to be considered, and the parameters of all lamps are compensated collaboratively. The specific method of updating the parameters can refer to the aforementioned step S06, which will not be repeated here.

[0209] S9, controlling each track lamp to illuminate according to the updated target lighting control parameters.

[0210] This step is the final action of actual lighting output after the lighting control parameters are updated. That is, according to the target brightness and color temperature values of each track lamp calculated in S8, control instructions are sent to each lamp to adjust the driving channel to achieve the required light effect.

[0211] In an embodiment, the step of determining whether the track lamp is moving on the magnetic track according to the current signal of the magnetic track comprises:

[0212] S61, continuously sampling the current signal of the magnetic track according to a preset sampling frequency to obtain a sampling sequence;

[0213] In this step, the sampling frequency refers to the process of obtaining the current value from the power supply line of the magnetic track at fixed time intervals (such as once per millisecond); and the "sampling sequence" refers to an array or time sequence of current values composed of a plurality of consecutive sampling points. The subsequent sliding analysis and dynamic detection provide real-time data basis. The track lamp will cause fluctuations in the track current during sliding, and only by continuously and high-frequency sampling the current can such subtle and rapid changes be captured.

[0214] The implementation is that the current sampling module (such as built-in power supply controller or track master control unit) in the system reads the current value once every fixed time at a set sampling frequency, and temporarily stores the consecutive readings as a sliding window, for example, including the last 64 points.

[0215] Through this step, the system can establish a dynamic "current image" reflecting the current electrical state of the track, providing accurate data support for subsequent calculations, while maintaining the response ability of the system to rapid sliding events.

[0216] S62, calculating a sliding average and a sliding standard deviation according to the sampling sequence and a preset sliding window;

[0217] Specifically, the preset sliding window is a continuous and fixed-length current data subset selected from the sampling sequence, such as the last 64 sampling points, and the window will constantly roll forward during the sampling process, based on which the preset sliding window extracts the basic features of the current magnetic attraction archived current state, facilitating subsequent discrimination; wherein the sliding average value can be understood as the reference baseline value of the current at the current time, and the sliding standard deviation represents the fluctuation intensity or background noise level of the track current.

[0218] The specific acquisition process is as follows: after each new sampling, a certain number of current values are taken, the average value of which is calculated as the average current of the current window; at the same time, the deviation between these current values and the average value is calculated to obtain the fluctuation degree at the current time;

[0219] The acquisition of these two data enables the scheme to dynamically adjust the judgment benchmark according to the real-time running state of the track current, without the need for manual setting of fixed thresholds, and can maintain sensitive and robust response capability even under different power supply conditions or load states.

[0220] S63, difference the current signals of the sampling point at the current time and the sampling point at the last time in the sampling sequence to obtain the instantaneous current slope at the current time;

[0221] Specifically, difference here refers to comparing the numerical difference between the current sampling value and the previous sampling value, representing the change speed of the current, which can also be understood as the growth or reduction amplitude of the current in a short time, to determine whether the current at the current time has changed abruptly, thereby identifying possible track light sliding events. Because the light moves, the process of contacting 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 last sampling value, and the change between the two is calculated. This change reflects the speed of current change, i.e. the slope size. Through this step, the system can sensitively capture the speed mutation characteristics caused by sliding behavior, providing data support for the first layer of rapid response judgment, facilitating efficient triggering of subsequent analysis.

[0222] S64, obtaining an adaptive current slope threshold according to the current sliding standard deviation and a first preset sensitivity;

[0223] Specifically, the first preset sensitivity is an adjustment parameter defined during system manufacturing or setting process, which is used to control the sensitivity of the system to the rate of current change. The purpose of this step is to match the slope judgment standard with the current track noise level to form a judgment threshold that is automatically adjusted according to the actual running situation.

[0224] Using the sliding standard deviation calculated before as the basis for the current noise intensity, multiply it by the sensitivity parameter to obtain a critical value. Only when the current change rate exceeds this critical value, it will be considered as possible sliding behavior. The judgment threshold can be automatically adjusted according to the current electrical fluctuation level of the track, maintaining high sensitivity when the current is stable, and suppressing false positives when the current itself is unstable, thus balancing rapid detection and stability.

[0225] S65, compare the instantaneous current slope and the adaptive current threshold to obtain a first comparison result;

[0226] This step is a one-time rapid preliminary screening, that is, the actual measured current change rate is compared with the slope judgment standard calculated by the system according to the real-time noise level, to preliminarily determine whether the current has an abnormally rapid change, which may mean that a track light is sliding or being inserted.

[0227] Through this step, the system realizes rapid screening of sliding behavior, which helps to filter out normal fluctuation points that are obviously not in the sliding category while maintaining low delay.

[0228] S66, calculate the difference between the sampling point at the current time and the sliding average value to obtain the current current amplitude deviation at the current time;

[0229] Specifically, the current amplitude deviation represents the deviation between the current current value and the average running level considered by the system, which is used to determine whether the current has a large jump in amplitude.

[0230] The purpose of this step is to add a second layer of intensity confirmation judgment to the first layer of slope judgment, that is, to verify whether the current change has sufficient amplitude significance. The specific implementation process is as follows: the system calculates the difference between the sampling value and the current baseline obtained by the sliding average value in the previous step after each sampling. This difference is the amplitude deviation. By introducing this level of judgment, some high-speed but small-amplitude noise interference can be effectively avoided from being mistaken for a sliding event, thereby enhancing the stability of the system's judgment.

[0231] S67, obtain 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;

[0232] The second preset sensitivity is a threshold coefficient dedicated to the amplitude judgment of the system, which 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 misjudgment of slight jitter as actual sliding. The implementation is similar to the previous one, based on the current sliding standard deviation, multiplied by the second sensitivity coefficient, to generate the amplitude judgment threshold at the current time. Setting a higher sensitivity parameter can make the system more conservative in confirming the sliding behavior, and after the first slope judgment is triggered, an additional forced confirmation is added to improve the robustness of the overall system judgment.

[0233] S68, obtaining a second comparison result by comparing the current amplitude deviation and the adaptive current amplitude threshold value;

[0234] This step is the execution link of amplitude judgment, that is, the deviation between the current current value and the average value is compared with the adaptive amplitude threshold value calculated just now to determine whether the amplitude mutation condition is met.

[0235] If the current sampling point current deviation value exceeds the threshold value, it is considered that the point meets the sliding possibility at the amplitude level; otherwise, it is determined that the mutation degree is not reached. Through this step, the system forms an amplitude confirmation mechanism independent of the speed judgment, which can avoid misjudgment caused by short-time high-frequency interference, and also can confirm some potential sliding behavior of slow and large jumps, improving the comprehensive judgment accuracy of the system.

[0236] S69, when the first comparison result and the second comparison result of a preset number of consecutive sampling points in the sampling sequence meet a preset condition, it is determined that the track light moves on the magnetic track.

[0237] This step is the final sliding judgment mechanism, and its core is "continuous satisfaction" and "double conditions coexist": not only the slope and amplitude judgment meet the threshold value standard, but also a plurality of consecutive samplings meet the condition, which aims to prevent single-point spikes or occasional jitter from being misjudged as sliding, and improve the robustness of detection.

[0238] The preset number is a minimum consecutive hit number (such as 3 times) preset in advance, and if a plurality of consecutive sampling points in a period of time meet the condition of slope and amplitude judgment, the system confirms that the track light is moving. Otherwise, the fluctuation is considered as normal fluctuation and ignored.

[0239] Embodiment 2

[0240] The embodiment 2 also provides a smart lighting control system of the magnetic track lamp, the system comprises a plurality of magnetic track lamps, a power supply device and a control device, the power supply device is electrically connected with the magnetic track lamp, and the power supply device is used for supplying power for the magnetic track lamp, the magnetic track lamps are detachably connected between the magnetic tracks, and the control device is used for executing the smart lighting control method of the magnetic track lamp in the embodiment 1.

[0241] The magnetic track lamp in the embodiment adopts a modular detachable magnetic attraction structure, the tracks are connected through magnetic attraction and conductive contacts, the user can quickly adjust the number and position of the lamps according to the actual space layout, without disassembling or replacing the wiring. Compared with the traditional hard-wired or embedded lighting system, the structure significantly reduces the construction and later maintenance cost, and has good expansibility and reconfigurability, and is particularly suitable for spaces such as homes, exhibition halls, offices and the like that need dynamic layout adjustment. The control device in the system integrates the method steps in the first aspect of the application, and has the ability of real-time identification of track lamp movement behavior, dynamic acquisition of position information, and adaptive adjustment of lighting parameters. The control device combines current disturbance feature detection, position sensing, region strategy matching and the like, and can automatically complete the reconfiguration of brightness and color temperature according to the movement of the lamps on the track, realize the automatic response effect of 'lighting adjustment with lamp movement', and improve the intelligent level and environmental adaptability of the lighting system. Without relying on visual recognition, infrared sensing or a complex sensor network, the precise detection of track lamp displacement behavior can be realized only through current signal analysis and communication response mechanism.

[0242] It should be noted that the present application is not limited to the specific configurations and processes described above and shown in the drawings. For the sake of brevity, detailed descriptions of well-known methods are omitted here. In the above embodiments, a number of specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after understanding the spirit of the present application.

[0243] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0244] The present application is described in reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram 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 produce the functions specified in the flowchart and / or block diagram of the flowchart and / or block diagram. Figure 1 one or more flows and / or blocks Figure 1 an apparatus that performs the functions specified in the flowchart and / or block diagram of one or more flows and / or blocks.

[0245] These computer program instructions can also be stored in a computer readable memory that can direct the computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including instruction apparatus, which implements the functions specified in the flowchart and / or block diagram of the flowchart and / or block diagram. Figure 1 one or more flows and / or blocks Figure 1 an apparatus that performs the functions specified in the flowchart and / or block diagram of one or more flows and / or blocks.

[0246] These computer program instructions can also be loaded into a computer or other programmable data processing device, so that a series of operation steps are performed on the computer or other programmable device to produce a computer implemented process, so that the instructions executed on the computer or other programmable device provide a process for implementing the functions specified in the flowchart and / or block diagram of the flowchart and / or block diagram. Figure 1 one or more flows and / or blocks Figure 1 an apparatus that performs the functions specified in the flowchart and / or block diagram of one or more flows and / or blocks.

[0247] It should also be noted that the exemplary embodiments mentioned in the present application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0248] The above is only a specific embodiment of the present application, and those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above described system, module and unit can refer to the corresponding process in the foregoing method embodiment, which will not be described here. It should be understood that the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application.

Claims

1. A smart lighting control method for a magnetic track light, characterized in that, The magnetic track light includes a magnetic track and several independently controllable track lights, wherein the track lights are detachably connected to the magnetic track, and the method includes: In response to a lamp-on command, the actual number of track lights connected to the magnetic track is obtained; Based on the current time, obtain the corresponding initial lighting control parameters, wherein the initial lighting control parameters include brightness parameters and color temperature parameters; The initial lighting control parameters are adjusted according to the number of lights to obtain the target lighting control parameters for each track light; According to the target lighting control parameters, each of the track lights is controlled to illuminate, wherein the track lights can move along the magnetic track. When the actual number of lights 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: Obtain the first position information of each of the track lights on the magnetic track; Based on the location information, the spacing between adjacent track lights is obtained; Based on the aforementioned interval distance, the target lighting control parameters for each track light are adjusted, specifically including: Based on the first location information, obtain the number of range lights within a preset distance range centered on each track light; The lamp density factor is obtained based on the average number of lamps in each track light range. The spacing factor of each track light is obtained based on the average distance between each track light and its adjacent track lights. The spacing abruptness factor of each track light is obtained based on the difference in the spacing distance between adjacent track lights. Based on the lamp density factor, spacing factor, and abrupt change factor, obtain the brightness adjustment coefficient and color temperature adjustment coefficient for each track light; The target lighting control parameters for each track light are adjusted according to the brightness adjustment coefficient and the color temperature adjustment coefficient.

2. The intelligent lighting control method for magnetic track lights according to claim 1, characterized in that, The step of responding to a lighting activation command and obtaining the actual number of track lights connected to the magnetic track includes: In response to a lamp-on command, the track lights connected to the magnetic track are turned on sequentially. During the sequential activation process, the power increment of the magnetic track lights is recorded; The power increment is compared with the preset power threshold to obtain a significant power increment; The actual number of track lights connected to the magnetic track is determined based on the number of occurrences of the significant power increment.

3. The intelligent lighting control method for magnetic track lights according to claim 1, characterized in that, The step of adjusting the initial lighting control parameters according to the number of lights to obtain the target lighting control parameters for each track light includes: Based on the initial lighting control parameters, the target illuminance and target color temperature are obtained; Calculate the total target luminous flux of the magnetic track light based on the target illuminance and target color temperature; The number of reference lamps is obtained based on the total target luminous flux and the rated brightness range of the track lights; Based on the difference between the reference number of lamps and the actual number of lamps, a luminance factor and a color temperature factor are obtained, wherein the luminance factor is positively correlated with the difference, and the color temperature factor is positively correlated with the difference. Based on the brightness factor and color temperature factor, the initial lighting control parameters of each track light are adjusted to obtain the target lighting control parameters.

4. The intelligent lighting control method for magnetic track lights according to claim 1, characterized in that, The magnetic track light also includes a communication device, which is fixedly installed on one side of the magnetic track. The step of acquiring the first position information of each track light on the magnetic track includes: The communication device is controlled to sequentially send broadcast signals containing time stamps to each track light on the magnetic track; In response to the broadcast signal, the track light is controlled to return a response signal to the communication device, the response signal containing the unique identification information of the track light; When the response signal arrives at the communication device, the return time of each response signal is obtained; The first position information of each track light relative to the communication device is determined based on the time difference between the return time and the transmission time of the broadcast signal.

5. The intelligent lighting control method for magnetic track lights according to claim 1, characterized in that, The step of obtaining the brightness adjustment coefficient and color temperature adjustment coefficient of each track light based on the lamp density factor, spacing factor, and abrupt change factor includes: Based on the luminaire density factor and the spacing factor, the initial illuminance load of each track light within its illumination range is obtained, wherein the illuminance load is positively correlated with the luminaire density factor and negatively correlated with the spacing factor; When the mutation factor is higher than a preset threshold, the illumination load of the corresponding track light is adjusted, wherein the adjusted illumination load is positively correlated with the mutation factor; Calculate the global average illumination load based on the illumination load levels of all track lights; The lighting balance target offset for each track light is obtained based on the normalized value of the difference between the global average illumination load and the illumination load level of each track light. Based on the global illumination load average value and the illumination balance target offset of each track light, obtain the brightness adjustment coefficient and color temperature adjustment coefficient of each track light.

6. The intelligent lighting control method for magnetic track lights according to claim 5, characterized in that, After controlling each of the track lights to illuminate according to the target lighting control parameters, the method further includes: Based on the current signal of the magnetic track, determine whether the track light is moving on the magnetic track; If there is movement, then obtain the second position information of each track light on the magnetic track after the movement; The target lighting control parameters are updated based on the second location information; The track lights are controlled to illuminate according to the updated target lighting control parameters.

7. The intelligent lighting control method for magnetic track lights according to claim 6, characterized in that, The step of determining whether the track light is moving on the magnetic track based on the current signal of the magnetic track includes: The current signal of the magnetic track is continuously sampled according to a preset sampling frequency to obtain a sampling sequence; Calculate the moving average and moving standard deviation based on the sampling sequence and the preset sliding window; The current signals at the current sampling point and the previous sampling point in the sampling sequence are differentially analyzed to obtain the instantaneous current slope at the current moment. The adaptive current slope threshold is obtained based on the sliding standard deviation and the first preset sensitivity. The instantaneous current slope and the adaptive current threshold are compared to obtain the first comparison result; Calculate the difference between the current sampling point and the moving average value to obtain the current amplitude deviation at the current moment; An adaptive current amplitude threshold is obtained based on the sliding standard deviation and the second preset sensitivity, wherein the second preset sensitivity is greater than the first preset sensitivity. The second comparison result is obtained by comparing the current amplitude deviation with the adaptive current amplitude threshold. When the first comparison result and the second comparison result of a preset number of consecutive sampling points in the sampling sequence meet the preset conditions, it is determined that the track light moves on the magnetic track.

8. An intelligent lighting control system for a magnetic track light, characterized in that, The system includes a plurality of 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 supply power to 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 for magnetic track lights according to any one of claims 1-7.

Citation Information

Patent Citations

  • Track lamp control system and track lamp

    CN111970789A

  • LED illumination output control method and system

    CN116723600A

  • Intelligent debugging method and system for adaptive scene of combined atmosphere lamp

    CN117241445A