LED lamp bead open circuit and short circuit detection circuit in LED drive circuit
By introducing hardware logic circuits such as MOSFETs, differential operational amplifiers, and comparators into the LED driver circuit, and combining them with latches and frequency dividers, the problem of AD acquisition speed being affected was solved, enabling real-time detection of LED open and short circuits, and improving the accuracy and real-time performance of the detection.
Patent Information
- Application Number
- CN202420324244.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-21
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2034-02-21
AI Technical Summary
In existing technologies, when detecting open or short circuits using AD acquisition, the speed of AD acquisition can affect the effectiveness of detecting the state of LED beads at specific duty cycles.
Using hardware logic circuits such as MOSFETs, differential operational amplifiers, comparators, and latches, combined with frequency dividers and flip-flops, real-time open and short circuit detection of LED beads is achieved. The detection data is stored in the chip register, and the LED bead status is confirmed in real time through digital communication.
It achieves real-time and accurate open and short circuit detection of LED beads, and can detect and store the LED bead status in each PWM cycle, thus improving the real-time performance and reliability of the detection.
Smart Images

Figure CN221977086U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of LED drive circuits, and more specifically to an open circuit and short circuit detection circuit for LED lamp beads in an LED drive circuit. Background Art
[0002] In the current application field of ambient lights, the open or short circuit of LED lamp beads is not a concern in consumer scenarios, but it is a must-test item in the automotive field. The current mainstream solution is to detect open or short circuits through AD acquisition. This solution has certain drawbacks and will be affected by the AD acquisition speed, resulting in the inability to collect data at a specific duty cycle. Summary of the invention
[0003] In view of the above-mentioned drawbacks existing in the prior art, the utility model provides an open circuit and short circuit detection circuit for LED lamp beads in an LED driving circuit, so as to solve the problem in the prior art that open circuit or short circuit detection is performed through AD acquisition, and the AD acquisition speed is affected, resulting in the inability to acquire data at a specific duty cycle.
[0004] As a first aspect of the utility model, a LED lamp bead open circuit and short circuit detection circuit in an LED driving circuit is provided, comprising a MOS tube Q1, a lamp bead LED1, a differential operational amplifier OP1, a first comparator OP2 and a second comparator OP3, wherein the gate of the MOS tube Q1 is connected to a PWM control signal, the source of the MOS tube Q1 is grounded, the drain of the MOS tube Q1 is respectively connected to the cathode of the lamp bead LED1 and the first input end of the differential operational amplifier OP1, the anode of the lamp bead LED1 is connected to the second input end of the differential operational amplifier OP1, the output end of the differential operational amplifier OP1 is respectively connected to the negative input end of the first comparator OP2 and the positive input end of the second comparator OP3, the positive input end of the first comparator OP2 is connected to a first reference voltage V1, the negative input end of the second comparator OP3 is connected to a second reference voltage V2, the output end of the first comparator OP2 outputs an open circuit signal, and the output end of the second comparator OP3 outputs a short circuit signal.
[0005] Furthermore, it also includes a first latch D1, a second latch D2, an open circuit register and a short circuit register, wherein the first input end of the first latch D1 is connected to the open circuit signal output by the first comparator OP2, the second input end of the first latch D1 is connected to the latch signal, the output end of the first latch D1 is connected to the open circuit register, the first input end of the second latch D2 is connected to the short circuit signal output by the second comparator OP3, the second input end of the second latch D2 is connected to the latch signal, and the output end of the second latch D2 is connected to the short circuit register.
[0006] Furthermore, the latch signal is generated by a frequency divider, a first trigger D3, a second trigger D4 and a third trigger D5, the latch signal lags behind the rising edge of the PWM control signal, the system clock is respectively connected to the first input end of the first trigger D3, the first input end of the second trigger D4 and the first input end of the third trigger D5 through the frequency divider, the second input end of the first trigger D3 is connected to the PWM control signal, the output end of the first trigger D3 is connected to the second input end of the second trigger D4, the output end of the second trigger D4 is connected to the second input end of the third trigger D5, and the output end of the third trigger D5 outputs the latch signal.
[0007] The LED lamp bead open circuit and short circuit detection circuit in the LED driving circuit provided by the utility model has the following advantages: the real-time lamp bead open circuit and short circuit detection function is realized by building hardware logic, each PWM can detect the lamp bead, and the detection data is put into the chip register, and the current status of the LED lamp bead can be confirmed at any time through digital communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation to the present invention.
[0009] Figure 1 The utility model provides a circuit diagram of an LED lamp bead open circuit and short circuit detection circuit in an LED drive circuit.
[0010] Figure 2 The utility model provides a circuit diagram for judging the working state of an LED lamp bead according to the open-short circuit detection data of the LED lamp bead and the latch signal.
[0011] Figure 3 A circuit diagram for generating a latch signal provided by the utility model. DETAILED DESCRIPTION
[0012] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined purpose of the utility model, the specific implementation method, structure, characteristics and effects of the LED lamp bead open circuit and short circuit detection circuit in the LED driving circuit proposed by the present invention are described in detail below in combination with the accompanying drawings and preferred embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the present invention.
[0013] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to describe the embodiments of the utility model described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0014] In this embodiment, a circuit for detecting an open circuit and a short circuit of an LED lamp bead in an LED driving circuit is provided. Figure 1 As shown, the LED lamp bead open circuit and short circuit detection circuit in the LED driving circuit includes a MOS tube Q1, a lamp bead LED1, a differential operational amplifier OP1, a first comparator OP2 and a second comparator OP3, the gate of the MOS tube Q1 is connected to the PWM control signal, the source of the MOS tube Q1 is grounded, the drain of the MOS tube Q1 is respectively connected to the negative electrode of the lamp bead LED1 and the first input end of the differential operational amplifier OP1, the positive electrode of the lamp bead LED1 is connected to the second input end of the differential operational amplifier OP1, the output end of the differential operational amplifier OP1 is respectively connected to the negative input end of the first comparator OP2 and the positive input end of the second comparator OP3, the positive input end of the first comparator OP2 is connected to the first reference voltage V1, the negative input end of the second comparator OP3 is connected to the second reference voltage V2, the output end of the first comparator OP2 outputs an open circuit signal, and the output end of the second comparator OP3 outputs a short circuit signal.
[0015] In this embodiment, if Figure 2 As shown, it also includes a first latch D1, a second latch D2, an open circuit register and a short circuit register, the first input end of the first latch D1 is connected to the open circuit signal output by the first comparator OP2, the second input end of the first latch D1 is connected to the latch signal, the output end of the first latch D1 is connected to the open circuit register, the first input end of the second latch D2 is connected to the short circuit signal output by the second comparator OP3, the second input end of the second latch D2 is connected to the latch signal, and the output end of the second latch D2 is connected to the short circuit register.
[0016] In this embodiment, if Figure 3As shown, the latch signal is generated by a frequency divider, a first trigger D3, a second trigger D4 and a third trigger D5, and the latch signal lags behind the rising edge of the PWM control signal. The system clock is connected to the first input end of the first trigger D3, the first input end of the second trigger D4 and the first input end of the third trigger D5 respectively through the frequency divider, the second input end of the first trigger D3 is connected to the PWM control signal, the output end of the first trigger D3 is connected to the second input end of the second trigger D4, the output end of the second trigger D4 is connected to the second input end of the third trigger D5, and the output end of the third trigger D5 outputs the latch signal.
[0017] The LED lamp bead open circuit and short circuit detection circuit in the LED driving circuit provided by the utility model has the following working principle: Figure 1 As shown in the figure, after the PWM control signal changes from low level to high level, the MOS tube Q1 is turned on, and the lamp bead LED1 also starts to work and generates a certain voltage drop. The voltage drops of lamp beads of different colors will be different, which will be converted into corresponding LED voltage difference through differential amplifier OP1. The LED voltage difference is compared with V1 through comparator OP2 to generate a corresponding open circuit signal. The LED voltage difference is compared with V2 through comparator OP3 to generate a corresponding short circuit signal. The above open circuit signal and short circuit signal are level signals. Figure 2 The two corresponding latches D1 and D2 in the PWM control signal are stored in the corresponding registers. To ensure the correct latch data, the required latch signal needs to lag behind the rising edge of the PWM control signal. Figure 3 The circuit is realized. After a certain frequency division, the system clock generates a latch signal delayed from the rising edge of the PWM control signal through a 3-level trigger. The delay time is determined by the frequency division ratio of the system clock and the frequency divider. The open and short circuit detection of the LED lamp beads is completed through the above process. By reading the values of the open circuit register and the short circuit register, the current state of the LED lamp beads can be determined. When the value of the open circuit register is 1, it means that the lamp bead LED1 has an open circuit phenomenon. When the value of the short circuit register is 1, it means that the lamp bead LED1 has a short circuit phenomenon. When the open circuit register and the short circuit register are both 0, it means that the lamp bead LED1 is working normally.
[0018] The LED lamp bead open circuit and short circuit detection circuit in the LED driving circuit provided by the utility model realizes the real-time lamp bead open circuit and short circuit detection function by building hardware logic. Each PWM can detect the lamp bead and put the detection data into the chip register. The current status of the LED lamp bead can be confirmed at any time through digital communication.
[0019] The above description is only a preferred embodiment of the present invention, and does not constitute any form of limitation to the present invention. Although the present invention has been disclosed as a preferred embodiment as above, it is not intended to limit the present invention. Any technician familiar with the profession can make some changes or modifications to equivalent embodiments of equivalent changes using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A LED lamp bead open circuit and short circuit detection circuit in an LED drive circuit, It is characterized in that The invention comprises a MOS tube Q1, a lamp bead LED1, a differential operational amplifier OP1, a first comparator OP2 and a second comparator OP3, wherein the gate of the MOS tube Q1 is connected to a PWM control signal, the source of the MOS tube Q1 is grounded, the drain of the MOS tube Q1 is respectively connected to the cathode of the lamp bead LED1 and the first input end of the differential operational amplifier OP1, the anode of the lamp bead LED1 is connected to the second input end of the differential operational amplifier OP1, the output end of the differential operational amplifier OP1 is respectively connected to the negative input end of the first comparator OP2 and the positive input end of the second comparator OP3, the positive input end of the first comparator OP2 is connected to a first reference voltage V1, the negative input end of the second comparator OP3 is connected to a second reference voltage V2, the output end of the first comparator OP2 outputs an open circuit signal, and the output end of the second comparator OP3 outputs a short circuit signal.
2. The LED lamp bead open circuit and short circuit detection circuit in the LED driving circuit according to claim 1, It is characterized in that It also includes a first latch D1, a second latch D2, an open circuit register and a short circuit register, wherein the first input end of the first latch D1 is connected to the open circuit signal output by the first comparator OP2, the second input end of the first latch D1 is connected to the latch signal, the output end of the first latch D1 is connected to the open circuit register, the first input end of the second latch D2 is connected to the short circuit signal output by the second comparator OP3, the second input end of the second latch D2 is connected to the latch signal, and the output end of the second latch D2 is connected to the short circuit register.
3. The LED lamp bead open circuit and short circuit detection circuit in the LED driving circuit according to claim 2, It is characterized in that The latch signal is generated by a frequency divider, a first trigger D3, a second trigger D4 and a third trigger D5. The latch signal lags behind the rising edge of the PWM control signal. The system clock is connected to the first input terminal of the first trigger D3, the first input terminal of the second trigger D4 and the first input terminal of the third trigger D5 respectively through the frequency divider. The second input terminal of the first trigger D3 is connected to the PWM control signal. The output terminal of the first trigger D3 is connected to the second input terminal of the second trigger D4. The output terminal of the second trigger D4 is connected to the second input terminal of the third trigger D5. The output terminal of the third trigger D5 outputs the latch signal.
Citation Information
Cited By
A car single RGB lamp bead atmosphere light driving system based on integrated LDO
CN119743865A
