Fault detection device and method and electronic equipment
By designing alternately sampling and maintaining and outputting analog voltages in the fault detection device, the problem of low detection efficiency of LED strings in the prior art is solved, and efficient voltage detection of multiple LED strings is realized, meeting the real-time fault detection requirements in the automotive field .
Patent Information
- Application Number
- CN202411785974.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2044-12-06
AI Technical Summary
The detection efficiency of LED strings in the prior art is low, which limits the application scenarios of multiple LED strings, especially in the automotive field, and requires real-time detection of faults.
A fault detection device is designed, including a first detection branch and a second detection branch. The analog voltage is alternately sampled and maintained and outputted between the two through the logic control unit, and the digital voltage is judged by an analog-to-digital converter to realize the The voltage detection time of N LED strings is reduced from N×T to N×T/2.
It greatly improves the efficiency of LED string voltage detection, expands the application scenarios of multiple LED strings, and meets the real-time fault detection needs in the automotive field.
Smart Images

Figure CN119277600A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of LED technology, and in particular to a fault detection device, method and electronic equipment. Background Art
[0002] Multi-channel light emitting diode (LED) strings are widely used in lighting, display, decoration, automobile and other fields. Due to the special requirements of LED strings on operating voltage and current, the failure of any LED in the string may cause the entire LED string to fail to work properly. Especially in the field of automotive applications, there are strict functional safety requirements, and real-time detection of LED strings is required to determine whether the LED string has failed.
[0003] In the prior art, the analog voltage of a certain LED string is usually sampled and held first, and then converted into a digital voltage through an analog-to-digital converter (ADC), and the digital voltage is compared with the power supply voltage or the ground terminal. Assuming that the time required to complete a voltage detection of an LED string is T, then T=Tsh+Tconv, Tsh is a sampling and holding time, and Tconv is the time required for the analog-to-digital converter to complete an analog-to-digital conversion. If an electronic device has N LED strings, then the time required to complete the voltage detection of N LED strings is N×T.
[0004] It can be seen that the existing detection methods for LED strings have low detection efficiency. In addition, in some application scenarios, such as pulse width modulation (PWM) dimming scenarios, since it is necessary to confirm that the N LED strings of the electronic device are not faulty, the minimum pulse of PWM dimming needs to be greater than N×T. This further limits the application scenarios of multiple LED strings. Summary of the invention
[0005] The purpose of the present invention is at least to provide a fault detection device, method and electronic equipment, which can improve the detection efficiency of the voltage of the LED string.
[0006] In the first aspect, the present invention provides a fault detection device, comprising: a first detection branch, a second detection branch, an analog-to-digital converter and a logic control unit, wherein: the first detection branch, the input end is coupled to N LED strings; the second detection branch, the input end is coupled to the N LED strings; the analog-to-digital converter is suitable for converting an input analog voltage into a corresponding digital voltage; the logic control unit is suitable for controlling the first detection branch and the second detection branch to sample and hold the analog voltage on the j-th LED string when controlling any one of the first detection branch and the second detection branch to output the analog voltage on the j-th LED string; judging whether the j-th LED string is faulty based on the digital voltage; i and j are both positive integers, and 1≤i≤N, 1≤j≤N.
[0007] Optionally, the first detection branch comprises: a first switch unit, a first capacitor and N sub-paths, wherein: the first switch unit, a first end thereof is coupled to the second ends of the N sub-paths and the first end of the first capacitor, and a second end thereof is coupled to the input end of the analog-to-digital converter; the first capacitor, a second end thereof is grounded; among the N sub-paths, the first end of the i-th sub-path is connected to the i-th LED string, and when the i-th sub-path is turned on, the other sub-paths are disconnected.
[0008] Optionally, the i-th sub-path includes an i-th switch unit; a first end of the i-th switch unit is coupled to a high side or a low side of the i-th LED string, and a second end of the i-th switch unit is coupled to a first end of the first switch unit.
[0009] Optionally, the first detection branch further includes: a first voltage sub-path; the first voltage sub-path, a first end of which inputs the power supply voltage, and a second end of which is coupled to the first end of the first switch unit.
[0010] Optionally, the second detection branch comprises: a second switch unit, a second capacitor and N sub-paths, wherein: the second switch unit, a first end thereof is coupled to the second ends of the N sub-paths and to the first end of the second capacitor, and a second end thereof is coupled to the input end of the analog-to-digital converter; the second end of the second capacitor is grounded; among the N sub-paths, the first end of the i-th sub-path is connected to the i-th LED string, and when the i-th sub-path is turned on, the other sub-paths are disconnected.
[0011] Optionally, the i-th sub-path includes an i-th switch unit; a first end of the i-th switch unit is coupled to a high side or a low side of the i-th LED string, and a second end of the i-th switch unit is coupled to a first end of the second switch unit.
[0012] Optionally, the second detection branch further includes: a second voltage sub-path; the second voltage sub-path, a first end of which inputs the power supply voltage, and a second end of which is coupled to the first end of the second switch unit.
[0013] Optionally, the logic control unit is also suitable for receiving control instructions, controlling the first detection branch to sample and hold the analog electrical signal parameters on the target LED string indicated by the control instructions; and when the second detection branch samples and holds the analog voltage on other LED strings, controlling the first detection branch to output the analog electrical signal parameters on the target LED string to the analog-to-digital converter; the analog electrical signal parameters include analog voltage or analog current.
[0014] In a second aspect, the present invention also provides a fault detection method, which is applied to any of the above-mentioned fault detection devices, comprising: when controlling any one of the first detection branch and the second detection branch to sample and hold the analog voltage on the i-th LED string, controlling the other one of the first detection branch and the second detection branch to sample and hold the analog voltage output on the j-th LED string.
[0015] In a second aspect, the present invention further provides an electronic device, comprising any one of the above-mentioned fault detection devices.
[0016] Compared with the prior art, the technical solution of the present invention has the following beneficial effects: The fault detection device includes a first detection branch and a second detection branch. When the first detection branch samples and holds the analog voltage on the i-th LED string, the second detection branch outputs the sampled and held analog voltage on the j-th LED string to the analog-to-digital converter. Correspondingly, when the first detection branch samples and outputs the analog voltage on the i-th LED string to the analog-to-digital converter, the second detection branch can sample and hold the analog voltage on another LED string. Thus, at a certain detection moment, the first detection branch and the second detection branch respectively perform a sampling and holding operation and a voltage output operation, so that the time required for voltage detection of N LED strings can be greatly reduced, the voltage detection efficiency can be improved, and the application scenarios of multiple LED strings can be expanded. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a structural schematic diagram of a fault detection device in an embodiment of the present invention; Figure 2 is a schematic structural diagram of an LED string in an embodiment of the present invention; Figure 3 It is a schematic diagram of the structure of another LED string in an embodiment of the present invention. DETAILED DESCRIPTION
[0018] As described in the background art, the existing voltage detection method for LED strings is inefficient and limits the application scenarios of multiple LED strings.
[0019] In an embodiment of the present invention, the fault detection device includes a first detection branch and a second detection branch. When the first detection branch samples and holds the analog voltage on the i-th LED string, the second detection branch outputs the sampled and held analog voltage on the j-th LED string to the analog-to-digital converter. Correspondingly, when the first detection branch samples and outputs the analog voltage on the i-th LED string to the analog-to-digital converter, the second detection branch can sample and hold the analog voltage on another LED string. Thus, at a certain detection moment, the first detection branch and the second detection branch respectively perform a sampling and holding operation and a voltage output operation, so that the time required for voltage detection of N LED strings can be greatly reduced, the voltage detection efficiency can be improved, and the application scenarios of multiple LED strings can be expanded.
[0020] In order to make the above-mentioned objects, features and beneficial effects of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0021] The embodiment of the present invention provides a fault detection device, referring to Figure 1 .
[0022] In the embodiment of the present invention, the fault detection device may include: a first detection branch 101, a second detection branch 102, an analog-to-digital converter 103 and a logic control unit 104, wherein: The first detection branch 101, whose input end can be coupled to N LED strings; The second detection branch 102, whose input end can be coupled to N LED strings; The analog-to-digital converter 103 is adapted to convert the input analog voltage into a corresponding digital voltage; The logic control unit 104 is suitable for controlling the other one of the first detection branch 101 and the second detection branch 102 to output the sampled and held analog voltage on the jth LED string to the analog-to-digital converter 103 when controlling any one of the first detection branch 101 and the second detection branch 102 to sample and hold the analog voltage on the i-th LED string.
[0023] The logic control unit 104 may also compare the digital voltage corresponding to the analog voltage on the j-th LED string with the power supply voltage or the reference ground terminal to determine whether the j-th LED string fails.
[0024] In a specific implementation, the above i and j are both positive integers, and 1≤i≤N, 1≤j≤N.
[0025] In the embodiment of the present invention, it is set to perform fault detection on N LED strings within the fault detection time period. At a certain detection moment (such as moment T1) within the fault detection time period, the logic control unit 104 can control the first detection branch 101 to sample and hold the analog voltage on the i-th LED string, and control the second detection branch 102 to output the analog voltage on the j-th LED string that has been sampled and held.
[0026] At the next detection moment (T2 moment) within the fault detection time period, the logic control unit 104 can control the first detection branch 101 to output the analog voltage on the i-th LED string that has been sampled and held, and control the second detection branch 102 to sample and hold another LED string (different from the j-th LED string).
[0027] Therefore, at any detection moment within the fault detection time period, any one of the first detection branch 101 and the second detection branch 102 samples and holds the analog voltage on a certain LED string, and the other of the first detection branch 101 and the second detection branch 102 outputs the analog voltage on the LED string that has been sampled and held.
[0028] In a specific implementation, the output end of the first detection branch 101 and the output end of the second detection branch 102 can be coupled to the input end of the analog-to-digital converter 103. The output end of the first detection branch 101 can be provided with a switch unit, and the output end of the second detection value can be provided with another switch unit. When the logic control unit 104 controls the first detection branch 101 to sample and hold the analog voltage on the i-th LED string, the first detection branch 101 disconnects from the input end of the analog-to-digital converter 103; when the logic control unit 104 controls the second detection branch 102 to output the analog voltage on the j-th LED string that has been sampled and held, the second detection branch 102 establishes a connection with the input end of the analog-to-digital converter 103. The first detection branch 101 and the second detection branch 102 are connected to the input end of the analog-to-digital converter 103 in a time-sharing manner. In other words, the first detection branch 101 and the second detection branch 102 are not connected to the input end of the analog-to-digital converter 103 at the same time.
[0029] In the embodiment of the present invention, the first detection branch 101 may include: a first switch unit SWA, a first capacitor C1 and N sub-paths, wherein: The first end of the first switch unit SWA is coupled to the second ends of the N sub-paths and to the first end of the first capacitor C1; the second end of the first switch unit SWA is coupled to the input end of the analog-to-digital converter 103; A second terminal of the first capacitor C1 is grounded; Among the N sub-paths, the first end of the i-th sub-path is connected to the i-th LED string, and when the i-th sub-path is turned on, the other sub-paths are turned off.
[0030] In a specific implementation, the N sub-paths in the first detection unit correspond to the N LED strings one by one. Each sub-path may include a switch unit. For the i-th sub-path among the N sub-paths, it includes the i-th switch unit; wherein the first end of the i-th switch unit is coupled to the high side or the low side of the i-th LED string, and the second end of the i-th switch unit is coupled to the first end of the first switch unit SWA.
[0031] Reference Figure 2 , a schematic diagram of the structure of an LED string in an embodiment of the present invention is given. Figure 2 In the embodiment, an LED string may include M LED lamps, which are LED1, LED2, ..., LEDM in sequence. The high side of the LED string may refer to the voltage of the positive electrode of LED1; the low side may refer to the negative electrode of LEDM.
[0032] like Figure 2 As shown, the LED string is driven at the low side, and the driving current source I is coupled between the cathode of LEDM and the ground terminal.
[0033] Reference Figure 3 , a schematic diagram of the structure of another LED string in an embodiment of the present invention is given. Figure 3 In the embodiment, the LED string is driven at the high side, and the driving current source I is coupled between the power supply voltage VDD and the positive electrode of LED1.
[0034] In a specific implementation, when the i-th sub-path in the first detection branch 101 is turned on, all other sub-paths in the first detection branch 101 are turned off. When the first switch unit SWA is turned off, the first capacitor C1 can sample and hold the analog voltage on the i-th LED string; when the first switch unit SWA is turned on, the analog voltage sampled and held on the first capacitor C1 (i.e., the analog voltage on the i-th LED string) is output to the analog-to-digital converter 103.
[0035] In a specific implementation, the first detection branch 101 may further include a first voltage sub-path. A first end of the first voltage sub-path is input with a power supply voltage, and a second end of the first voltage sub-path is coupled to a first end of the first switch unit SWA. The first voltage sub-path may include a switch unit (such as Figure 1 When the switch unit S0A is closed, if the first switch unit SWA is open, the first capacitor C1 can sample and hold the power supply voltage; if the first switch unit SWA is closed, the power supply voltage sampled and held in the first capacitor C1 is output to the input end of the analog-to-digital converter 103. Thus, the analog-to-digital converter 103 can obtain the digital voltage corresponding to the power supply voltage.
[0036] In the embodiment of the present invention, the second detection branch 102 may include: a second switch unit SWB, a second capacitor C2 and N sub-paths, wherein: A first end of the second switch unit SWB is coupled to the second ends of the N sub-paths and to the first end of the second capacitor C2; a second end of the second switch unit SWB is coupled to the input end of the analog-to-digital converter 103; A second terminal of the second capacitor C2 is grounded; Among the N sub-paths, the first end of the i-th sub-path is connected to the i-th LED string, and when the i-th sub-path is turned on, the other sub-paths are turned off.
[0037] In a specific implementation, the N sub-paths in the second detection unit correspond to the N LED strings one by one. Each sub-path may include a switch unit. For the i-th sub-path among the N sub-paths, it includes the i-th switch unit; wherein the first end of the i-th switch unit is coupled to the high side or the low side of the i-th LED string, and the second end of the i-th switch unit is coupled to the first end of the first switch unit SWA.
[0038] In a specific implementation, when the j-th sub-path in the second detection branch 102 is turned on, all other sub-paths in the second detection branch 102 are turned off. When the second switch unit SWB is turned off, the second capacitor C2 can sample and hold the analog voltage on the j-th LED string; when the second switch unit SWB is turned on, the analog voltage sampled and held on the second capacitor C2 (i.e., the analog voltage on the j-th LED string) is output to the analog-to-digital converter 103.
[0039] In a specific implementation, the second detection branch 102 may further include a second voltage sub-path. A first end of the second voltage sub-path is input with a power supply voltage, and a second end of the second voltage sub-path is coupled to a first end of a second switch unit SWB. The second voltage sub-path may include a switch unit (such as Figure 1 When the switch unit S0B in the first embodiment is closed, if the second switch unit SWB is open, the second capacitor C2 can sample and hold the power supply voltage; if the third switch unit is closed, the power supply voltage sampled and held in the second capacitor C2 is output to the input end of the analog-to-digital converter 103. Thus, the analog-to-digital converter 103 can obtain the digital voltage corresponding to the power supply voltage.
[0040] In the embodiment of the present invention, when the first switch unit SWA is closed, the second switch unit SWB is open. When the first switch unit SWA is open, the second switch unit SWB is closed. Thus, the first detection unit and the second detection unit are not coupled to the input end of the analog-to-digital converter 103 at the same time.
[0041] The working principle and process of the fault detection device provided in the above embodiment of the present invention are exemplarily described below.
[0042] In the first detection branch, the switch units on the N sub-paths are S1A, S2A, ..., SNA in sequence. In the second detection branch, the switch units on the N sub-paths are S1B, S2B, ..., SNB in sequence.
[0043] At time T0, in the first detection branch, the switch unit S0A is turned on, the first switch unit SWA is turned off, and the first capacitor C1 samples and holds the power supply voltage. In the second detection branch, the second switch unit SWB may be in an open state. Alternatively, the second switch unit SWB is closed, at which time the analog voltage obtained by the analog-to-digital converter is 0.
[0044] At time T1, in the first detection branch, the switch unit S0A is turned off, the first switch unit SWA is turned on, and the power supply voltage sampled and held in the first capacitor C1 is output to the analog-to-digital converter. In the second detection branch, the switch unit S1B is turned on, the second switch unit SWB is turned off, and the second capacitor C2 samples and holds the voltage VLED1 on the first LED string.
[0045] At time T2, in the first detection branch, the switch unit S2A is turned on, the first switch unit SWA is turned off, and the first capacitor C1 samples and holds the voltage VLED2 on the second LED string. In the second detection branch, the switch unit S1B is turned off, the second switch unit SWB is turned on, and the VLED1 that has been sampled and held in the second capacitor C2 is output to the analog-to-digital converter.
[0046] At time T3, in the first detection branch, the switch S2A is turned off, the first switch unit SWA is turned on, and the VLED2 sampled and held in the first capacitor C1 is output to the analog-to-digital converter. In the second detection branch, the switch unit S3B is turned on, the second switch unit SWB is turned off, and the second capacitor C2 samples and holds the voltage VLED3 on the third LED string.
[0047] And so on, the voltage detection of N LED strings is realized.
[0048] It can be seen that during the fault detection period, when one of the first detection branch and the second detection branch performs a sample-and-hold operation, the other can output the sampled and held analog voltage to the analog-to-digital converter. Therefore, the time required for voltage detection of N LED strings is: N×T / 2. Compared with N×T in the prior art, the time required for voltage detection of N LED strings is greatly reduced.
[0049] In the embodiment of the present invention, the above Figure 1In the provided fault detection device, the first voltage sub-path can also be used to input analog electrical signal parameters, and the analog electrical signal parameters can include a voltage representing the chip temperature, a voltage of a certain pin, a current, etc. Thus, the chip temperature can be detected, and the voltage and current of a certain pin can also be detected by the above-mentioned fault detection device.
[0050] Therefore, while realizing voltage detection of the LED string, detection of other parameters can also be realized.
[0051] It should be noted that, in some embodiments, if the capacitance of the first capacitor C1 / the second capacitor C2 is relatively small, then when the sampled and held analog voltage is output to the analog-to-digital converter, the corresponding switch unit may be in a closed state.
[0052] For example, at the above-mentioned time T1, in the first detection branch, when the first switch unit SWA is closed, the switch unit S0A continues to be in the on state. At the time T2, the first switch unit SWA and the switch unit S0A are both disconnected.
[0053] For another example, at the above-mentioned time T3, in the first detection branch, the first switch unit SWA is closed, and the switch S2A continues to be in the on state.
[0054] An embodiment of the present invention also provides a fault detection method, which is applied to the fault detection device provided in the above embodiment, including: during a fault detection time period, when controlling any one of the first detection branch and the second detection branch to sample and hold the analog voltage on the i-th LED string, controlling the other one of the first detection branch and the second detection branch to sample and hold the analog voltage output on the j-th LED string.
[0055] In a specific implementation, the above fault detection method can be executed by the logic control unit 104 in the fault detection device.
[0056] An embodiment of the present invention further provides an electronic device, comprising the fault detection device provided by any of the above embodiments.
[0057] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A fault detection device, characterized in that: include: A first detection branch, a second detection branch, an analog-to-digital converter, and a logic control unit, wherein: The first detection branch, whose input end is coupled to the N LED strings, comprises: a first switch unit, a first capacitor and N sub-paths, wherein: the first switch unit, whose first end is coupled to the second ends of the N sub-paths and the first end of the first capacitor, and whose second end is coupled to the input end of the analog-to-digital converter; the first capacitor, whose second end is grounded; among the N sub-paths of the first detection branch, the first end of the i-th sub-path is connected to the i-th LED string, and when the i-th sub-path is turned on, the other sub-paths are turned off; The second detection branch, whose input end is coupled to the N LED strings, comprises: a second switch unit, a second capacitor and N sub-paths, wherein: the second switch unit, whose first end is coupled to the second ends of the N sub-paths and the first end of the second capacitor, and whose second end is coupled to the input end of the analog-to-digital converter; the second capacitor, whose second end is grounded; among the N sub-paths of the second detection branch, the first end of the i-th sub-path is connected to the i-th LED string, and when the i-th sub-path is turned on, the other sub-paths are disconnected; The analog-to-digital converter is adapted to convert an input analog voltage into a corresponding digital voltage; A logic control unit is adapted to control the other of the first detection branch and the second detection branch to sample and hold the analog voltage output of the j-th LED string when controlling any one of the first detection branch and the second detection branch to sample and hold the analog voltage on the i-th LED string; and to determine whether the j-th LED string is faulty based on the digital voltage; i and j are both positive integers, and 1≤i≤N, 1≤j≤N.
2. The fault detection device according to claim 1, characterized in that: The i-th sub-path includes an i-th switch unit; a first end of the i-th switch unit is coupled to a high side or a low side of the i-th LED string, and a second end of the i-th switch unit is coupled to a first end of the first switch unit.
3. The fault detection device according to claim 1 or 2, characterized in that: The first detection branch further includes: a first voltage sub-path; a first end of the first voltage sub-path is input with a power supply voltage, and a second end of the first voltage sub-path is coupled to the first end of the first switch unit.
4. The fault detection device according to claim 1, characterized in that: The i-th sub-path includes an i-th switch unit; a first end of the i-th switch unit is coupled to a high side or a low side of the i-th LED string, and a second end of the i-th switch unit is coupled to a first end of the second switch unit.
5. The fault detection device according to claim 1 or 4, characterized in that: The second detection branch further includes: a second voltage sub-path; the second voltage sub-path has a first end input with a power supply voltage and a second end coupled to the first end of the second switch unit.
6. The fault detection device according to claim 1, characterized in that: The logic control unit is further adapted to receive a control instruction, control the first detection branch to sample and hold the analog electrical signal parameter on the target LED string indicated by the control instruction; and control the first detection branch to output the analog electrical signal parameter on the target LED string to the analog-to-digital converter when the second detection branch samples and holds the analog voltage on other LED strings; The analog electrical signal parameter includes an analog voltage or an analog current.
7. A fault detection method, characterized in that: The fault detection device according to any one of claims 1 to 6 comprises: During the fault detection time period, when any one of the first detection branch and the second detection branch is controlled to sample and hold the analog voltage on the i-th LED string, the other one of the first detection branch and the second detection branch is controlled to sample and hold the analog voltage output on the j-th LED string.
8. An electronic device, characterized in that: It comprises a fault detection device as described in any one of claims 1 to 6.
Citation Information
Patent Citations
LED driver, and fault protection circuit and fault protection method for LED driver
CN105307353A
LED detection device, system and method
CN108391343A
LED lamp string fault detection device and fault detection and treatment method
CN109219198A
Fault diagnosis system of current sampling resistor circuit
CN111722148A
Backlight LED matrix driving device for display and fault detection method
CN114170978A