In-situ detection circuit for matrix LED lamp
Patent Information
- Application Number
- CN202522015186.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-19
- Publication Date
- 2026-09-04
- Estimated Expiration
- 2035-09-19
AI Technical Summary
[0004]然而,上述方案中,电流检测方式易受电路中其他元件的电流干扰,当 LED 灯出现轻微虚焊导致电流小幅变化时,易出现检测误判,无法实现对 LED 灯在位状态的稳定、精准识别,难以满足高密度矩阵 LED 灯的检测需求
1、本申请通过“在位检测模块集成至少一个ADC检测单元”,无需为每路LED灯匹配独立检测芯片,仅需将ADC检测单元与矩阵驱动电路的控制器输出端直接电连接,大幅减少了专用检测芯片的物料投入;同时,ADC检测单元采集的电压信号可通过同一在位检测模块汇总后,经“在位检测模块与信息接收模块之间的通讯单元”传输,无需布设多路独立信号线路,简化了电路布线结构。相较于传统方案,本方案在硬件物料成本控制与布线复杂度降低方面更具优势,更适配高密度矩阵LED灯的应用场景。
Smart Images

Figure CN224720210U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of lighting fixture testing, and more particularly to an in-situ detection circuit for a matrix LED lamp. Background Technology
[0002] In consumer electronics (such as mobile phones, watches, and tablets) and lighting equipment, matrix LED lights have become a mainstream application solution due to their ability to achieve diverse lighting displays and functions. In these applications, matrix LED lights typically contain multiple LED elements, which need to be driven in an orderly manner to achieve precise on / off control in order to meet the device's requirements for display effects or lighting accuracy. Therefore, there are high requirements for the stability and reliability of the matrix LED lights in operation.
[0003] In the prior art, in order to monitor the position of matrix LED lights, a current sensing resistor is often connected in series between the matrix driving circuit and the LED lights. The operating current of the LED lights is obtained by collecting the voltage across the current sensing resistor, and then the LED lights are judged to be in normal position based on whether the current is within the preset range.
[0004] However, in the above scheme, the current detection method is easily affected by the current of other components in the circuit. When the LED light has a slight poor solder joint, causing a small change in current, it is easy to make a false judgment. It is impossible to achieve stable and accurate identification of the LED light's in-situ status, and it is difficult to meet the detection requirements of high-density matrix LED lights. Utility Model Content
[0005] This application provides an in-situ detection circuit for a matrix LED light, aiming to improve the accuracy of in-situ detection of the matrix LED light.
[0006] To address the aforementioned technical problems, this application provides the following technical solutions: An in-situ detection circuit for a matrix LED light includes a matrix driving circuit, an in-situ detection module, and an information receiving module; The matrix drive circuit includes a controllable power output terminal and a controller input terminal. The controllable power output terminal is electrically connected to the anode of the LED lamp, and the controller input terminal is electrically connected to the cathode of the LED lamp. The in-situ detection module includes at least one ADC detection unit, which is electrically connected to the output terminal of the controller and is used to detect the voltage signal at the output terminal of the controller. The in-situ detection module is electrically connected to the information receiving module via a communication unit to transmit the voltage signal to the information receiving module; The information receiving module is used to determine the presence status of the LED lamp based on the voltage signal.
[0007] Preferably, the number of power output terminals and controller input terminals corresponds to the number of rows and columns of LEDs, the anodes of LEDs located in the same column are electrically connected to the same power output terminal, and the cathodes of LEDs located in the same row are electrically connected to the same controller input terminal.
[0008] By connecting the anodes of all LEDs in the same column to the same power output terminal, it is ensured that LEDs in the same column can be supplied with voltage from the same power output terminal; by connecting the cathodes of all LEDs in the same row to the same controller input terminal, it is ensured that LEDs in the same row can be controlled by the same controller input terminal to control the circuit. Through this row-column corresponding connection method, precise control and detection of each LED in the matrix can be achieved.
[0009] Preferably, the controller is a MOSFET, and the matrix drive circuit controls the MOSFET to turn on or off by controlling the control terminal of the MOSFET.
[0010] When a specific control signal is input to the control terminal of the MOSFET, the MOSFET is turned on, forming a circuit for the LED, allowing the LED to work normally or be tested. When the control signal is removed or adjusted, the MOSFET is turned off, disconnecting the circuit for the LED and stopping the power supply and testing of that LED. By controlling the MOSFET's on and off states, flexible control of the LED circuit's on / off state can be achieved.
[0011] Preferably, the information receiving module is a central controller, which is used to determine the presence status of the LED lamp according to a preset voltage range. The presence status includes poor solder joint / open circuit, normal, and short circuit.
[0012] The central controller has a preset voltage range corresponding to different LED light presence states (i.e., a preset voltage range). During the detection process, the central controller receives a voltage signal from the presence detection module and compares the voltage signal with the preset voltage range. If the voltage signal is within a certain preset range, the LED light is determined to be in the presence state indicated by that range, which includes three states: cold solder joint / open circuit, normal, and short circuit. By comparing the preset voltage range with the actual voltage signal, the presence state of the LED light can be accurately determined.
[0013] Preferably, a control signal transmission line is provided between the central controller and the matrix drive circuit, and the control signal transmission line is used by the central controller to send a strobe signal to the matrix drive circuit; The matrix drive circuit includes a power control circuit corresponding to each of the controllable power output terminals and a controller switch circuit corresponding to each of the controller input terminals. Both the power control circuit and the controller switch circuit are electrically connected to the control signal transmission line to receive the strobe signal sent by the central controller. By sequentially outputting the selection signals, the power control circuit and the controller switching circuit can be driven to turn on different controllable power output terminals and corresponding controller input terminals one by one, so as to detect the on-state of each LED.
[0014] When the central controller outputs different selection signals in sequence, the corresponding power control circuit and controller switching circuit will be turned on, thereby turning on different controllable power output terminals and corresponding controller input terminals one by one. Each time a set of controllable power output terminals and controller input terminals are turned on, the on-site status of the corresponding connected LEDs can be detected. Through this sequential selection method, the on-site status of each LED in the matrix can be detected one by one, ensuring that each LED is detected without omission as much as possible.
[0015] Preferably, the communication unit is an IIC communication module or an SPI communication module.
[0016] Both IIC and SPI communication modules can ensure that the voltage signal acquired by the in-situ detection module is transmitted stably and accurately to the information receiving module, minimizing signal loss or distortion caused by communication problems and guaranteeing the reliability of the detection data. Preferably, a resistor is connected in series at the output terminal of the controller, and the end of the resistor furthest from the output terminal of the controller is grounded.
[0017] By setting a resistor, the voltage signal at the controller output can be stabilized, preventing abnormal voltage at the controller output due to current fluctuations in the circuit. At the same time, it can limit the current in the circuit, preventing excessive current from damaging the controller or LEDs, and providing protection for stable circuit operation.
[0018] Preferably, the resistor is an adjustable resistor.
[0019] According to the type of LED light (such as white LED, blue LED, red LED, different types of LED lights have different voltage drops) or actual testing needs, the staff can adjust the voltage reference at the output terminal of the controller by adjusting the resistance value of the adjustable resistor, so that the voltage signal can more accurately reflect the position status of the LED light, avoid the detection error caused by the fixed resistance value, and improve the adaptability and accuracy of the test.
[0020] Preferably, the controllable power supply output terminal includes at least a first output terminal (A1) and a second output terminal (A2); the controller input terminal of the matrix drive circuit includes at least a first input terminal (B1) and a second input terminal (B2); the LED lamps include at least a first LED lamp (D11), a second LED lamp (D12), a third LED lamp (D21), and a fourth LED lamp (D22); wherein, the first output terminal (A1) is connected to the anodes of the first LED lamp (D11) and the third LED lamp (D21), and the second output terminal (A2) is connected to the anodes of the second LED lamp (D12) and the fourth LED lamp (D22); the first input terminal (B1) is connected to the cathodes of the first LED lamp (D11) and the second LED lamp (D12), and the second input terminal (B2) is connected to the cathodes of the third LED lamp (D21) and the fourth LED lamp (D22); the ADC detection unit includes at least a first ADC detection module (ADC1) and a second ADC detection module (ADC2), the first ADC... The detection module (ADC1) is connected to the first input terminal (B1), and the second ADC detection module (ADC2) is connected to the second input terminal (B2).
[0021] The above-described connection method forms a 2×2 matrix LED detection circuit, enabling the separate detection of four LEDs. If more LEDs need to be detected, controllable power output terminals, controller input terminals, ADC detection units, and the number of LEDs can be added to expand it into a larger-scale matrix detection circuit.
[0022] The beneficial effects of this application are as follows: 1. This application integrates at least one ADC detection unit into the "in-situ detection module," eliminating the need for a separate detection chip for each LED. Instead, the ADC detection unit is directly electrically connected to the controller output of the matrix drive circuit, significantly reducing the material investment required for dedicated detection chips. Simultaneously, the voltage signals collected by the ADC detection unit can be aggregated within the same in-situ detection module and transmitted via the "communication unit between the in-situ detection module and the information receiving module," eliminating the need for multiple independent signal lines and simplifying the circuit wiring structure. Compared to traditional solutions, this approach offers advantages in hardware material cost control and reduced wiring complexity, making it more suitable for high-density matrix LED applications.
[0023] 2. This application acquires the voltage signal at the controller output terminal through an "ADC detection unit". It utilizes the clear difference in the voltage value at the controller output terminal corresponding to different on-state states of the LED (poor solder joint / open circuit, normal, short circuit) (e.g., in the normal state, the voltage is "controllable power supply output voltage - LED voltage drop - controller internal resistance voltage drop", and in the short circuit state, the voltage is close to "controllable power supply output voltage - controller internal resistance voltage drop"). This voltage difference is less affected by small voltage fluctuations in the circuit, and the detection benchmark is more stable. In addition, the analog-to-digital conversion function of the ADC detection unit can convert the continuous analog voltage signal into a discrete digital signal. Compared with the easily interfered analog current signal in the traditional solution, the digital signal is more easily and stably identified by the information receiving module, reducing misjudgments caused by signal instability, and the detection reliability is higher than that of the traditional solution.
[0024] 3. By connecting the in-situ detection module and the information receiving module through the communication unit, all detection signals can be transmitted through a single transmission path, reducing the number of signal transmission paths and structurally reducing the generation and impact of electromagnetic interference. At the same time, the communication unit (such as common types like IIC and SPI) has a mature signal anti-interference mechanism, which can reduce signal loss and distortion during transmission, and ensure that the voltage signal acquired by the information receiving module is as close as possible to the actual collected value, providing more reliable data support for subsequent in-situ status determination. This results in better signal transmission stability than traditional solutions. Attached Figure Description
[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 A schematic diagram of the in-situ detection circuit for a matrix LED lamp provided in an embodiment of this application; Figure 2 This is another circuit structure diagram of a matrix LED lamp presence detection circuit provided in an embodiment of this application. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] Reference Figure 1 This application provides an in-situ detection circuit for a matrix LED light, including a matrix driving circuit, an in-situ detection module, and an information receiving module. The matrix driving circuit includes a controllable power output terminal and a controller input terminal. The controllable power output terminal is electrically connected to the anode of the LED light, and the controller input terminal is electrically connected to the cathode of the LED light. The in-situ detection module includes at least one ADC detection unit, which is electrically connected to the controller output terminal and is used to detect the voltage signal at the controller output terminal. The in-situ detection module is electrically connected to the information receiving module through a communication unit to transmit the voltage signal to the information receiving module. The information receiving module is used to determine the in-situ status of the LED light based on the voltage signal.
[0029] The matrix driver circuit is used to provide power and on / off control for the matrix LED lights. It includes a controllable power output terminal and a controller input terminal. The controllable power output terminal is electrically connected to the anode of the LED light to output the voltage required for the LED light to operate. The controller input terminal is electrically connected to the cathode of the LED light to control the conduction and disconnection of the circuit in which the LED light is located, thereby realizing the control of the working state of the LED light. The in-situ detection module is used to acquire electrical signals reflecting the in-situ status of LEDs. It includes at least one ADC detection unit (ADC is an analog-to-digital converter that can convert continuously changing analog voltage signals into discrete digital signals). This ADC detection unit is electrically connected to the controller output and can detect the voltage signal at the controller output in real time. Since the voltage at the controller output will differ depending on the in-situ status of the LED (such as poor soldering, normal, short circuit), this voltage signal can serve as a key basis for judging the in-situ status of the LED. The in-situ detection module and the information receiving module are electrically connected through a communication unit. The voltage signal collected by the in-situ detection module can be stably transmitted to the information receiving module through this communication unit to provide data support for subsequent status determination. The information receiving module is used to process the received voltage signal and determine the presence status of the LED. By analyzing the specific value of the voltage signal, it identifies whether there are abnormalities such as poor soldering or short circuits in the LED, and finally completes the detection of the presence status of the matrix LED.
[0030] Optionally, the number of power output terminals and controller input terminals corresponds to the number of rows and columns of LEDs. The anodes of LEDs in the same column are electrically connected to the same power output terminal, and the cathodes of LEDs in the same row are electrically connected to the same controller input terminal.
[0031] The number of power output terminals and controller input terminals is configured according to the number of rows and columns of LEDs. That is, the number of power output terminals matches the number of columns of LEDs, and the number of controller input terminals matches the number of rows of LEDs. Specifically, the anodes of all LEDs in the same column are electrically connected to the same power output terminal, ensuring that LEDs in the same column can be powered by the same power output terminal. The cathodes of all LEDs in the same row are electrically connected to the same controller input terminal, ensuring that LEDs in the same row can be controlled by the same controller input terminal. Through this row-column corresponding connection method, precise control and independent detection of each LED in the matrix can be achieved, minimizing interference between different LEDs.
[0032] Optionally, the controller is a MOSFET, and the matrix drive circuit controls the MOSFET to turn on or off by controlling the control terminal of the MOSFET.
[0033] The controller is a MOSFET, and the matrix drive circuit adjusts the MOSFET's on / off state by controlling its control terminal. When the matrix drive circuit sends a specific control signal (such as B1_CTRL, B2_CTRL signals) to the MOSFET's control terminal, the MOSFET turns on, forming a circuit for the LED, allowing power supply or detection of the LED. When the control signal is withdrawn or adjusted, the MOSFET turns off, disconnecting the LED circuit and stopping power supply and detection for that LED. By controlling the MOSFET's on / off state, precise control of the LED circuit's on / off state can be flexibly achieved, laying the foundation for subsequent individual testing of each LED.
[0034] Optionally, the information receiving module is a central controller, which is used to determine the presence status of the LED lamp according to a preset voltage range. The presence status includes poor solder joint / open circuit, normal, and short circuit.
[0035] The information receiving module is a central controller (such as an MCU / CPU). This central controller has pre-set voltage ranges corresponding to different on-state states of the LED (i.e., preset voltage ranges). During the detection process, after receiving the voltage signal from the on-state detection module, the central controller compares the voltage signal with the preset voltage range. If the voltage signal is within a certain preset range, the LED is determined to be in the on-state indicated by that range, specifically including three states: cold solder joint / open circuit, normal, and short circuit. For example, when the voltage signal is low, the LED is determined to be in a cold solder joint / open circuit state; when the voltage signal is in a specific intermediate range, the LED is determined to be in a normal state; when the voltage signal is high, the LED is determined to be in a short circuit state. By comparing the preset voltage range with the actual voltage signal, the on-state state of the LED is accurately determined.
[0036] Optionally, a control signal transmission line is provided between the central controller and the matrix drive circuit. The control signal transmission line is used by the central controller to send a strobe signal to the matrix drive circuit. The matrix drive circuit is equipped with a power control circuit corresponding to the controllable power output terminal and a controller switch circuit corresponding to the controller input terminal. Both the power control circuit and the controller switch circuit are electrically connected to the control signal transmission line to receive the strobe signal sent by the central controller. By sequentially outputting the selection signals, the power control circuit and the controller switching circuit can be driven to turn on different controllable power output terminals and corresponding controller input terminals one by one, so as to detect the status of each LED lamp in place.
[0037] A control signal transmission line is provided between the central controller and the matrix drive circuit. This control signal transmission line is specifically used by the central controller to send a gating signal to the matrix drive circuit. The gating signal contains information about the controllable power output terminal and the controller input terminal that need to be turned on, so as to specify the LED light to be detected. The matrix drive circuit has a power control circuit and a controller switching circuit. The power control circuit corresponds one-to-one with the controllable power output terminal, and each power control circuit is only responsible for controlling the on / off state of its corresponding controllable power output terminal. The controller switching circuit corresponds one-to-one with the controller input terminal, and each controller switching circuit is only responsible for controlling the on / off state of its corresponding controller input terminal. Both the power control circuit and the controller switching circuit are electrically connected to the control signal transmission line and can accurately receive the gating signal sent by the central controller.
[0038] When the central controller outputs different selection signals in sequence, the corresponding power control circuit and controller switching circuit will be turned on, thereby turning on different controllable power output terminals and corresponding controller input terminals one by one. Each time a set of controllable power output terminals and controller input terminals are turned on, the on-site status of the corresponding connected LEDs can be detected. Through this sequential selection method, the on-site status of each LED in the matrix can be detected one by one, ensuring that all LEDs are covered without omission as much as possible.
[0039] Optionally, the communication unit is an IIC communication module or an SPI communication module.
[0040] The communication unit is either an IIC communication module or an SPI communication module. Both of these are mature serial communication methods, characterized by simple wiring and stable transmission. The IIC communication module only requires two signal lines to achieve data transmission, while the SPI communication module can achieve high-speed data transmission through four signal lines. In this circuit, the voltage signal collected by the in-situ detection module can be stably transmitted to the information receiving module through the IIC or SPI communication module, avoiding signal loss or distortion caused by unstable communication, ensuring the reliability of the detection data, and ensuring that the information receiving module can obtain accurate voltage signals for subsequent status determination.
[0041] Optionally, a resistor is connected in series at the controller output, with the end of the resistor furthest from the controller output grounded.
[0042] A resistor is connected in series at the controller output terminal. One end of the resistor is electrically connected to the controller output terminal, and the other end is directly grounded. This resistor stabilizes the voltage signal at the controller output terminal, minimizes the risk of abnormal voltage at the controller output terminal due to current fluctuations in the circuit, limits the current in the circuit to prevent excessive current from damaging the controller or LED lights, provides protection for the stable operation of the circuit, and ensures that the ADC detection unit can acquire accurate voltage signals as much as possible.
[0043] Optionally, the resistor is an adjustable resistor.
[0044] Because different types of LEDs (such as white LEDs, blue LEDs, and red LEDs) have different voltage drops, and the parameters of other components in the circuit may also have tolerances due to manufacturing processes, by setting the resistor to an adjustable resistor, the operator can adjust the voltage reference at the controller output terminal according to the actual type of LED or circuit parameters. This allows the voltage signal to more accurately reflect the position status of the LED, avoids detection errors caused by fixed resistor values, and improves the adaptability and accuracy of the detection.
[0045] Optionally, the controllable power supply output terminal includes at least a first output terminal A1 and a second output terminal A2; the controller input terminal of the matrix drive circuit includes at least a first input terminal B1 and a second input terminal B2; and the LED lamps include at least a first LED lamp D11, a second LED lamp D12, a third LED lamp D21, and a fourth LED lamp D22. Specifically, the first output terminal A1 is connected to the anodes of the first LED lamp D11 and the third LED lamp D21, and the second output terminal A2 is connected to the anodes of the second LED lamp D12 and the fourth LED lamp D22. The first input terminal B1 is connected to the cathodes of the first LED lamp D11 and the second LED lamp D12, and the second input terminal B2 is connected to the cathodes of the third LED lamp D21 and the fourth LED lamp D22. The ADC detection unit includes at least a first ADC detection module ADC1 and a second ADC detection module ADC2, with the first ADC detection module ADC1 connected to the first input terminal B1 and the second ADC detection module ADC2 connected to the second input terminal B2.
[0046] Specifically, this embodiment takes the detection of a 2x2 matrix LED light (including four LED lights: D11, D12, D21, and D22) as an example. In this embodiment, the matrix LED light presence detection circuit includes a matrix driving circuit, a presence detection module, and an information receiving module (in this embodiment, an MCU is used as the central controller).
[0047] The controllable power output terminals of the matrix drive circuit are the first output terminal A1 and the second output terminal A2, and the controller input terminals are the first input terminal B1 and the second input terminal B2. The controller uses MOSFETs. The matrix drive circuit controls the MOSFET corresponding to the first input terminal B1 to turn on / off through the B1_CTRL signal, and controls the MOSFET corresponding to the second input terminal B2 to turn on / off through the B2_CTRL signal. An adjustable resistor is connected in series between the first input terminal B1 and ground, and an adjustable resistor is connected in series between the second input terminal B2 and ground. The first input terminal B1 is connected to the source of one MOSFET, and the second input terminal B2 is connected to the source of another MOSFET. The adjustable resistor is connected in series between the drain of the MOSFET and ground.
[0048] The in-situ detection module includes two ADC detection units: a first ADC detection unit ADC1 and a second ADC detection unit ADC2. The first ADC detection unit ADC1 is electrically connected to the first input terminal B1, which means that the first ADC detection unit ADC1 is electrically connected between the drain of a MOSFET and an adjustable resistor. The second ADC detection unit ADC2 is electrically connected to the second input terminal B2, which means that the second ADC detection unit ADC2 is electrically connected between the drain of another MOSFET and an adjustable resistor. The in-situ detection module is electrically connected to the MCU through an IIC communication module.
[0049] The first output terminal A1 is electrically connected to the anodes of the first LED D11 and the third LED D21, and the second output terminal A2 is electrically connected to the anodes of the second LED D12 and the fourth LED D22; the first input terminal B1 is electrically connected to the cathodes of the first LED D11 and the second LED D12, and the second input terminal B2 is electrically connected to the cathodes of the third LED D21 and the fourth LED D22. A control signal transmission line is provided between the MCU and the matrix drive circuit, which is used by the MCU to send strobe signals to the matrix drive circuit.
[0050] The MCU is pre-set with voltage ranges corresponding to different in-situ states of the LED: If the detected voltage is ≤0.5V, the LED is determined to be in a state of poor soldering / open circuit (the 0.5V setting can be adjusted slightly according to production errors to cover parameter fluctuations in actual production). If the detected voltage is between "VCC1-Vled(max)-Vmos(max)" and "VCC1-Vmos(min)-1V" (VCC1 is the output voltage of A1, Vled(max) is the maximum voltage drop of the LED, Vmos(max) is the maximum voltage drop of the MOSFET, and Vmos(min) is the minimum voltage drop of the MOSFET), the LED is considered to be in normal condition (the 1V setting is based on the following: the voltage drop of a typical white and blue LED is 2.8-3.6V, and the voltage drop of a typical red LED is 1.6-2.2V. 1V can cover the voltage drop differences of all types of LEDs and can also be adjusted according to the actual type of LED). If the detected voltage is ≥ "VCC1-Vmos(min)-1.3V", the LED is determined to be in a short circuit state (the 1.3V setting is used to create a distinguishing range from the normal voltage range to avoid misjudgment, and can be adjusted according to the actual circuit parameters).
[0051] When detecting the first LED D11, the MCU sends a strobe signal to the matrix drive circuit through the control signal transmission line, controlling the matrix drive circuit to turn on the power control circuit corresponding to the first output terminal A1 and the controller switch circuit corresponding to the first input terminal B1 (i.e., controlling the MOSFET corresponding to the first input terminal B1 to turn on through the B1_CTRL signal); at this time, the circuit where the first LED D11 is located is turned on, the first ADC detection unit ADC1 collects the voltage signal of the first input terminal B1, and transmits the voltage signal to the MCU through the IIC communication module; the MCU compares the received voltage signal with the preset voltage range to determine the presence status of the first LED D11 (poor solder joint / open circuit, normal, short circuit).
[0052] When detecting the second LED D12, the MCU sends a strobe signal to control the matrix drive circuit to turn on the power control circuit corresponding to the second output terminal A2 and the controller switch circuit corresponding to the first input terminal B1; the circuit where the second LED D12 is located is turned on, and the first ADC detection unit ADC1 collects the voltage signal of the first input terminal B1 and transmits it to the MCU; the MCU compares the voltage signal with the preset range to determine the presence status of the second LED D12.
[0053] When detecting the third LED D21, the MCU sends a strobe signal to control the matrix drive circuit to turn on the power control circuit corresponding to the first output terminal A1 and the controller switch circuit corresponding to the second input terminal B2 (the MOSFET corresponding to the second input terminal B2 is turned on by the B2_CTRL signal); the circuit containing the third LED D21 is turned on, and the second ADC detection unit ADC2 collects the voltage signal of the second input terminal B2 and transmits it to the MCU; the MCU compares the voltage signal with the preset range to determine the presence status of the third LED D21.
[0054] When detecting the fourth LED D22, the MCU sends a strobe signal to control the matrix drive circuit to turn on the power control circuit corresponding to the second output terminal A2 and the controller switch circuit corresponding to the second input terminal B2; the circuit where the fourth LED D22 is located is turned on, and the second ADC detection unit ADC2 collects the voltage signal of the second input terminal B2 and transmits it to the MCU; the MCU compares the voltage signal with the preset range to determine the presence status of the fourth LED D22.
[0055] If an abnormal voltage signal is detected during the detection process (such as being outside the preset range), the voltage reference at the controller output can be adjusted by changing the resistance value of the adjustable resistor connected to the drain of the MOSFET, allowing for a re-acquisition and judgment of the voltage signal, thus ensuring the accuracy of the detection results as much as possible. If it is necessary to expand to a larger matrix LED detection scale such as 3×3 or 4×4, only the corresponding number of controllable power output terminals, controller input terminals, ADC detection units, and LEDs need to be added, following the connection logic and detection process described above. Of course, in some embodiments, when adding the corresponding number of controllable power output terminals, controller input terminals, and LEDs, there may only be one ADC detection unit, such as... Figure 2 As shown, at this point, only the conducting LED needs to be identified to determine the voltage information of the corresponding LED.
[0056] The matrix LED light presence detection circuit of this application achieves automatic detection of the presence status of matrix LED lights through the coordinated operation of the matrix driving circuit, presence detection module, and information receiving module. This eliminates the need for manual inspection, effectively reducing detection omissions and lowering the risk of defective products leaving the circuit. The circuit uses an ADC detection unit to collect voltage signals and combines them with a preset voltage range to determine the status, resulting in high detection accuracy. The circuit structure can be flexibly expanded according to the number of LED lights, adapting to various products such as mobile phones, watches, tablets, and LED lights. Furthermore, the use of adjustable resistors and IIC / SPI communication modules further enhances the circuit's adaptability and signal transmission stability, making it highly practical.
[0057] Of course, in some embodiments, the detection of each LED can also be carried out by the worker selecting one by one. The central controller stores the detection control information of each LED circuit. For example, taking the above 2x2 matrix as an example, it stores the instructions for A1-B1 conduction, A1-B2 conduction, A2-B1 conduction, and A2-B2 conduction. The worker can input the corresponding instructions to the central processor through, for example, a touch screen or other operation buttons, so as to select the specific conduction instructions. In this way, each or a fixed LED can be detected in place without editing the selection instructions in the central processor.
[0058] It should be understood that this application is not limited to the processes and structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A presence detection circuit for a matrix LED light, characterized in that, It includes a matrix drive circuit, an in-situ detection module, and an information receiving module; The matrix drive circuit includes a controllable power output terminal and a controller input terminal. The controllable power output terminal is electrically connected to the anode of the LED lamp, and the controller input terminal is electrically connected to the cathode of the LED lamp. The in-situ detection module includes at least one ADC detection unit, which is electrically connected to the output terminal of the controller and is used to detect the voltage signal at the output terminal of the controller. The in-situ detection module is electrically connected to the information receiving module via a communication unit to transmit the voltage signal to the information receiving module; The information receiving module is used to determine the presence status of the LED lamp based on the voltage signal.
2. The in-situ detection circuit according to claim 1, characterized in that, The number of power output terminals and controller input terminals corresponds to the number of rows and columns of the LEDs. The anodes of the LEDs located in the same column are electrically connected to the same power output terminal, and the cathodes of the LEDs located in the same row are electrically connected to the same controller input terminal.
3. The in-situ detection circuit according to claim 1, characterized in that, The controller is a MOSFET, and the matrix drive circuit controls the MOSFET to turn on or off by controlling the control terminal of the MOSFET.
4. The in-situ detection circuit according to claim 1, characterized in that, The information receiving module is a central controller, which is used to determine the presence status of the LED lamp according to a preset voltage range. The presence status includes poor solder joint / open circuit, normal, and short circuit.
5. The in-situ detection circuit according to claim 4, characterized in that, A control signal transmission line is provided between the central controller and the matrix drive circuit. The control signal transmission line is used by the central controller to send a strobe signal to the matrix drive circuit. The matrix drive circuit includes a power control circuit corresponding to each of the controllable power output terminals and a controller switch circuit corresponding to each of the controller input terminals. Both the power control circuit and the controller switch circuit are electrically connected to the control signal transmission line to receive the strobe signal sent by the central controller. By sequentially outputting the selection signals, the power control circuit and the controller switching circuit can be driven to turn on different controllable power output terminals and corresponding controller input terminals one by one, so as to detect the on-state of each LED.
6. The in-situ detection circuit according to claim 1, characterized in that, The communication unit is an IIC communication module or an SPI communication module.
7. The in-situ detection circuit according to claim 1, characterized in that, A resistor is connected in series at the output terminal of the controller, and the end of the resistor furthest from the output terminal of the controller is grounded.
8. The in-situ detection circuit according to claim 7, characterized in that, The resistor is an adjustable resistor.
9. The in-situ detection circuit according to claim 1, characterized in that, The controllable power supply output terminal includes at least a first output terminal (A1) and a second output terminal (A2); the controller input terminal of the matrix drive circuit includes at least a first input terminal (B1) and a second input terminal (B2); the LED lamps include at least a first LED lamp (D11), a second LED lamp (D12), a third LED lamp (D21), and a fourth LED lamp (D22); wherein, the first output terminal (A1) is connected to the anodes of the first LED lamp (D11) and the third LED lamp (D21), and the second output terminal (A2) is connected to the anodes of the second LED lamp (D12) and the fourth LED lamp (D22); the first input terminal (B1) is connected to the cathodes of the first LED lamp (D11) and the second LED lamp (D12), and the second input terminal (B2) is connected to the cathodes of the third LED lamp (D21) and the fourth LED lamp (D22); the ADC detection unit includes at least a first ADC detection module (ADC1) and a second ADC detection module (ADC2), the first ADC... The detection module (ADC1) is connected to the first input terminal (B1), and the second ADC detection module (ADC2) is connected to the second input terminal (B2).