Illumination system fault detection method and system, electronic equipment and storage medium

By introducing lighting actuators into the intelligent lighting system to detect current and voltage values ​​in real time and combining them with standard ranges for fault analysis, accurate fault type identification and remote diagnosis are achieved, solving the problem of insufficient automation in fault detection in existing systems and improving the system's intelligence and reliability.

CN121656897APending Publication Date: 2026-03-13ZHEJIANG FANLIAN INTELLIGENT CONTROL INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-18
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing intelligent lighting systems lack automation in fault detection, cannot distinguish between various fault types, rely on manual on-site troubleshooting, have weak communication fault tolerance, resulting in long fault recovery cycles, high labor costs, and affecting system availability and intelligence level.

Method used

By introducing lighting actuators into the lighting system to detect current and voltage values ​​in real time, and combining standard current and voltage ranges for fault analysis, and utilizing wired and wireless dual communication methods for redundancy, fault information can be remotely uploaded and displayed, supporting remote fault diagnosis.

Benefits of technology

It enables accurate identification of fault types, reduces the difficulty of on-site troubleshooting and manpower input, shortens fault recovery time, improves the intelligence level and reliability of the system, and ensures the stability and reliability of the communication link.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121656897A_ABST
    Figure CN121656897A_ABST
Patent Text Reader

Abstract

The invention provides an illumination system fault detection method and system, electronic equipment and a storage medium, and relates to the technical field of automatic control. Comprising the following steps: an illumination actuator controls operation of target illumination equipment according to an equipment control instruction issued by an illumination controller, detects a current value and a voltage value of a power supply channel corresponding to the target illumination equipment in real time, and sends the current value and the voltage value to the illumination controller; the lighting controller determines fault information of a loop where the target lighting equipment is located according to the current value and the voltage value of the power supply channel corresponding to the target lighting equipment and the standard current range and the standard voltage range of the target lighting equipment; and the lighting controller uploads the fault information of the loop where the target lighting equipment is located to the upper computer for recording and displaying. According to the scheme, the fault type can be specifically judged, and the accuracy of fault analysis is improved. Dependence on technicians is remarkably reduced, and field troubleshooting difficulty and human input are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automation control technology, and more specifically, to a method, system, electronic device, and storage medium for detecting faults in a lighting system. Background Technology

[0002] An intelligent lighting control system is a building lighting control system that typically consists of a lighting controller, lighting actuators, lighting lamps, and various sensor devices. The lighting control system mainly controls the lighting actuators to switch the lighting lamps on and off through control commands issued by the lighting controller.

[0003] The existing lighting system determines potential faults by observing changes in the brightness of the lights, and then technicians conduct on-site troubleshooting step by step to classify the faults.

[0004] The above methods consume a lot of manpower and resources, take a long time to investigate, resulting in a long recovery period and affecting the progress of subsequent on-site execution. Summary of the Invention

[0005] The purpose of this application is to address the shortcomings of the prior art by providing a method, system, electronic device, and storage medium for detecting faults in lighting systems, so as to facilitate the specific classification of faults in lighting systems and the reporting of fault information, thereby shortening the fault repair time.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows: In a first aspect, embodiments of this application provide a method for detecting faults in a lighting system, applied to a lighting system comprising: a lighting controller, at least one lighting actuator, and at least one lighting device; the lighting controller, the lighting actuator, and the lighting device are communicatively connected; the lighting controller is also communicatively connected to a host computer; the method includes: The lighting actuator controls the operation of the target lighting device according to the device control command issued by the lighting controller, and detects the current value and voltage value of the power supply channel corresponding to the target lighting device in real time, and sends the current value and voltage value to the lighting controller. The lighting controller determines the fault information of the circuit where the target lighting device is located based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current range and standard voltage range of the target lighting device; the fault information includes the fault type, which is one or more of the following: lighting circuit fault, lighting actuator channel fault, and lighting device fault; The lighting controller uploads the fault information of the circuit where the target lighting device is located to the host computer for recording and display.

[0007] Optionally, the method further includes: the lighting controller sending a relay control command and a data detection command to the lighting actuator according to the control command sent by the host computer; the relay control command is used to control the relay of the target channel to open so as to supply power to the lighting device corresponding to the target channel; the data detection command is used to instruct data sampling to be performed at a preset time interval. The lighting actuator controls the relay to open the target channel according to the relay control command; According to the data detection command, the lighting actuator continuously collects multiple current sampling values ​​and multiple voltage sampling values ​​output by the target channel at the preset time interval; The lighting actuator determines the standard current range of the lighting device corresponding to the target channel based on the multiple current sampling values; The lighting actuator determines the standard voltage range of the lighting device corresponding to the target channel based on the multiple voltage sampling values; The lighting actuator sends the standard current range and standard voltage range of the lighting device corresponding to the target channel to the lighting controller.

[0008] Optionally, the lighting actuator determines the standard current range of the lighting device corresponding to the target channel based on the plurality of current sampling values, including: The multiple current sample values ​​are sorted to generate a current sample sequence; Based on the current sampling sequence, the upper and lower current limits are determined; Based on the upper current limit and the lower current limit, the standard current range of the lighting equipment corresponding to the target channel is determined.

[0009] Optionally, the lighting actuator determines the standard voltage range of the lighting device corresponding to the target channel based on the plurality of voltage sample values, including: The multiple voltage sample values ​​are sorted to generate a voltage sample sequence; Based on the voltage sampling sequence, determine the upper voltage limit and the lower voltage limit; Based on the upper voltage limit and the lower voltage limit, the standard voltage range of the lighting equipment corresponding to the target channel is determined.

[0010] Optionally, the lighting controller executes a fault analysis strategy based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current and standard voltage ranges of the target lighting device, to determine the fault information of the circuit where the target lighting device is located, including: The current range is determined based on the current value and the standard current range; The voltage range is determined based on the voltage value and the standard voltage range; Based on the current range and the voltage range, the fault information of the circuit where the target lighting device is located is determined.

[0011] Optionally, the lighting actuator includes: a current detection circuit, which includes: a current transformer, a first operational amplifier analog unit, and an analog-to-digital converter current detection unit; the real-time detection of the current value of the power supply channel corresponding to the target lighting device includes: The output current value of the power supply channel corresponding to the target lighting device is detected by the current transformer; The output current value is filtered and amplified by the first operational amplifier simulation unit; The analog-to-digital conversion current detection unit samples and quantizes the filtered output current value to obtain the current value of the power supply channel corresponding to the target lighting device.

[0012] Optionally, the lighting actuator further includes a voltage detection circuit, which comprises: a voltage transformer, a second operational amplifier analog unit, and an analog-to-digital converter voltage detection unit; and continuously detects the voltage value of the power supply channel corresponding to the target lighting device in real time, including: The voltage transformer is used to detect the output voltage value flowing through the external terminal between the lighting actuator and the target lighting device; The output voltage value is filtered and amplified by the second operational amplifier analog unit; The analog-to-digital conversion voltage detection unit samples and quantizes the filtered output voltage value to obtain the voltage value of the power supply channel corresponding to the target lighting device.

[0013] Secondly, embodiments of this application also provide a lighting system, including: a lighting controller, a lighting actuator, and a lighting device; the lighting controller, the lighting actuator, and the lighting device are connected in a wired or wireless manner; the lighting controller is also connected in a communication manner with a host computer; The lighting controller is used to execute the method steps performed by the lighting controller in the lighting system fault detection method described in the first aspect above; The lighting actuator is used to perform the method steps executed by the lighting actuator in the lighting system fault detection method described in the first aspect above.

[0014] Thirdly, embodiments of this application provide an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to implement the lighting system fault detection method provided in the first aspect.

[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, performs the lighting system fault detection method as provided in the first aspect.

[0016] The beneficial effects of this application are: This application provides a method, system, electronic device, and storage medium for fault detection in a lighting system. The method includes: a lighting actuator controlling the operation of a target lighting device according to equipment control commands issued by a lighting controller, and real-time monitoring of the current and voltage values ​​of the power supply channel corresponding to the target lighting device, sending the current and voltage values ​​to the lighting controller; the lighting controller determining the fault information of the circuit containing the target lighting device based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current and voltage ranges of the target lighting device; and the lighting controller uploading the fault information of the circuit containing the target lighting device to a host computer for recording and display. This solution, by obtaining the standard current and voltage ranges of the lighting device and combining them with the real-time current and voltage information of the circuit containing the lighting device, performs fault analysis, enabling specific judgment of the fault type. This overcomes the limitations of traditional methods that rely solely on the actual lighting status of the lighting device, improving the accuracy of fault analysis. Furthermore, the fault information is uploaded by the lighting controller to the host computer for recording and display, allowing technicians to remotely obtain fault information without going to the site, supporting the advance development of maintenance strategies, and significantly shortening response time and maintenance cycles. The above methods significantly reduce reliance on technical personnel, lower the difficulty of on-site troubleshooting and manpower input, and improve the intelligence, usability and economy of the lighting system.

[0017] In addition, the lighting controller and the lighting actuator use both wired and wireless communication methods for redundancy. When the wired communication fails, it can automatically switch to wireless communication, ensuring that the system can still transmit control and monitoring data normally in the event of communication link abnormalities, thereby improving the stability and reliability of the system operation.

[0018] Secondly, the current detection circuit of the lighting actuator uses a comparator and inverter, combined with a MOSFET circuit, to perform full-wave rectification of the AC voltage signal. This is then converted into DC voltage through a two-stage filter circuit, and directly sampled by the microcontroller's ADC for voltage acquisition. Compared to traditional diode rectification schemes, this method offers advantages such as lower on-state voltage drop, higher rectification efficiency, and lower signal distortion. Simultaneously, this design avoids the impact of diode nonlinear voltage drop on small-signal detection accuracy. Combined with a two-stage RC filter, it outputs a more stable and smooth DC voltage, facilitating high-precision sampling by the microcontroller's ADC, thereby significantly improving the sensitivity, linearity, and overall reliability of current detection. Attached Figure Description

[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 A schematic diagram of the architecture of a lighting system provided in an embodiment of this application; Figure 2 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 1 ; Figure 3 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 2 ; Figure 4 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 3 ; Figure 5 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 4 ; Figure 6 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 5 ; Figure 7 This is a schematic diagram of the internal structure of a lighting actuator provided in an embodiment of this application; Figure 8 A schematic diagram of a current detection circuit provided in an embodiment of this application; Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0021] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0022] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0023] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0024] With the rapid development of the Internet of Things, automation control, and energy-saving technologies, intelligent lighting control systems have been widely applied in commercial buildings, industrial plants, public facilities, and smart homes. This system integrates lighting controllers, lighting actuators, various sensors (such as light sensors and human body sensors), and a host computer management platform to achieve centralized and intelligent control of lighting equipment, thereby improving energy efficiency and user comfort.

[0025] In a typical intelligent lighting control system, the lighting controller, as the core control unit, is responsible for receiving instructions from the host computer software or local logic decisions, and sending switching control commands to the lighting actuators via wired communication methods (such as Ethernet, Controller Area Network (CAN) bus, or Recommended Standard 485 (RS485)). The lighting actuators then drive relays to operate according to the received instructions, thereby controlling the on / off state of one or more lighting circuits. Simultaneously, the system can also dynamically adjust the lighting strategy based on information such as ambient light intensity and human activity status to achieve on-demand lighting.

[0026] However, in practical engineering applications, when a lighting channel malfunctions (such as the lamp not lighting, abnormal brightness, or inability to respond to control), the cause of the fault may involve multiple factors, including: hardware failure of the lighting actuator itself (such as a damaged relay), abnormal output voltage / current, broken connection lines, lamp failure (such as a burnt-out filament), or communication link interruption. Existing systems generally lack effective local fault diagnosis mechanisms, resulting in the system only being able to report general status information such as "device unresponsive" or "control failed" after a fault occurs, without being able to further pinpoint the specific fault type and location.

[0027] Currently, the mainstream troubleshooting method relies on manual on-site step-by-step testing. Technicians must first confirm the correctness of the host computer configuration, then sequentially check the communication status between the lighting controller and the lighting actuators, the electrical signals (voltage, current) at the output ports of the lighting actuators, the continuity of the circuits, and the working status of the terminal lights. This process typically requires carrying testing tools such as multimeters and clamp meters, measuring point by point and comparing the results with expected values. It is time-consuming, labor-intensive, and demands a high level of expertise from technicians. Especially in large projects or situations with multiple concurrent faults, traditional troubleshooting methods severely impact maintenance efficiency, prolong system downtime, and cause unnecessary economic losses and a decline in user experience.

[0028] Furthermore, most existing intelligent lighting systems employ a single wired communication architecture for device interconnection. If the communication line is interrupted due to construction damage, aging, or electromagnetic interference, control commands cannot be issued, status feedback is lost, and the overall system reliability is limited by the physical stability of the communication link. Although some systems introduce wireless communication as an auxiliary means, seamless redundancy switching between wired and wireless channels is usually not achieved, making it difficult to guarantee the continuous transmission of critical control and monitoring data under abnormal conditions.

[0029] In summary, existing intelligent lighting control systems have significant shortcomings in fault detection: they lack automated fault identification capabilities, cannot distinguish between various typical fault types, rely on manual experience for on-site troubleshooting, and have weak communication fault tolerance. These problems severely restrict the maintainability, availability, and intelligence level of the system. Therefore, there is an urgent need for a fault detection method that can achieve local real-time monitoring, multi-dimensional fault classification and judgment, support remote fault information acquisition, and has highly reliable communication guarantees, in order to improve the autonomous diagnostic capabilities and operation and maintenance efficiency of intelligent lighting systems.

[0030] Figure 1 A schematic diagram of the architecture of a lighting system provided in this application embodiment is shown below. Figure 1As shown, the lighting system may include: a lighting controller, at least one lighting actuator, and at least one lighting device; the lighting controller, lighting actuator, and lighting device are communicatively connected; the lighting controller is also communicatively connected to a host computer. Figure 1 As shown, the lighting controller and the lighting actuator can communicate simultaneously via both wired and wireless means, such as... Figure 1 As shown, communication can be achieved via wired methods such as CAN bus, and also via wireless WiFi. The dashed line represents the wireless WiFi communication connection. Each lighting actuator can connect to one or more lighting devices, such as lamps. The lighting actuator can control the switching of the lighting device connected to that channel relay by controlling the switching state of different channel relays.

[0031] The lighting actuator can detect the current and voltage values ​​output by the relay channel in real time through the deployed current and voltage detection circuits and upload them to the lighting controller. The lighting controller can perform fault analysis on the circuit where the lighting equipment is located based on the current and voltage values ​​output by the relay channel, as well as the standard voltage and current ranges.

[0032] The lighting controller also connects to a host computer, which can be a computer or a mobile terminal, on which application software can be deployed. The lighting controller can communicate with the host computer via Ethernet or with the mobile terminal via Wi-Fi, allowing technicians to remotely access the lighting controller and read fault information from the lighting equipment, thus enabling remote fault information retrieval.

[0033] Typically, lighting systems, in addition to the aforementioned equipment, may also include various sensor devices, such as light sensors, human body sensors, and surveillance cameras. These sensors can communicate with the lighting controller via an RS485 bus and can also connect to a host computer via Wi-Fi. By deploying these sensors on-site, the environment of the lighting location can be monitored in real time, and environmental information can be fed back to the host computer or lighting controller to enable dynamic adjustments to the lighting strategy. However, sensor devices are not the focus of this study and will not be discussed in detail here.

[0034] Figure 2 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 1 This method can be applied to the above. Figure 1 In such systems, the aforementioned systems can be deployed in computer devices, such as... Figure 2 As shown, the method may include: S101. The lighting actuator controls the operation of the target lighting equipment according to the equipment control instructions issued by the lighting controller, and detects the current and voltage values ​​of the power supply channel corresponding to the target lighting equipment in real time, and sends the current and voltage values ​​to the lighting controller.

[0035] The lighting actuator can receive device control commands from the lighting controller via wired or wireless communication, thereby controlling the relays of the corresponding channels to open and output current and voltage to power the target lighting equipment connected to the relays of that channel.

[0036] During the process of the target lighting equipment being turned on and running, the lighting actuator can detect the current and voltage values ​​of the power supply channel corresponding to the target lighting equipment in real time. The power supply channel corresponding to the target lighting equipment is also the output channel of the relay corresponding to the target lighting equipment.

[0037] Typically, a lighting system may contain multiple lighting actuators. Each actuator can control multiple lighting devices via relays on different channels, with one relay controlling one lighting device. Based on the lighting requirements at the site, the lighting controller can issue commands to the lighting actuators to control one or more lighting devices to turn on simultaneously. For each lighting device in the on state, its corresponding lighting actuator can monitor the current and voltage values ​​of the power supply channel corresponding to the lighting device in real time using the method described above.

[0038] S102. The lighting controller determines the fault information of the circuit where the target lighting equipment is located based on the current and voltage values ​​of the power supply channel corresponding to the target lighting equipment, as well as the standard current range and standard voltage range of the target lighting equipment.

[0039] The fault information includes the fault type, which can be one or more of the following: lighting circuit fault, lighting actuator channel fault, and lighting equipment fault.

[0040] This embodiment takes the detection of current and voltage of any target lighting device as an example. The lighting actuator can send the current and voltage values ​​of the power supply channel corresponding to the target lighting device in real time to the lighting controller. The lighting controller can read the standard current range and standard voltage range of the target lighting device from the locally recorded data. Here, the standard current range can refer to the standard operating current range, and the standard voltage range can refer to the standard operating voltage range. Based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current and standard voltage ranges of the target lighting device, the lighting controller can execute a fault analysis strategy to generate fault information for the circuit where the target lighting device is located.

[0041] The generated fault information includes at least the fault type, and may also include the fault time, fault location, etc.

[0042] The fault type can be one or more of the following, including: lighting circuit fault, lighting actuator channel fault, and lighting equipment fault; this solution can realize specific analysis and judgment of the fault type, thereby helping technicians to quickly determine the repair method and shorten the fault recovery time.

[0043] Lighting circuit faults refer to abnormalities in the electrical wiring (i.e., signal / power supply circuit) connecting the output terminals of the lighting actuator and the input terminals of the lighting equipment, resulting in the inability to transmit electrical energy to the lighting equipment normally. Common types include: Open circuit: broken wires, loose connections, or detached terminals causing a break in the circuit. Short circuit: accidental contact between the positive and negative terminals or phase wires, triggering overcurrent or protection activation. Poor contact: oxidation or loose crimping leads to increased resistance, causing voltage drops or overheating.

[0044] A lighting actuator channel failure refers to a functional malfunction in which a hardware component of a control channel within the lighting actuator fails, preventing it from correctly outputting control signals or driving power. This fault occurs within the actuator itself and is independent of external wiring and the lighting fixture. Examples include: relay failure (contacts sticking, burning out, or failing to engage, resulting in the inability to switch the load on or off); drive circuit failure (microcontroller unit (MCU) output abnormalities, optocoupler failure, driver chip damage, etc.); and power module malfunction (insufficient or absent power supply to the channel).

[0045] Lighting equipment malfunctions refer to the failure of lighting fixtures to emit light or function properly due to damage to internal components. Even if the external power supply and control are normal, the fixture may still fail to light up or operate abnormally. Common types include: burnt-out filaments (incandescent lamps, halogen lamps), damaged ballasts / drivers (LED lamps, fluorescent lamps), aging and failure of the light source, and open or short circuits in the internal wiring.

[0046] S103. The lighting controller uploads the fault information of the circuit where the target lighting equipment is located to the host computer for recording and display.

[0047] Optionally, the lighting controller can upload fault information of the circuit containing the target lighting device generated locally to a host computer for recording and display. Technicians can read the fault information through the host computer, prepare a repair plan, and then carry out fault repair on-site, reducing repair time and shortening the maintenance period.

[0048] In summary, the lighting system fault detection method provided in this embodiment includes: a lighting actuator controlling the operation of a target lighting device according to equipment control commands issued by a lighting controller, and real-time detecting the current and voltage values ​​of the power supply channel corresponding to the target lighting device, and sending the current and voltage values ​​to the lighting controller; the lighting controller determining the fault information of the circuit where the target lighting device is located based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current range and standard voltage range of the target lighting device; and the lighting controller uploading the fault information of the circuit where the target lighting device is located to a host computer for recording and display. This solution, by obtaining the standard current range and standard voltage range of the lighting device and combining it with the real-time current and voltage information of the circuit where the lighting device is located, performs fault analysis, enabling specific judgment of the fault type. This overcomes the limitations of traditional methods that rely solely on the actual lighting status of the lighting device, improving the accuracy of fault analysis. Furthermore, the fault information is uploaded by the lighting controller to the host computer for recording and display, allowing technicians to remotely obtain fault information without going to the site, supporting the advance development of maintenance strategies, and significantly shortening response time and maintenance cycles. The above methods significantly reduce reliance on technical personnel, lower the difficulty of on-site troubleshooting and manpower input, and improve the intelligence, usability and economy of the lighting system.

[0049] In addition, the lighting controller and the lighting actuator use both wired and wireless communication methods for redundancy. When the wired communication fails, it can automatically switch to wireless communication, ensuring that the system can still transmit control and monitoring data normally in the event of communication link abnormalities, thereby improving the stability and reliability of the system operation.

[0050] Figure 3 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 2 Optionally, this method also includes: S201. The lighting controller sends relay control commands and data detection commands to the lighting actuator according to the control commands sent by the host computer.

[0051] The relay control command is used to control the relay of the target channel to open, so as to supply power to the lighting equipment corresponding to the target channel; the data detection command is used to instruct data sampling to be performed at preset time intervals.

[0052] In some embodiments, in the above Figure 2 Before performing the steps shown, you can also use the method of this embodiment to generate the standard current range and standard voltage range corresponding to each lighting device in this system, and store them for later use.

[0053] After the lighting system is installed and deployed on-site, it undergoes initial commissioning to ensure that the system and all equipment are functioning properly. The lighting controller, actuators, and equipment operate normally with wired communication. If a wired connection fails, it automatically switches to wireless WiFi communication for data transmission. This communication redundancy reduces the risk of line breaks on-site and allows for automatic switching to wireless WiFi communication, ensuring the lighting system functions correctly.

[0054] After the initial system debugging is successful, the host computer can send control commands to the lighting controller for data communication. The lighting controller, as the core processing unit of the system, performs data calculation and analysis. Control commands can be used to indicate which lighting device to control, and to collect standard voltage and current data.

[0055] The lighting controller sends relay control commands and data detection commands to the lighting actuator according to control instructions. The relay control commands instruct the lighting actuator to open the relay in the target channel, thereby enabling power supply to the corresponding lighting equipment; the target channel is determined according to the control commands. The data detection commands instruct the lighting actuator on the data acquisition mode. In this embodiment, it instructs the lighting actuator to test once per second for 60 seconds, detecting and recording the current and voltage value sequences of the lighting equipment corresponding to the target channel within 60 seconds.

[0056] S202. The lighting actuator controls the relay to open the target channel according to the relay control command.

[0057] After receiving the instruction from the lighting controller, the lighting actuator first opens the relay of the corresponding channel according to the relay control instruction. In this embodiment, opening the relay of the target channel is taken as an example.

[0058] S203. The lighting actuator continuously collects multiple current sampling values ​​and multiple voltage sampling values ​​output from the target channel according to the data detection command and at preset time intervals.

[0059] In some embodiments, the lighting actuator can, according to the data detection instruction, sample 60 current values ​​(I1, I2, I3…I60) by testing the current value once per second for 60 consecutive seconds; similarly, it can sample 60 voltage values ​​(U1, U2, U3…U60) by testing the current value once per second for 60 consecutive seconds.

[0060] S204. The lighting actuator determines the standard current range of the lighting equipment corresponding to the target channel based on multiple current sampling values.

[0061] Based on multiple current sampling values, the standard current range of the lighting equipment corresponding to the target channel can be determined.

[0062] S205. The lighting actuator determines the standard voltage range of the lighting equipment corresponding to the target channel based on multiple voltage sampling values.

[0063] Similarly, based on multiple voltage sampling values, the standard voltage range of the lighting equipment can be obtained.

[0064] The standard current range and standard voltage range of each lighting device in the system can be calculated using the method described above.

[0065] S206. The lighting actuator sends the standard current range and standard voltage range of the lighting equipment corresponding to the target channel to the lighting controller.

[0066] The lighting actuator can also send the calculated standard current range and standard voltage range of each lighting device to the lighting controller for storage, which can be directly read and used during subsequent fault analysis.

[0067] Figure 4 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 3 Optionally, in step S204, the lighting actuator determines the standard current range of the lighting equipment corresponding to the target channel based on multiple current sampling values, including: S301. Sort multiple current sample values ​​to generate a current sample sequence.

[0068] Multiple current sample values ​​can be obtained by sorting them from largest to smallest or smallest to largest.

[0069] S302. Determine the upper and lower limits of the current based on the current sampling sequence.

[0070] Based on the sorting results of current values ​​in the current sampling sequence, the upper limit and lower limit of the current can be determined respectively, that is, the maximum current value Imax and the minimum current value Imin in the sequence can be extracted.

[0071] S303. Determine the standard current range of the lighting equipment corresponding to the target channel based on the upper and lower current limits.

[0072] Therefore, the standard current range of the lighting equipment corresponding to the target channel is [Imin, Imax].

[0073] The standard current range refers to the current fluctuation range of a lighting channel under normal operating conditions, determined and stored by continuously monitoring the actual output current of a lighting channel during the initial normal commissioning of the lighting system. A dynamic reference range is formed by using the maximum current value (Imax) and minimum current value (Imin) collected within a preset time period as boundaries.

[0074] Specifically as follows: After the system is installed, deployed, and passes initial testing, it enters the first debugging phase. The host computer or lighting controller issues control commands to close the relays of the target lighting channel, turn on the corresponding lights, and ensure that it is in a stable working state; The current detection circuit inside the lighting actuator begins to sample the output current of this channel in real time, with a sampling frequency of once per second, for a total of 60 seconds, obtaining 60 current sample values ​​(denoted as I1, I2, ..., I60). The 60 sampled values ​​are sorted by size, and the maximum value Imax and the minimum value Imin are extracted. Finally, [Imin, Imax] is used as the standard current range for the lighting channel and uploaded by the lighting actuator to the lighting controller for storage, serving as a reference benchmark for subsequent fault diagnosis.

[0075] This method avoids misjudgments caused by using fixed thresholds (e.g., large differences in operating current between lamps of different power) by providing a personalized current standard based on actual load characteristics. Furthermore, based on the determined standard current range, it supports comparative analysis of measured current values ​​during subsequent operation, enabling the identification of abnormal current conditions and serving as one of the core bases for achieving refined fault classification.

[0076] Figure 5 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 4 Optionally, in step S205, the lighting actuator determines the standard voltage range of the lighting equipment corresponding to the target channel based on multiple voltage sample values, including: S401. Sort multiple voltage sample values ​​to generate a voltage sample sequence.

[0077] The standard voltage range refers to the voltage fluctuation range established by continuously monitoring the output voltage of a specific lighting channel under normal power supply conditions during the initial commissioning phase of the system. This range is defined by the maximum voltage value (Umax) and the maximum voltage value (Umin) within the acquisition period, forming a dynamic normal voltage reference.

[0078] The determination of the standard voltage range can be performed simultaneously with the determination of the standard current range. When the lighting equipment is normally lit and running stably, the voltage detection circuit of the lighting actuator begins to sample the voltage between its output terminals. This is done continuously for 60 seconds at a frequency of once per second, resulting in 60 voltage sample values.

[0079] By sorting the 60 voltage samples in descending or ascending order, a voltage sampling sequence can be obtained.

[0080] S402. Determine the upper and lower voltage limits based on the voltage sampling sequence.

[0081] Based on the voltage sampling sequence, the upper and lower voltage limits can be extracted, that is, the maximum voltage value Umax and the minimum voltage value Umin can be extracted.

[0082] S403. Determine the standard voltage range of the lighting equipment corresponding to the target channel based on the upper and lower voltage limits.

[0083] Based on the extracted maximum voltage value Umax and minimum voltage value Umin, the standard voltage range of the lighting equipment corresponding to the target channel can be obtained as [Umin, Umax].

[0084] The standard voltage range reflects the actual voltage level of the local power supply network under real load conditions, taking into account the effects of factors such as line voltage drop and power fluctuations. During subsequent operation, by comparing the current output voltage with this standard voltage range, problems such as power supply anomalies, open circuits, short circuits, and actuator output faults can be effectively identified.

[0085] Figure 6 A flowchart illustrating the lighting system fault detection method provided in this application embodiment. Figure 5 Optionally, in step S102, the lighting controller executes a fault analysis strategy based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current and voltage ranges of the target lighting device, to determine the fault information of the circuit where the target lighting device is located, including: S501. Determine the current range based on the current value and the standard current range.

[0086] In some embodiments, the actual measured current value can be compared with the standard current range to determine the current range. Assuming the actual measured current value is represented as Iout, the current range can be, for example, Iout greater than Imax, Iout greater than Imin and less than Imax, Iout less than Imin, or Imin equal to 0.

[0087] S502. Determine the voltage range based on the voltage value and the standard voltage range.

[0088] Similarly, the voltage range can be determined based on the voltage value and the standard voltage range.

[0089] S503. Determine the fault information of the circuit where the target lighting equipment is located based on the current range and voltage range.

[0090] By combining current and voltage ranges, multi-dimensional combined judgments can be made to determine the fault information of the circuit where the target lighting equipment is located.

[0091] As shown in Table 1 below, the following is a schematic illustration of the fault type results obtained by combining the current range and the voltage range: Table 1

[0092] As can be seen from Table 1, when the current value Iout of the power supply channel corresponding to the target lighting device is 0, and the voltage value Vout satisfies Umax > Vout > Umin, the fault type of the circuit where the target lighting device is located is determined to be a lighting line fault. A lighting line fault can also refer to a lighting line break fault; when Iout = 0 and Vout > Umax, the fault type is determined to be a lighting line fault and a lighting actuator channel fault; when Iout = 0 and 0 < Vout < Umin, the fault type is determined to be a lighting line break fault and a lighting actuator channel fault; when Iout = 0 and Vout = 0, the fault type is determined to be a lighting actuator channel fault.

[0093] When 0 < Iout < Imin and Umax > Vout > Umin, the fault type is determined to be a lighting device fault; when 0 < Iout < Imin and Vout > Umax, the fault type is determined to be a lighting device fault; when 0 < Iout < Imin and 0 < Vout < Umin, the fault type is determined to be a lighting device fault; when 0 < Iout < Imin and Vout = 0, the fault type is determined to be a lighting actuator channel fault.

[0094] When Imax > Iout > Imin and Vout > Umax, the fault type is determined to be a lighting device fault; when Imax > Iout > Imin and 0 < Vout < Umin, the fault type is determined to be a lighting device fault; when Imax > Iout > Imin and Vout = 0, the fault type is determined to be a lighting actuator channel fault.

[0095] When Iout > Imax and Umax > Vout > Umin, the fault type is determined to be a lighting device fault; when Iout > Imax and Vout > Umax, the fault type is determined to be a lighting device fault; when Iout > Imax and 0 < Vout < Umin, the fault type is determined to be a lighting device fault; when Iout > Imax and Vout = 0, the fault type is determined to be a lighting actuator channel fault.

[0096] Based on the above multi-dimensional combination judgment logic, the specific current fault type of the circuit where the target lighting device is located can be accurately analyzed and determined.

[0097] Figure 7 This is a schematic internal structure diagram of a lighting actuator provided by an embodiment of the present application. As Figure 7 As shown, the lighting actuator includes: an MCU, a logic control unit, a relay, a voltage detection circuit, a current detection circuit, and a communication circuit; wherein, the current detection circuit includes: a current transformer, a first operational amplifier analog unit, and an ADC analog-to-digital converter (ADC) current detection unit; the voltage detection circuit includes: a voltage transformer, a second operational amplifier analog unit, and an ADC voltage detection unit. One end of the current transformer is connected to the lighting equipment via an external terminal; the other end of the voltage transformer is connected to an external terminal.

[0098] The MCU of the lighting actuator is connected to the lighting controller through a communication circuit to receive control commands sent by the lighting controller. According to the control commands, the control logic control circuit opens the relay of the corresponding channel and outputs current and voltage to supply power to the lighting equipment.

[0099] Optionally, real-time detection of the current value of the power supply channel corresponding to the target lighting device includes: detecting the output current value of the power supply channel corresponding to the target lighting device through a current transformer; filtering and amplifying the output current value through a first operational amplifier analog unit; and sampling and quantizing the filtered output current value through an analog-to-digital conversion current detection unit to obtain the current value of the power supply channel corresponding to the target lighting device.

[0100] In some embodiments, the lighting actuator detects the current value of the channel output current through a current transformer, then the first operational amplifier analog circuit filters and amplifies the current value, the ADC current detection unit collects and processes the current value, and sends the sampling result to the MCU. The MCU calculates, analyzes and records the collected current value.

[0101] Figure 8 This is a schematic diagram of a current detection circuit provided in an embodiment of this application. Because the circuit is relatively large, it can be divided into three parts for demonstration, namely… Figure 8 (a) Figure 8 (b) and Figure 8 (c) in the text indicates the input / output connection relationship between the three parts using the same index. Figure 8 The right-hand output of (a) in the middle is used as Figure 8 The left-hand input of (b) in the middle; Figure 8 The right-hand output of (b) in the middle is used as Figure 8 The left-hand input of (c) in the middle.

[0102] like Figure 8As shown, the general working principle of the current detection circuit is as follows: The MCU opens the relay K1 through the logic control unit. After the current flows through the relay K1, it first passes through the primary side of the current transformer CT1, and then flows from the terminal to the lighting lamp. The induced current flows from the secondary side of the current transformer CT1 through the sampling resistor R27. The current is converted into AC voltage, and then through the full-bridge rectifier circuit and the filter circuit to convert it into DC voltage. The ADC samples the current, and then calculates the corresponding current value in the software according to the corresponding conversion relationship.

[0103] The current induced by current transformer CT1 is 1 / 1000 of the current flowing through the relay. This current is converted into an AC voltage by precision resistor R27, and then a synchronous square wave signal is obtained through a comparator to control the full-bridge circuit. When ATP1 > ATN1, Sig_P1 = 1, Sig_N1 = 0, M2 and M5 are turned on, ATP1 is output through M2, and ATN1 is connected to Sig_COM through M5. When ATN1 > ATP1, Sig_P1 = 0, Sig_N1 = 1, M3 and M4 are turned on, ATP1 is connected to Sig_COM through M4, and ATN1 is output through M3. The signal rectified by the full-bridge circuit is filtered by two stages of RC to form a DC ADC_IA1, which is then sampled by the MCU microcontroller.

[0104] Specifically, such as Figure 8 As shown, Figure 8 The circuit (a) in the above-mentioned current detection circuit corresponds to the current transformer part, which is composed of a relay, a current transformer, resistors R27 and R28, capacitors C24 and C29, etc. Figure 8 (b) and Figure 8 (c) in the above-mentioned current detection circuit corresponds to the first operational amplifier analog unit. Figure 8 The circuit in (b) consists of a comparator, an inverter, and resistors R18, R19, R20, R21, R22, R23, R25, R26, R28, R29, capacitors C22, C23, C27, and C30. Figure 8 The circuit in (c) consists of transistors M2, M3, M4, and M5, as well as resistors R16 and R17, and capacitors C25 and C26.

[0105] Combination Figure 8 A complete explanation of the circuit's working principle: When the MCU sends a control signal, the logic control unit drives relay K1 to close, allowing current to flow from the live wire input terminal to the live wire output terminal, and then to the lighting lamp. After passing through relay K1, the current flows through the primary coil of current transformer CT1. The function of current transformer CT1 is to convert a large current into a small current proportionally for subsequent detection and processing. The current passing through the primary coil of current transformer CT1 continues to flow to the terminal block and finally reaches the lighting lamp to power it. The secondary coil of current transformer CT1 induces a small current proportional to the primary current (usually 1 / 1000 of the primary current). When this small current passes through sampling resistor R27, it generates an AC voltage proportional to the current across R27. To suppress high-frequency interference and prevent resonance on the secondary side of current transformer CT1, small-value capacitors C24, C28, and C29 are connected in parallel across R27 to form a low-pass filter network, effectively filtering out switching noise and electromagnetic interference.

[0106] The differential AC voltages (ATP1 and ATN1) are then fed into a comparator composed of operational amplifier U9. Its input is further filtered for common-mode noise and matched to the input impedance by an RC network consisting of R23, R25, C23, and C27. U9 amplifies the differential signal and outputs it to inverter U10. U10 compares this signal with a reference level (usually ground or a virtual midpoint) in real time. When the ATP1 potential is higher than ATN1 (i.e., during the positive half-cycle of the current), the outputs Sig_P1 = 1 and Sig_N1 = 0; otherwise, Sig_P1 = 0 and Sig_N1 = 1. These two complementary square wave signals drive the transistor pairs in the full-bridge rectifier circuit respectively: during the positive half-cycle, M2 and M5 are turned on, allowing current to flow from ATP1 through M2 to the output and ATN1 through M5 to the common terminal Sig_COM; during the negative half-cycle, M3 and M4 are turned on, allowing ATP1 to be connected to Sig_COM through M4 and ATN1 to be output through M3, thus achieving synchronous rectification and converting the AC signal into unidirectional pulsating DC. The rectified signal passes through two stages of RC low-pass filters (the first stage consists of R16 and C26, and the second stage consists of R17 and C25). R16 / R17 limits the charging current, while C26 / C25 stores energy and smooths the ripple, ultimately forming a stable DC voltage at the ADC_IA1 node. Its amplitude accurately reflects the effective value or instantaneous amplitude of the original AC current, which is then sampled by the MCU microcontroller for ADC sampling, enabling digital sampling and processing of the input DC voltage. Furthermore, R22, R24, and the Zero_CH1 pin form a zero-point calibration network, which can eliminate system offset voltage through external bias or software compensation, thereby improving measurement accuracy. The entire circuit achieves a safe, high-precision, and low-loss conversion from high-voltage main circuit current to low-voltage DC sampling signal.

[0107] It is worth noting that the current detection circuit used in this embodiment employs a comparator, an inverter, and a MOSFET circuit to perform full-wave rectification of the AC voltage signal. This is then converted into DC voltage through a two-stage filter circuit, and directly sampled by the microcontroller's ADC for voltage acquisition. Compared to traditional diode rectification schemes, this approach offers advantages such as lower on-state voltage drop, higher rectification efficiency, and lower signal distortion. Furthermore, this design avoids the impact of diode nonlinear voltage drop on small-signal detection accuracy. Combined with a two-stage RC filter, it outputs a more stable and smooth DC voltage, facilitating high-precision sampling by the microcontroller's ADC, thereby significantly improving the sensitivity, linearity, and overall reliability of current detection.

[0108] Optionally, real-time detection of the voltage value of the power supply channel corresponding to the target lighting device includes: detecting the output voltage value flowing through the external terminal between the lighting actuator and the target lighting device using a voltage transformer; filtering and amplifying the output voltage value using a second operational amplifier analog unit; and sampling and quantizing the filtered output voltage value using an analog-to-digital conversion voltage detection unit to obtain the voltage value of the power supply channel corresponding to the target lighting device.

[0109] The lighting actuator detects the voltage value of the external terminals through a voltage transformer, then the second operational amplifier analog circuit filters and amplifies the voltage value, the ADC voltage detection unit collects and processes the voltage value, and the MCU calculates, analyzes and records the collected voltage value.

[0110] Since the structure and working principle of voltage detection circuits are similar to those of current detection circuits, they will not be described in detail here.

[0111] In summary, the lighting system fault detection method provided in this embodiment includes: a lighting actuator controlling the operation of a target lighting device according to equipment control commands issued by a lighting controller, and real-time detecting the current and voltage values ​​of the power supply channel corresponding to the target lighting device, and sending the current and voltage values ​​to the lighting controller; the lighting controller determining the fault information of the circuit where the target lighting device is located based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current range and standard voltage range of the target lighting device; and the lighting controller uploading the fault information of the circuit where the target lighting device is located to a host computer for recording and display. This solution, by obtaining the standard current range and standard voltage range of the lighting device and combining it with the real-time current and voltage information of the circuit where the lighting device is located, performs fault analysis, enabling specific judgment of the fault type. This overcomes the limitations of traditional methods that rely solely on the actual lighting status of the lighting device, improving the accuracy of fault analysis. Furthermore, the fault information is uploaded by the lighting controller to the host computer for recording and display, allowing technicians to remotely obtain fault information without going to the site, supporting the advance development of maintenance strategies, and significantly shortening response time and maintenance cycles. The above methods significantly reduce reliance on technical personnel, lower the difficulty of on-site troubleshooting and manpower input, and improve the intelligence, usability and economy of the lighting system.

[0112] In addition, the lighting controller and the lighting actuator use both wired and wireless communication methods for redundancy. When the wired communication fails, it can automatically switch to wireless communication, ensuring that the system can still transmit control and monitoring data normally in the event of communication link abnormalities, thereby improving the stability and reliability of the system operation.

[0113] Secondly, the current detection circuit of the lighting actuator uses a comparator and inverter, combined with a MOSFET circuit, to perform full-wave rectification of the AC voltage signal. This is then converted into DC voltage through a two-stage filter circuit, and directly sampled by the microcontroller's ADC for voltage acquisition. Compared to traditional diode rectification schemes, this method offers advantages such as lower on-state voltage drop, higher rectification efficiency, and lower signal distortion. Simultaneously, this design avoids the impact of diode nonlinear voltage drop on small-signal detection accuracy. Combined with a two-stage RC filter, it outputs a more stable and smooth DC voltage, facilitating high-precision sampling by the microcontroller's ADC, thereby significantly improving the sensitivity, linearity, and overall reliability of current detection.

[0114] Optionally, this application also provides a lighting system, including: a lighting controller, a lighting actuator, and a lighting device; the lighting controller, the lighting actuator, and the lighting device are connected in a wired or wireless manner; the lighting controller is also connected in a communication manner with a host computer.

[0115] The lighting controller is used to perform the method steps executed by the lighting controller in the above-mentioned lighting system fault detection method; the lighting actuator is used to perform the method steps executed by the lighting actuator in the above-mentioned lighting system fault detection method.

[0116] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device can be the lighting controller or lighting actuator described above. The device may include: a processor 801 and a storage medium 802.

[0117] Storage medium 802 is used to store programs, and processor 801 calls the programs stored in storage medium 802 to execute the above method embodiments. The specific implementation and technical effects are similar, and will not be described in detail here.

[0118] The storage medium 802 stores program code, which, when executed by the processor 801, causes the processor 801 to perform various steps performed by the lighting controller or lighting actuator in the lighting system fault detection method according to various exemplary embodiments of this application as described in the "Exemplary Methods" section above.

[0119] The processor 801 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.

[0120] Storage medium 802, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The storage medium can include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type storage medium, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage medium, magnetic disk, optical disk, etc. The storage medium is any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, storage medium 802 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.

[0121] Optionally, this application also provides a program product, such as a computer-readable storage medium, including a program that, when executed by a processor, performs the above-described method embodiments.

[0122] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0123] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0124] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.

[0125] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for detecting faults in a lighting system, characterized in that, The method is applied to a lighting system, the lighting system comprising: a lighting controller, at least one lighting actuator, and at least one lighting device; the lighting controller, the lighting actuator, and the lighting device are communicatively connected; the lighting controller is also communicatively connected to a host computer; the method includes: The lighting actuator controls the operation of the target lighting device according to the device control command issued by the lighting controller, and detects the current value and voltage value of the power supply channel corresponding to the target lighting device in real time, and sends the current value and voltage value to the lighting controller. The lighting controller determines the fault information of the circuit where the target lighting device is located based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current range and standard voltage range of the target lighting device; the fault information includes the fault type, which is one or more of the following: lighting circuit fault, lighting actuator channel fault, and lighting device fault; The lighting controller uploads the fault information of the circuit where the target lighting device is located to the host computer for recording and display.

2. The method according to claim 1, characterized in that, The method also includes, The lighting controller sends relay control instructions and data detection instructions to the lighting actuator according to the control instructions sent by the host computer. The relay control instructions are used to control the relay of the target channel to open, so as to supply power to the lighting device corresponding to the target channel; the data detection instructions are used to instruct data sampling to be performed at preset time intervals. The lighting actuator controls the relay to open the target channel according to the relay control command; According to the data detection command, the lighting actuator continuously collects multiple current sampling values ​​and multiple voltage sampling values ​​output by the target channel at the preset time interval; The lighting actuator determines the standard current range of the lighting device corresponding to the target channel based on the multiple current sampling values; The lighting actuator determines the standard voltage range of the lighting device corresponding to the target channel based on the multiple voltage sampling values; The lighting actuator sends the standard current range and standard voltage range of the lighting device corresponding to the target channel to the lighting controller.

3. The method according to claim 2, characterized in that, The lighting actuator determines the standard current range of the lighting device corresponding to the target channel based on the multiple current sampling values, including: The multiple current sample values ​​are sorted to generate a current sample sequence; Based on the current sampling sequence, the upper and lower current limits are determined; Based on the upper current limit and the lower current limit, the standard current range of the lighting equipment corresponding to the target channel is determined.

4. The method according to claim 2, characterized in that, The lighting actuator determines the standard voltage range of the lighting device corresponding to the target channel based on the multiple voltage sample values, including: The multiple voltage sample values ​​are sorted to generate a voltage sample sequence; Based on the voltage sampling sequence, determine the upper voltage limit and the lower voltage limit; Based on the upper voltage limit and the lower voltage limit, the standard voltage range of the lighting equipment corresponding to the target channel is determined.

5. The method according to claim 1, characterized in that, The lighting controller executes a fault analysis strategy based on the current and voltage values ​​of the power supply channel corresponding to the target lighting device, as well as the standard current and voltage ranges of the target lighting device, to determine the fault information of the circuit where the target lighting device is located, including: The current range is determined based on the current value and the standard current range; The voltage range is determined based on the voltage value and the standard voltage range; Based on the current range and the voltage range, the fault information of the circuit where the target lighting device is located is determined.

6. The method according to claim 1, characterized in that, The lighting actuator includes a current detection circuit, which comprises a current transformer, a first operational amplifier analog unit, and an analog-to-digital converter current detection unit; the real-time detection of the current value of the power supply channel corresponding to the target lighting device includes: The output current value of the power supply channel corresponding to the target lighting device is detected by the current transformer; The output current value is filtered and amplified by the first operational amplifier simulation unit; The analog-to-digital conversion current detection unit samples and quantizes the filtered output current value to obtain the current value of the power supply channel corresponding to the target lighting device.

7. The method according to claim 1, characterized in that, The lighting actuator further includes a voltage detection circuit, which comprises a voltage transformer, a second operational amplifier analog unit, and an analog-to-digital converter voltage detection unit; it detects the voltage value of the power supply channel corresponding to the target lighting device in real time, including: The voltage transformer is used to detect the output voltage value flowing through the external terminal between the lighting actuator and the target lighting device; The output voltage value is filtered and amplified by the second operational amplifier analog unit; The analog-to-digital conversion voltage detection unit samples and quantizes the filtered output voltage value to obtain the voltage value of the power supply channel corresponding to the target lighting device.

8. A lighting system, characterized in that, include: Lighting controllers, lighting actuators, and lighting equipment; The lighting controller, the lighting actuator, and the lighting equipment are connected via wired or wireless means; the lighting controller is also connected to a host computer. The lighting controller is used to perform the method steps executed by the lighting controller in the lighting system fault detection method according to any one of claims 1-7; The lighting actuator is used to perform the method steps executed by the lighting actuator in the lighting system fault detection method according to any one of claims 1-7.

9. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus. The storage medium stores program instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to implement the lighting system fault detection method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which is executed by a processor to implement the lighting system fault detection method as described in any one of claims 1 to 7.