Building light point light source fault detection method, device, equipment and storage medium

By dividing the building lighting point light sources into control loops and using a multi-level management module to detect the power-on current, the problem of high cost of fault detection of large-scale building lighting point light sources is solved, and fast, convenient and accurate fault detection is achieved.

CN115542190BActive Publication Date: 2025-09-09HAOERSAI LIGHTING TECH GRP +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211173093.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-26
Publication Date
2025-09-09
Estimated Expiration
2042-09-26

AI Technical Summary

Technical Problem

Existing technologies are costly and inefficient in large-scale building lighting point light source fault detection, making it difficult to achieve fast and convenient fault detection.

Method used

The building lighting point light sources are divided into multiple control loops and hierarchically managed using a multi-level management module. The faulty loop is identified by detecting the power-on current step by step, and the current threshold of each control loop is calculated. The attenuation rate and data fitting method are used to improve detection accuracy.

Benefits of technology

It achieves fast and convenient fault detection of large-scale building lighting point light sources, reduces detection costs, eliminates the need to set up an RDM chip for each point light source, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115542190B_ABST
    Figure CN115542190B_ABST
Patent Text Reader

Abstract

A method, device, equipment and storage medium for detecting faults in point light sources of building lights, the method comprising: dividing the point light sources of building lights into multiple control loops; calculating the current threshold of the control loop based on the attenuation rate of each control loop; performing hierarchical management on the control loops, with each management module at each level including multiple sub-management modules; and sequentially executing the following steps for each sub-management module: S301, controlling the control loop of each sub-management module at the current level to be powered on and detecting the power-on current, and judging whether the sub-management module is normal based on the power-on current and the current threshold; S302, for all abnormal sub-management modules, if the sub-management module is not at the last level, treating all sub-management modules at the next next level of the sub-management module as each sub-management module at the current level, and returning to S301; if the sub-management module is at the last level, controlling each control loop of the sub-management module to be powered on and detecting the power-on current, and judging whether the control loop is normal based on the power-on current and the current threshold, thereby finding the faulty loop.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of point light source fault detection, and in particular to a method, device, equipment and storage medium for detecting point light source faults in building lighting. Background Art

[0002] In building lighting projects, the number of point light sources can reach tens of thousands or even hundreds of thousands. Firstly, achieving completely consistent quality across a large number of point light sources is difficult. Furthermore, due to the large number of connecting lines, failures of some of these light sources or connecting lines are inevitable. Existing technology typically embeds an RDM chip in each point light source. In the event of a failure, this chip can detect the current point light source status and determine whether the light point is damaged. However, for large-scale lighting scenarios such as buildings and structures, modification costs are enormous, and light point deployment efficiency is low. Summary of the Invention

[0003] In view of the above analysis, an embodiment of the present invention aims to provide a method for detecting point light source faults in building lights, so as to solve the problem of high cost in existing point light source fault detection in building lights.

[0004] In one aspect, an embodiment of the present invention provides a method for detecting a point light source fault in a building, comprising the following steps:

[0005] Divide the building lighting point light sources into multiple control loops;

[0006] Calculate the current threshold of each control loop according to the attenuation rate of each control loop;

[0007] A multi-level management module is used to manage the control loops in a hierarchical manner. Each level of management module includes multiple sub-management modules. Except for the last level, each sub-management module manages the corresponding control loop through its lower-level sub-management module. Each sub-management module in the last level directly controls multiple control loops.

[0008] From the first level to the last level, the power-on current detection is performed on each level of the sub-management module to find the fault circuit. The initial value of the current level is the first level. Specifically, the following steps are performed:

[0009] S301: Power on the control circuit corresponding to each sub-management module at the current level and detect the current, and determine whether the control circuit corresponding to each sub-management module is normal based on the current of each sub-management module at the current level and the current threshold of the control circuit corresponding to each sub-management module;

[0010] S302: For all current-level sub-management modules whose control loops are abnormal, if the current-level sub-management module does not belong to the last level, all sub-management modules of the current-level sub-management module are used as each sub-management module of the current level, and the process returns to step S301;

[0011] If the current-level sub-management module is the last-level management module, each control circuit of the current-level sub-management module is controlled to be powered on and the power-on current is detected in turn. Based on the power-on current of the current control circuit and the current threshold of the current control circuit, it is determined whether the point light source on the current control circuit is normal and the faulty circuit is found.

[0012] Based on the further improvement of the above technical solution, the current threshold of each control loop is calculated, including:

[0013] Obtain the collected current value of each control loop when it is normal, and calculate the attenuation rate of each control loop based on the collected current value and the rated current value;

[0014] Cluster the decay rates of all control loops to obtain the decay rate type of each control loop;

[0015] The current threshold for each control loop is calculated based on the decay rate type of each control loop.

[0016] Further,

[0017] The current threshold of each control loop is calculated according to the formula: current threshold = the center point value of the cluster where the attenuation rate of the control loop is located * the rated current of the control loop.

[0018] Furthermore, the current threshold of each control loop is calculated, including:

[0019] Obtain the historical current value and corresponding lighting duration of each control loop when it is normal, and calculate the corresponding attenuation rate of each control loop during the lighting duration based on the collected current value and the rated current value;

[0020] Perform data fitting on the lighting duration and corresponding decay rate of each control loop, and predict the current decay rate of each control loop based on the fitting equation;

[0021] The current threshold of each control loop is calculated according to the current decay rate of each control loop.

[0022] Furthermore, judging whether the control loop corresponding to each sub-management module is normal according to the power-on current of each sub-management module at the current level and the current threshold of the control loop corresponding to each sub-management module includes:

[0023] Calculate the current threshold of each sub-management module according to the current threshold of each control loop corresponding to each sub-management module;

[0024] For each sub-management module, whether the power-on current of the sub-management module is within the normal range is determined based on the current threshold of the sub-management module. If so, the control circuits corresponding to the sub-management module are normal; otherwise, there is an abnormal control circuit in the control circuits corresponding to the sub-management module.

[0025] Furthermore, for the current sub-management module, the current thresholds of all corresponding control loops are added together to serve as the current threshold corresponding to the current sub-management module.

[0026] Furthermore, the least squares method is used to perform data fitting on the lighting duration of each control loop and the corresponding decay rate.

[0027] On the other hand, an embodiment of the present invention provides a device for detecting a point light source fault in a building, including the following modules:

[0028] The control loop division module is used to divide the building lighting point light source into multiple control loops;

[0029] A current threshold calculation module is used to calculate the current threshold of each control loop;

[0030] A control loop fault detection module is used to manage control loops in a hierarchical manner using a multi-level management module. Each level of management module includes multiple sub-management modules. Except for the last level, each sub-management module manages the corresponding control loop through its lower-level sub-management modules. Each sub-management module in the last level directly controls multiple control loops.

[0031] Perform the following steps on each sub-management module from the first level to the last level to find the faulty circuit; the initial value of the current level is the first level:

[0032] S301: Power on the control circuit corresponding to each sub-management module at the current level and detect the current, and determine whether the control circuit corresponding to each sub-management module is normal based on the current of each sub-management module at the current level and the current threshold of the control circuit corresponding to each sub-management module;

[0033] S302: For all current-level sub-management modules whose control loops are abnormal, if the current-level sub-management module does not belong to the last level, all sub-management modules of the current-level sub-management module are used as each sub-management module of the current level, and the process returns to step S301;

[0034] If the current-level sub-management module is the last-level management module, each control circuit of the current-level sub-management module is controlled to be powered on and the power-on current is detected in turn. Based on the power-on current of the current control circuit and the current threshold of the current control circuit, it is determined whether the point light source on the current control circuit is normal and the faulty circuit is found.

[0035] On the other hand, an embodiment of the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the aforementioned method for detecting point light source faults in building lighting are implemented.

[0036] On the other hand, an embodiment of the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the aforementioned method for detecting point light source faults in building lighting are implemented.

[0037] Compared with the prior art, the present invention manages the point light sources of the building at multiple levels and gradually performs current detection in the form of modules, which can quickly perform modular detection on the point light sources of the building lamp tubes. If the power-on current of the management module is normal, it indicates that the control circuits corresponding to the module are normal, and all circuits under the module are no longer detected. If the power-on current of the management module is abnormal, it indicates that there are abnormal circuits under the module. At this time, the subordinate sub-management modules are further detected until the faulty control circuit is found, so that there is no need to perform separate detection on all the control circuits of the building. For large-scale building lighting scenes, faulty control circuits can be detected quickly and conveniently. The method is simple and easy to implement, and there is no need to set an RDM chip for each point light source, which greatly saves costs.

[0038] In the present invention, the above-mentioned technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of the present invention will be described in the following description, and some advantages will become apparent from the description or be learned through practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like parts throughout the drawings.

[0040] Figure 1 This is a flow chart of a method for detecting a point light source failure in a building according to an embodiment of the present invention;

[0041] Figure 2 This is a block diagram of a building lighting point light source fault detection system according to an embodiment of the present invention;

[0042] Figure 3 This is a flow chart of calculating the current threshold using a clustering method according to an embodiment of the present invention;

[0043] Figure 4 This is a flow chart of calculating the current threshold using a data fitting method according to an embodiment of the present invention;

[0044] Figure 5 Flowchart of a clustering algorithm according to an embodiment of the present invention;

[0045] Figure 6 Schematic diagram of a multi-level management module according to an embodiment of the present invention.

[0046] Reference numerals:

[0047] 1-first-level sub-management module; 2-second-level sub-management module, 3-third-level sub-management module. DETAILED DESCRIPTION

[0048] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, and are not used to limit the scope of the present invention.

[0049] In building lighting projects, achieving completely consistent quality across a large number of point light sources is difficult. Furthermore, due to the numerous connecting lines, failures are inevitable. Existing technology typically embeds an RDM chip in each point light source. In the event of a failure, this chip can detect the current point light source status and determine whether the light is damaged. However, for large-scale lighting scenarios such as buildings, retrofitting is prohibitively expensive, and light point deployment is inefficient.

[0050] Method Example

[0051] In order to detect the fault information of the building light point source efficiently, conveniently and accurately, a specific embodiment of the present invention discloses a method for detecting the fault of the building light point source, such as Figure 1 As shown, the method includes the following steps:

[0052] S1. Divide the building lighting point light source into multiple control loops;

[0053] The building lighting point light source includes several control circuits.

[0054] S2. Calculate the current threshold of each control loop according to the attenuation rate of each control loop;

[0055] S3. Use a multi-level management module to manage the control loops in a hierarchical manner. Each level of management module includes multiple sub-management modules. Except for the last level, each sub-management module manages the corresponding control loop through its lower-level sub-management module. Each sub-management module in the last level directly controls multiple control loops.

[0056] In order from the first level to the last level, the sub-management modules of each level specifically include finding the fault circuit; wherein, the current level is initially the first level, specifically including:

[0057] S301: Power on the control circuit corresponding to each sub-management module at the current level and detect the current, and determine whether the control circuit corresponding to each sub-management module is normal based on the current of each sub-management module at the current level and the current threshold of the control circuit corresponding to each sub-management module;

[0058] S302: For all current-level sub-management modules whose control loops are abnormal, if the current-level sub-management module does not belong to the last level, all sub-management modules of the current-level sub-management module are used as each sub-management module of the current level, and the process returns to step S301;

[0059] If the current-level sub-management module is the last-level management module, each control circuit of the current-level sub-management module is controlled to be powered on and the power-on current is detected in turn. Based on the power-on current of the current control circuit and the current threshold of the current control circuit, it is determined whether the point light source on the current control circuit is normal and the faulty circuit is found.

[0060] By carrying out multi-level management of building point light sources and gradually performing current detection in the form of modules, modular detection of building point light sources can be quickly performed. If the power-on current of the management module is normal, it indicates that the control circuits corresponding to the module are normal, and all circuits under the module will no longer be detected. If the power-on current of the management module is abnormal, it indicates that there are abnormal circuits under the module. At this time, further detection is carried out on the subordinate sub-management modules until the faulty control circuit is found, so that there is no need to conduct separate detection of all control circuits of the building. For large-scale building lighting scenes, faulty control circuits can be detected quickly and conveniently. The method is simple and easy to implement, and there is no need to set up an RDM chip for each point light source, which greatly saves costs.

[0061] During implementation, several point light sources are connected in parallel, and the control lines of each point light source are connected in series to form a control loop. For example, 100 point light sources are connected in parallel, and their control lines are connected in series to form a control loop.

[0062] Specifically, such as Figure 3 As shown, the current threshold of each control loop is calculated in step S2, including:

[0063] S201, obtaining a collected current value of each control loop when it is normal, and calculating an attenuation rate of each control loop based on the collected current value and the rated current value;

[0064] As time goes by, the resistance of the lamp increases. Therefore, the current flowing under a constant voltage will gradually decrease, causing the current value during normal operation to gradually decrease. For example, the current of a lamp that is often on will decay more rapidly, while the current of a lamp that is not often on will decay more slowly. If the fixed rated current of the lamp point is simply used as a reference for determining whether a fault has occurred during fault detection, it will inevitably be inconsistent with the actual situation, resulting in misjudgment and inaccurate fault detection. Therefore, it is necessary to determine the corresponding current threshold based on the attenuation of the lamp point. For the building lighting of the present invention, since the control loop is controlled, the position and lighting time of each control loop are different, so it is necessary to calculate the attenuation rate corresponding to each control loop to calculate its corresponding current threshold.

[0065] Specifically, the attenuation rate of each control loop is calculated according to the formula: attenuation rate = collected detection value / rated current value.

[0066] During implementation, a normally functioning control circuit can be self-tested during idle time, the current value collected during the self-test can be recorded, and its attenuation rate can be calculated. This allows for the acquisition of self-test attenuation rate data for all control circuits within the building's lighting system.

[0067] S202, clustering the attenuation rates of all control loops to obtain the attenuation rate type of each control loop;

[0068] During implementation, the number of clusters is first determined. For example, the number of clusters is determined to be 3, corresponding to slight attenuation, general attenuation, and severe attenuation. When clustering is performed for the first time based on self-test data, technicians can set an initial center value of the attenuation rate for each class based on experience. Starting from the second clustering based on self-test data, each time the clustering algorithm is executed to calculate the type of each control loop, the initial center value of each class is the center value of the three classes obtained after the last clustering. Figure 5 As shown, the clustering algorithm includes steps S2021 to S2023.

[0069] S2021. For all control loops of the building lights, classify each control loop into the closest cluster type according to the distance between the attenuation rate of each control loop and the center value of the cluster.

[0070] S2022. Calculate the mean of each cluster based on the data contained in each cluster, and use the mean as the new center value of the cluster.

[0071] S2023. If the difference between the new center value of each cluster and the center value before the update is less than the threshold, or the number of iterations is reached, the iteration ends, otherwise returns to step S2021.

[0072] S203 : Calculate the current threshold of each control loop based on the attenuation rate type of each control loop.

[0073] When fault detection is performed on the lamp tubes of the entire building, the latest attenuation rate type of each control loop is obtained according to step S202, and the current threshold of each control loop is calculated.

[0074] Specifically, the current threshold of each control loop is calculated according to the formula: current threshold = the center point value of the cluster where the attenuation rate of the control loop is located * the rated current of the control loop.

[0075] Because the control loop's attenuation rate can change dynamically, regular or irregular self-tests should be performed accordingly. Based on the self-test data, the clustering process from S2021 to S2023 is executed to determine the most recent control loop attenuation rate type. By calculating the current threshold for each control loop based on the actual attenuation condition of the control loop, the baseline value used to determine whether a control loop is faulty is more accurate, thereby improving the accuracy of lamp fault determination.

[0076] When implementing, if Figure 4 As shown, in step S2, the current threshold of each control loop is calculated, and the following steps can also be used:

[0077] S211, obtaining the historical collected current value and the corresponding lighting duration of each control loop when it is normal, and calculating the corresponding attenuation rate of each control loop during the lighting duration based on the collected current value and the rated current value;

[0078] Specifically, the implementation process of this step is the same as step S201, except that multiple self-test data for each control circuit is obtained. For example, M self-tests are performed to obtain the current value of the control circuit and the corresponding lighting duration during the M self-tests. The decay rate of the control circuit is calculated based on the detected current value of the control circuit and the control rated current value, thereby obtaining the decay rate corresponding to the lighting duration of the control circuit.

[0079] It should be noted that the lighting duration refers to the total lighting duration of the control circuit, not the duration of a single lighting.

[0080] S212, performing data fitting on the lighting duration of each control loop and the corresponding decay rate, and predicting the current decay rate of each control loop according to the fitting equation;

[0081] During implementation, for a certain control loop, a linear or nonlinear fitting formula can be used to fit the data of the attenuation rate of different lighting time lengths, and the attenuation value of the control loop at the current moment is calculated according to the fitting formula, that is, based on the lighting time of the control loop at the current moment, the attenuation rate of the control loop at the current moment is calculated.

[0082] Specifically, the least square method may be used to perform data fitting on the lighting duration of each control loop and the corresponding decay rate.

[0083] S213 . Calculate the current threshold of each control loop according to the current attenuation rate of each control loop.

[0084] Specifically, the current threshold of the control loop is calculated according to the formula: current threshold = current attenuation rate of the control loop * rated current of the control loop.

[0085] In a specific embodiment, when the amount of initial self-test data is small, the clustering algorithm of steps S201 to S203 can be used to calculate the current threshold of each control loop based on its attenuation. The attenuation rate of all control loops included in the cluster is updated with the center value of each cluster. This reduces the amount of calculation and allows for faster current threshold calculation. When the amount of self-test data is large, that is, when the amount of self-test data for each control loop increases, the data fitting process of steps S211 to S223 can be used to predict the attenuation rate at the current moment based on the historical attenuation of each control loop, and then calculate the corresponding current threshold. This method can more accurately calculate the attenuation rate of each control loop, obtain a more accurate current threshold, and further improve the accuracy of fault judgment. During the building lighting fault detection process, the calculation method can be dynamically adjusted based on the self-test data to achieve flexible, fast, and accurate calculation of the current threshold of each control loop.

[0086] Specifically, a multi-level management module is used to perform hierarchical management on the control circuit of the building lights.

[0087] For example, if there are 5000 control loops for building lighting, and each 1000 control loops corresponds to a first-level sub-management module, there are a total of 5 first-level sub-management modules. Each first-level sub-management module is used to control the power on and off of the corresponding 1000 control loops. The first-level sub-management module is as follows: Figure 6 As shown in 1; in each first-level sub-management module, every 100 control loops correspond to a second-level sub-management module, and each first-level sub-management module corresponds to 10 second-level sub-management modules for managing the power on and off of the corresponding 100 control loops. The second-level sub-management modules are as follows: Figure 6 As shown in 2; for each secondary sub-management module, every 10 control loops correspond to a third-level sub-management module, and each secondary sub-management module corresponds to 10 third-level sub-management modules for managing the power on and off of the corresponding 10 control loops. The third-level sub-management modules are as follows: Figure 6 As shown in 3. The third-level sub-management module is the last-level sub-management module, which can directly control the power on and off of the corresponding control circuit.

[0088] During implementation, the on-off control is carried out in sequence from the first level to the last level to detect whether the control loop corresponding to the management module has a fault. The specific implementation steps are as follows, where the initial value of the current level is the first level:

[0089] S301: Power on the control circuit corresponding to each sub-management module at the current level and detect the current, and determine whether the control circuit corresponding to each sub-management module is normal based on the current of each sub-management module at the current level and the current threshold of the control circuit corresponding to each sub-management module;

[0090] For example, when the current level is the first level, the control circuit corresponding to each first-level sub-management module is controlled to be powered on in turn, and the power-on current is detected. During implementation, the power-on current is obtained by detecting the current value at the power outlet.

[0091] Whether the control loop corresponding to the current sub-management module is normal is determined according to the power-on current of the current first-level sub-management module and the current threshold of the control loop corresponding to the current first-level sub-management module.

[0092] The control loop corresponding to each primary sub-management module is judged in turn to see whether it is normal. For normal sub-management modules, no further testing is performed, thereby saving testing time and improving testing efficiency.

[0093] Specifically, judging whether the control loop corresponding to each sub-management module is normal according to the power-on current of each sub-management module at the current level and the current threshold of the control loop corresponding to each sub-management module includes:

[0094] Calculate the current threshold of each sub-management module according to the current threshold of each control loop corresponding to each sub-management module;

[0095] Specifically, the current thresholds of the control loops corresponding to each sub-management module are summed up as the current threshold corresponding to the sub-management module.

[0096] For each sub-management module, whether the power-on current of the sub-management module is within the normal range is determined based on the current threshold of the sub-management module. If so, the control circuits corresponding to the sub-management module are normal; otherwise, there is an abnormal control circuit in the control circuits corresponding to the sub-management module.

[0097] During normal current measurement, current values ​​can fluctuate due to line losses or other factors. Therefore, a closed range is defined based on the current threshold to determine module health. For example, the range can be set to a 3% range above or below the module's current threshold. If the sub-management module's current is within this range, the control circuits corresponding to that sub-management module are considered normal. If the sub-management module's current is not within this range, the control circuits corresponding to that sub-management module are considered abnormal.

[0098] S302: For all current-level sub-management modules whose control loops are abnormal, if the current-level sub-management module does not belong to the last level, all sub-management modules of the current-level sub-management module are used as each sub-management module of the current level, and the process returns to step S301;

[0099] For example, if there is an abnormal control loop in the control loop corresponding to the second first-level sub-management module, then since the sub-management module also has lower-level sub-management modules and is not the last-level sub-management anchor block, all the third-level sub-management modules under the second first-level sub-management module are taken as each sub-management module of the current level, and the process returns to step S301 to determine whether the third-level sub-management modules are normal.

[0100] If the sub-management module of the current level is the last-level management module, each control circuit of the current level management module is controlled to be powered on and the power-on current is detected in turn. Based on the power-on current of the current control circuit and the current threshold of the current control circuit, it is determined whether the point light source on the current control circuit is normal and the faulty circuit is found.

[0101] For example, if there is an abnormality in the control loop corresponding to the first third-level sub-management module, since it is the last-level sub-management module, it can directly control the power on and off of the corresponding control loop. At this time, each control loop of the first third-level sub-management module is controlled to be powered on in turn and the power-on current is detected. According to the power-on current of the current control loop and the current threshold of the current control loop, it is judged whether the point light source on the current control loop is normal, thereby finding the faulty loop.

[0102] Device embodiment

[0103] A specific implementation of this application discloses a device for detecting a point light source fault in a building. Figure 2 Shown, including:

[0104] The control loop division module is used to divide the building lighting point light source into multiple control loops;

[0105] A current threshold calculation module, used to calculate the current threshold of each control loop according to the attenuation rate of each control loop;

[0106] A control loop fault detection module is used to manage control loops in a hierarchical manner using a multi-level management module. Each level of management module includes multiple sub-management modules. Except for the last level, each sub-management module manages the corresponding control loop through its lower-level sub-management modules. Each sub-management module in the last level directly controls multiple control loops.

[0107] Perform the following steps on each sub-management module from the first level to the last level to find the faulty circuit; the initial value of the current level is the first level:

[0108] S301: Power on the control circuit corresponding to each sub-management module at the current level and detect the current, and determine whether the control circuit corresponding to each sub-management module is normal based on the current of each sub-management module at the current level and the current threshold of the control circuit corresponding to each sub-management module;

[0109] S302: For all current-level sub-management modules whose control loops are abnormal, if the current-level sub-management module does not belong to the last level, all sub-management modules of the current-level sub-management module are used as each sub-management module of the current level, and the process returns to step S301;

[0110] If the current-level sub-management module is the last-level management module, each control circuit of the current-level sub-management module is controlled to be powered on and the power-on current is detected in turn. Based on the power-on current of the current control circuit and the current threshold of the current control circuit, it is determined whether the point light source on the current control circuit is normal and the faulty circuit is found.

[0111] The above method embodiments and device embodiments are based on the same principle, and their related aspects can be mutually referenced and can achieve the same technical effects. The specific implementation process can be found in the method embodiments and will not be repeated here.

[0112] Electronic device embodiment

[0113] A specific implementation of the present application discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the method for detecting point light source faults in a building light in a method embodiment are implemented.

[0114] Readable storage medium embodiment

[0115] A specific implementation of the present application discloses a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method for detecting point light source failures of building lights in the method embodiment are implemented.

[0116] Those skilled in the art will appreciate that all or part of the process steps of the above-described embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as a magnetic disk, an optical disk, a read-only memory, or a random access memory.

[0117] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed by the present invention should be covered by the scope of protection of the present invention.

Claims

1. A method for detecting point light source faults in a building, characterized in that: The following steps are involved: Divide the building lighting point light sources into multiple control loops; Calculate the current threshold of each control loop according to the attenuation rate of each control loop; A multi-level management module is used to manage the control loops in a hierarchical manner. Each level of management module includes multiple sub-management modules. Except for the last level, each sub-management module manages the corresponding control loop through its lower-level sub-management module. Each sub-management module in the last level directly controls multiple control loops. From the first level to the last level, the power-on current detection is performed on each level of the sub-management module to find the fault circuit. The initial value of the current level is the first level. Specifically, the following steps are performed: S301: Power on the control circuit corresponding to each sub-management module at the current level and detect the current, and determine whether the control circuit corresponding to each sub-management module is normal based on the current of each sub-management module at the current level and the current threshold of the control circuit corresponding to each sub-management module; S302: For all current-level sub-management modules whose control loops are abnormal, if the current-level sub-management module does not belong to the last level, all sub-management modules of the current-level sub-management module are used as each sub-management module of the current level, and the process returns to step S301; If the current-level sub-management module is the last-level management module, each control circuit of the current-level sub-management module is controlled to be powered on and the power-on current is detected in turn. Based on the power-on current of the current control circuit and the current threshold of the current control circuit, it is determined whether the point light source on the current control circuit is normal and the faulty circuit is found.

2. The method for detecting a point light source failure in a building according to claim 1, wherein: Calculate the current threshold for each control loop, including: Obtain the collected current value of each control loop when it is normal, and calculate the attenuation rate of each control loop based on the collected current value and the rated current value; Cluster the decay rates of all control loops to obtain the decay rate type of each control loop; The current threshold for each control loop is calculated based on the decay rate type of each control loop.

3. The method for detecting a point light source failure in a building according to claim 2, wherein: The current threshold of each control loop is calculated according to the formula: current threshold = the center point value of the cluster where the attenuation rate of the control loop is located * the rated current of the control loop.

4. The method for detecting point light source failure of a building light according to claim 1, wherein: Calculate the current threshold for each control loop, including: Obtain the historical current value and corresponding lighting duration of each control loop when it is normal, and calculate the corresponding attenuation rate of each control loop during the lighting duration based on the collected current value and the rated current value; Perform data fitting on the lighting duration and corresponding decay rate of each control loop, and predict the current decay rate of each control loop based on the fitting equation; The current threshold of each control loop is calculated according to the current decay rate of each control loop.

5. The method for detecting a point light source failure in a building according to claim 1, wherein: Judging whether the control circuit corresponding to each sub-management module is normal according to the power-on current of each sub-management module at the current level and the current threshold of the control circuit corresponding to each sub-management module includes: Calculate the current threshold of each sub-management module according to the current threshold of each control loop corresponding to each sub-management module; For each sub-management module, whether the power-on current of the sub-management module is within the normal range is determined based on the current threshold of the sub-management module. If so, the control circuits corresponding to the sub-management module are normal; otherwise, there is an abnormal control circuit in the control circuits corresponding to the sub-management module.

6. The method for detecting point light source failure of a building light according to claim 5, characterized in that: For the current sub-management module, the current thresholds of all corresponding control loops are added together to serve as the current threshold corresponding to the current sub-management module.

7. The method for detecting point light source failure of a building light according to claim 4, characterized in that: The least squares method is used to fit the lighting duration of each control loop and the corresponding decay rate.

8. A device for detecting point light source faults in a building, characterized in that: Includes the following modules: The control loop division module is used to divide the building lighting point light source into multiple control loops; A current threshold calculation module is used to calculate the current threshold of each control loop; A control loop fault detection module is used to manage control loops in a hierarchical manner using a multi-level management module. Each level of management module includes multiple sub-management modules. Except for the last level, each sub-management module manages the corresponding control loop through its lower-level sub-management modules. Each sub-management module in the last level directly controls multiple control loops. Perform the following steps on each sub-management module from the first level to the last level to find the faulty circuit; the initial value of the current level is the first level: S301: Power on the control circuit corresponding to each sub-management module at the current level and detect the current, and determine whether the control circuit corresponding to each sub-management module is normal based on the current of each sub-management module at the current level and the current threshold of the control circuit corresponding to each sub-management module; S302: For all current-level sub-management modules whose control loops are abnormal, if the current-level sub-management module does not belong to the last level, all sub-management modules of the current-level sub-management module are used as each sub-management module of the current level, and the process returns to step S301; If the current-level sub-management module is the last-level management module, each control circuit of the current-level sub-management module is controlled to be powered on and the power-on current is detected in turn. Based on the power-on current of the current control circuit and the current threshold of the current control circuit, it is determined whether the point light source on the current control circuit is normal and the faulty circuit is found.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for detecting point light source failure of a building light as described in any one of claims 1 to 7 are implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for detecting point light source failure of a building light as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for detecting state of light emitting diode (LED) display screen

    CN102708772A

  • Circuit detection method and device, electronic device and computer readable storage medium

    CN109188241A