A PN voltage detection circuit and detection method for multi-channel LEDs

By designing a PN voltage detection circuit for time-sharing multiplexed driving current in multi-channel LED applications, using differential operations and ADC to directly measure the LED voltage, the problems of high-voltage sampling and additional measurement of current are solved, and accurate measurement and cost reduction are achieved effect.

CN118731474BActive Publication Date: 2024-12-03DIOO MICROCIRCUITS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411205121.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-03
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

The prior art requires high-voltage sampling circuits in multi-channel LED applications, which leads to high hardware costs and is not conducive to miniaturization, and requires additional measurement of current, affecting the normal operation of the LED.

Method used

Design a PN voltage detection circuit for multi-channel LEDs. By time-sharing multiplexing driving current, using differential computing circuits and ADCs without high-voltage sampling circuits, they directly measure the anode and cathode voltages of the LEDs, and realize PN through voltage division circuits and PWM control circuits. Accurate measurement of voltage.

Benefits of technology

It realizes accurate measurement of the PN voltage of multi-channel LED without affecting the normal operation of the LED, reducing hardware costs and improving brightness and color consistency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118731474B_ABST
    Figure CN118731474B_ABST
Patent Text Reader

Abstract

The invention discloses a PN voltage detection circuit for a multi-channel LED, comprising a plurality of LED measurement control circuits, a differential operation circuit, an ADC and a controller, wherein the plurality of LED measurement control circuits are equal to the number of LED channels and correspond one to one, each LED measurement control circuit collects an LED anode voltage and inputs it to a first input end of the differential operation circuit, each LED measurement control circuit collects an LED cathode voltage and inputs it to a second input end of the differential operation circuit, an output end of the differential operation circuit is connected to an input end of the ADC, and an output end of the ADC is connected to an input end of the controller. The invention can accurately measure the PN voltage of the LED without affecting the normal operation of the LED by time-division multiplexing of the driving current, without requiring an additional measurement current or a high-voltage sampling circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a voltage detection circuit and a detection method, in particular to a PN voltage detection circuit and a detection method for a multi-channel LED, belonging to the technical field of semiconductor integrated circuits. Background Art

[0002] As LED applications and application methods in automobiles continue to update and break through, the use of atmosphere lights in automobiles has also attracted the attention of consumers. In order to create a specific atmosphere, LEDs need to be able to accurately display the expected color, which requires LEDs to have high color purity and meet specific color coordinate requirements. When LEDs emit light, they will dissipate a lot of heat through the mounting surface, resulting in unstable temperature of the LEDs. Due to the temperature characteristics of LEDs, their brightness and color coordinates drift, which not only weakens the accuracy of the luminous color, but also indirectly affects the overall effect of creating the atmosphere of the interior space. Therefore, designers need to adjust the color or brightness to maintain the desired color.

[0003] The forward voltage of LED has a negative temperature coefficient, that is, it decreases as the temperature rises. Therefore, by measuring the forward voltage of LED, the temperature inside the LED can be obtained, thereby further calibrating the color deviation. And by monitoring the LED PN voltage, it is helpful to find and prevent faults in time. Abnormal PN voltage values ​​can help quickly locate LED faults, such as open circuit, short circuit, performance degradation and other problems. Therefore, a high-precision PN voltage measurement method is very critical in the application of ambient lighting.

[0004] The constant current source measurement method is generally considered to be the most commonly used method. Because it can directly reflect the forward conduction voltage of the LED under specified working conditions, the existing technology usually adds a constant current source to measure and uses a high-voltage sampling circuit to collect the PN voltage, but the high-voltage sampling circuit requires the use of high-voltage devices, and the area of ​​the high-voltage tube will increase many times compared to the low-voltage tube, especially in multi-channel applications, which will greatly increase the hardware cost and is not conducive to the development trend of miniaturization. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a PN voltage detection circuit and a detection method for a multi-channel LED, which do not require additional measurement current and high-voltage sampling circuits.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0007] A PN voltage detection circuit for a multi-channel LED comprises a plurality of LED measurement control circuits, a differential operation circuit, an ADC and a controller. The plurality of LED measurement control circuits are equal in number to the LED channels and correspond one to one. Each LED measurement control circuit collects an LED anode voltage and inputs it to a first input end of the differential operation circuit. Each LED measurement control circuit collects an LED cathode voltage and inputs it to a second input end of the differential operation circuit. The output end of the differential operation circuit is connected to an input end of the ADC, and the output end of the ADC is connected to an input end of the controller.

[0008] Furthermore, the LED measurement control circuit includes a driving constant current source I1, a driving constant current source I2, a driving switch S1, a driving switch S2, a PWM control circuit, a measurement control circuit, a first voltage divider circuit and a second voltage divider circuit. The anode of the LED to be measured is connected to the battery voltage VBAT and the input end of the second voltage divider circuit, the cathode of the LED to be measured is connected to one end of the driving switch S1, one end of the driving switch S2 and the input end of the first voltage divider circuit, the other end of the driving switch S1 is connected to one end of the driving constant current source I1, the other end of the driving switch S2 is connected to one end of the driving constant current source I2, the other end of the driving constant current source I1 and the other end of the driving constant current source I2 are grounded, the output end of the PWM control circuit is connected to the control end of the driving switch S1 and the control end of the driving switch S2, the output end of the measurement control circuit is connected to the control end of the driving switch S2, the output end of the first voltage divider circuit is connected to the first input end of the differential operation circuit, and the output end of the second voltage divider circuit is connected to the second input end of the differential operation circuit.

[0009] Furthermore, the LED measurement control circuit includes an LED driving path and an LED measurement path, the LED to be tested, the driving constant current source I1, the driving constant current source I2, the driving switch S1, the driving switch S2, the PWM control circuit, the first voltage divider circuit and the second voltage divider circuit constitute the LED driving path, the driving constant current source I1 and the driving constant current source I2 together constitute the LED driving constant current source and the current of the driving constant current source I1 is much greater than the current of the driving constant current source I2; the LED to be tested, the driving constant current source I2, the driving switch S2 and the measurement control circuit constitute the LED measurement path.

[0010] Furthermore, the LED measurement control circuit comprises a driving constant current source I0, an NMOS tube N1, an NMOS tube N2, an NMOS tube N3, an NMOS tube N4, an NMOS tube N5, an NMOS tube N6, an NMOS tube N7, an OR gate A1, a resistor R1, a resistor R2, a resistor R3 and a resistor R4, one end of the driving constant current source I0 is connected to a power supply VDD, the other end of the driving constant current source I0 is connected to a drain of the NMOS tube N1, a gate of the NMOS tube N1, a gate of the NMOS tube N2 and a gate of the NMOS tube N4, the drain of the NMOS tube N2 is connected to a source of the NMOS tube N3, the gate of the NMOS tube N3 is connected to an output signal PWM1 of a PWM control circuit, the drain of the NMOS tube N3 is connected to a cathode of an LED to be measured, a drain of the NMOS tube N5 and one end of the resistor R2, the gate of the NMOS tube N5 is connected to an output end of the OR gate A1 and inputs a control signal PN1, and a first terminal of the OR gate A1 is connected to a control signal PN2. The input end is connected to the output signal PWM1 of the PWM control circuit, the second input end of the OR gate A1 is connected to the output signal SEL1 of the measurement control circuit, the source of the NMOS tube N5 is connected to the drain of the NMOS tube N4, the other end of the resistor R2 is connected to one end of the resistor R1 and the inverting input end of the differential operation circuit and generates an input signal VN, the other end of the resistor R1 is connected to the drain of the NMOS tube N6, the gate of the NMOS tube N6 is connected to the control signal PN1, one end of the resistor R4 is connected to the battery voltage VBAT, the other end of the resistor R4 is connected to one end of the resistor R3 and the non-inverting input end of the differential operation circuit and generates an input signal VP, the other end of the resistor R3 is connected to the drain of the NMOS tube N7, the gate of the NMOS tube N7 is connected to the control signal PN1, and the source of the NMOS tube N1, the source of the NMOS tube N2, the source of the NMOS tube N4, the source of the NMOS tube N6 and the source of the NMOS tube N7 are grounded.

[0011] Furthermore, the NMOS tube N1 and the NMOS tube N2 form a first current mirror, and the ratio of the width-to-length ratio of the NMOS tube N2 to the width-to-length ratio of the NMOS tube N1 is 1:m1, then the current I1 flowing through the NMOS tube N2 = m1*I0, and I0 is the current driving the constant current source I0.

[0012] Furthermore, the NMOS transistor N1 and the NMOS transistor N4 form a second current mirror, and the ratio of the width-to-length ratio of the NMOS transistor N4 to the width-to-length ratio of the NMOS transistor N1 is 1:m2, and the current I2 flowing through the NMOS transistor N4 is m2*I0.

[0013] A PN voltage detection method for a multi-channel LED based on a PN voltage detection circuit for a multi-channel LED comprises the following steps:

[0014] In the LED driving stage, the PWM control circuit outputs a signal PWM1 to control the driving switch S1 and the driving switch S2;

[0015] When the PWM control circuit output signal PWM1 is at a high level, the driving switch S1 is closed, the driving switch S2 is closed, and the driving constant current source I1 and the driving constant current source I2 together constitute the LED driving constant current source;

[0016] When the PWM control circuit output signal PWM1 is at a low level, the drive switch S1 is disconnected and the drive switch S2 is disconnected;

[0017] In the LED measurement phase, the measurement control circuit outputs a signal PN1 to control the drive switch S2;

[0018] When the output signal PN1 of the measurement control circuit is at a high level, the driving switch S1 is disconnected, the driving switch S2 is closed, and the driving constant current source I2 forms an LED test constant current source;

[0019] The first voltage divider circuit and the second voltage divider circuit output the collected voltage across the LED to be tested to the differential operation circuit, the differential operation circuit sets the PN voltage of the LED to be tested to a suitable voltage range and inputs it into the ADC, the ADC converts the voltage signal into a digital signal and transmits it to the processor, and the processor calculates and obtains the PN voltage of the LED to be tested;

[0020] At the end of the measurement phase, the measurement control circuit output signal PN1 is low level, and the drive switch S2 is disconnected;

[0021] During multi-channel measurement, at the same time, the measurement control circuit output signal PN1 of only one channel is high level, and multi-channel measurement is performed sequentially.

[0022] Compared with the prior art, the present invention has the following advantages and effects: the present application provides a PN voltage detection circuit and detection method for a multi-channel LED, which can accurately measure the PN voltage of the LED without affecting the normal operation of the LED by time-division multiplexing of the driving current, without the need for additional measurement current and high-voltage sampling circuit; based on the collected multi-channel data, the system can more finely adjust the driving current of each LED to achieve consistency in overall brightness and color. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a schematic diagram of a PN voltage detection circuit of a multi-channel LED of the present invention.

[0024] Figure 2 It is a schematic diagram of the LED measurement control circuit of the present invention.

[0025] Figure 3 It is a circuit diagram of the LED measurement control circuit of the present invention.

[0026] Figure 4It is a schematic diagram of voltage waveforms of a PN voltage detection circuit for a multi-channel LED of the present invention. DETAILED DESCRIPTION

[0027] In order to elaborate on the technical scheme adopted by the present invention to achieve the predetermined technical purpose, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only partial embodiments of the present invention, rather than all embodiments, and the technical means or technical features in the embodiments of the present invention can be replaced without paying creative work. The present invention will be described in detail below with reference to the drawings and in conjunction with the embodiments.

[0028] like Figure 1 As shown, a PN voltage detection circuit of a multi-channel LED of the present invention comprises a plurality of LED measurement control circuits, a differential operation circuit, an ADC and a controller. The plurality of LED measurement control circuits are equal to the number of LED channels and correspond one to one. Each LED measurement control circuit collects the LED anode voltage and inputs it to the first input end of the differential operation circuit. Each LED measurement control circuit collects the LED cathode voltage and inputs it to the second input end of the differential operation circuit. The output end of the differential operation circuit is connected to the input end of the ADC. The differential operation circuit sets the collected multi-channel LED voltage to a suitable voltage range for ADC processing. The voltage converted by the operational amplifier is sent to the ADC (analog-to-digital converter). The output end of the ADC is connected to the input end of the controller. The ADC converts the received voltage signal into a digital signal that is convenient for the processor to process. The processor receives the ADC data. The processor is equipped with a powerful data processing capability for managing and parsing digital signals from multiple channels. It contains complex algorithms to realize simultaneous monitoring and analysis of all LED states. Based on the collected multi-channel data, the system can more finely adjust the driving current of each LED to achieve overall brightness and color consistency.

[0029] like Figure 2As shown, the LED measurement control circuit includes a driving constant current source I1, a driving constant current source I2, a driving switch S1, a driving switch S2, a PWM control circuit, a measurement control circuit, a first voltage divider circuit and a second voltage divider circuit. The anode of the LED to be measured is connected to the battery voltage VBAT and the input end of the second voltage divider circuit, the cathode of the LED to be measured is connected to one end of the driving switch S1, one end of the driving switch S2 and the input end of the first voltage divider circuit, the other end of the driving switch S1 is connected to one end of the driving constant current source I1, the other end of the driving switch S2 is connected to one end of the driving constant current source I2, the other end of the driving constant current source I1 and the other end of the driving constant current source I2 are grounded, the output end of the PWM control circuit is connected to the control end of the driving switch S1 and the control end of the driving switch S2, the output end of the measurement control circuit is connected to the control end of the driving switch S2, the output end of the first voltage divider circuit is connected to the first input end of the differential operation circuit, and the output end of the second voltage divider circuit is connected to the second input end of the differential operation circuit.

[0030] The LED measurement control circuit includes an LED driving path and an LED measuring path. The LED to be tested, the driving constant current source I1, the driving constant current source I2, the driving switch S1, the driving switch S2, the PWM control circuit, the first voltage divider circuit and the second voltage divider circuit constitute the LED driving path. The driving constant current source I1 and the driving constant current source I2 together constitute the LED driving constant current source and the current of the driving constant current source I1 is much larger than the current of the driving constant current source I2; the LED to be tested, the driving constant current source I2, the driving switch S2 and the measurement control circuit constitute the LED measurement path.

[0031] A PN voltage detection method for a multi-channel LED based on a PN voltage detection circuit for a multi-channel LED comprises the following steps:

[0032] In the LED driving stage, the PWM control circuit outputs a signal PWM1 to control the driving switch S1 and the driving switch S2.

[0033] When the PWM control circuit output signal PWM1 is at a high level, the driving switch S1 is closed, the driving switch S2 is closed, and the driving constant current source I1 and the driving constant current source I2 together constitute an LED driving constant current source.

[0034] When the PWM control circuit output signal PWM1 is at a low level, the driving switch S1 is turned off, and the driving switch S2 is turned off.

[0035] In the LED measurement phase, the measurement control circuit outputs a signal PN1 to control the driving switch S2.

[0036] When the measurement control circuit output signal PN1 is at a high level, the drive switch S1 is opened, the drive switch S2 is closed, and the drive constant current source I2 forms an LED test constant current source.

[0037] The first voltage divider circuit and the second voltage divider circuit output the collected voltage across the LED to be tested to the differential operation circuit. The differential operation circuit sets the PN voltage of the LED to be tested to a suitable voltage range and inputs it into the ADC. The ADC converts the voltage signal into a digital signal and transmits it to the processor. The processor calculates and obtains the PN voltage of the LED to be tested.

[0038] At the end of the measurement phase, the measurement control circuit output signal PN1 is at a low level, and the drive switch S2 is turned off.

[0039] During multi-channel measurement, at the same time, the measurement control circuit output signal PN1 of only one channel is high level, and multi-channel measurement is performed sequentially.

[0040] like Figure 3 As shown, the LED measurement control circuit includes a driving constant current source I0, an NMOS tube N1, an NMOS tube N2, an NMOS tube N3, an NMOS tube N4, an NMOS tube N5, an NMOS tube N6, an NMOS tube N7, an OR gate A1, a resistor R1, a resistor R2, a resistor R3 and a resistor R4, one end of the driving constant current source I0 is connected to a power supply VDD, the other end of the driving constant current source I0 is connected to a drain of the NMOS tube N1, a gate of the NMOS tube N1, a gate of the NMOS tube N2 and a gate of the NMOS tube N4, the drain of the NMOS tube N2 is connected to a source of the NMOS tube N3, the gate of the NMOS tube N3 is connected to an output signal PWM1 of a PWM control circuit, the drain of the NMOS tube N3 is connected to a cathode of an LED to be measured, a drain of the NMOS tube N5 and one end of the resistor R2, the gate of the NMOS tube N5 is connected to an output end of the OR gate A1 and inputs a control signal PN1, and a first input of the OR gate A1 is connected to a control signal PN1. The first end of the resistor R2 is connected to the output signal PWM1 of the PWM control circuit, the second input end of the OR gate A1 is connected to the output signal SEL1 of the measurement control circuit, the source of the NMOS tube N5 is connected to the drain of the NMOS tube N4, the other end of the resistor R2 is connected to one end of the resistor R1 and the inverting input end of the differential operation circuit to generate an input signal VN, the other end of the resistor R1 is connected to the drain of the NMOS tube N6, the gate of the NMOS tube N6 is connected to the control signal PN1, one end of the resistor R4 is connected to the battery voltage VBAT, the other end of the resistor R4 is connected to one end of the resistor R3 and the non-inverting input end of the differential operation circuit to generate an input signal VP, the other end of the resistor R3 is connected to the drain of the NMOS tube N7, the gate of the NMOS tube N7 is connected to the control signal PN1, the source of the NMOS tube N1, the source of the NMOS tube N2, the source of the NMOS tube N4, the source of the NMOS tube N6 and the source of the NMOS tube N7 are grounded.

[0041] The NMOS tube N1 and the NMOS tube N2 form a first current mirror, and the ratio of the width-to-length ratio of the NMOS tube N2 to the width-to-length ratio of the NMOS tube N1 is 1:m1. Then the current I1 flowing through the NMOS tube N2 = m1*I0, and I0 is the current driving the constant current source I0.

[0042] The NMOS transistor N1 and the NMOS transistor N4 form a second current mirror. The ratio of the width to length of the NMOS transistor N4 to the width to length of the NMOS transistor N1 is 1:m2. Therefore, the current I2 flowing through the NMOS transistor N4 = m2*I0.

[0043] In the above embodiment, NMOS tube N3 is a driving current switch tube, namely, driving switch S1. NMOS tube N5 is a measuring current switch tube, namely, driving switch S2. Driving switches S1 and S2 can also be replaced by PMOS tubes or triodes. NMOS tube N6 and NMOS tube N7 are voltage divider switch tubes.

[0044] In the driving stage, the output signal PWM1 of the PWM control circuit is high, the NMOS tube N3 is turned on, the NMOS tube N5 is turned on, and the driving current flowing through the LED is the sum of the currents of the NMOS tubes N2 and NMOS tubes N4, that is, ILED=I1+I2=(m1+m2)*I0.

[0045] When the output signal PWM1 of the PWM control circuit is at a low level and the output signal SEL1 of the measurement control circuit is at a low level, the NMOS tubes N3, NMOS tubes N5, NMOS tubes N6 and NMOS tubes N7 are disconnected, no current flows through the LED, the test does not light up the LED, and no measurement sampling is performed.

[0046] When the output signal PWM1 of the PWM control circuit is at a low level and the output signal SEL1 of the measurement control circuit is at a high level, the control signal PN1 is at a high level, the NMOS tube N3 is disconnected, the NMOS tube N5 is closed, the NMOS tube N6 is closed, and the NMOS tube N7 is closed. The driving current flowing through the LED is the current of the NMOS tube N2, that is, ILED=I2=m2*I0; the NMOS tube N6 and the NMOS tube N7 are used as switch tubes with a width-to-length ratio as large as possible, and the drain-source voltage drop can be ignored when turned on.

[0047] The voltage of the input signal VP at the same-direction input terminal of the operational amplifier circuit is the voltage-divided value of the battery voltage VBAT.

[0048] .

[0049] The voltage of the input signal VN at the reverse input terminal of the operational amplifier circuit is the voltage-divided value of the LED cathode voltage VLED.

[0050] .

[0051] Operational amplifier circuit input voltage drop .

[0052] As long as the voltage ratio is satisfied , then the operational amplifier circuit input voltage difference ,in is the PN voltage of the LED.

[0053] Op amp output voltage ; Where a0 is the amplification factor of the operational amplifier, and different amplification ratios can be configured according to different working conditions.

[0054] Among them, the operational amplifier can be single-ended output or dual-ended output; the resistor voltage divider ratio and the operational amplifier gain can be adjusted according to different application environments.

[0055] During multi-channel measurement, only one channel selection signal SELn is at a high level at the same time, that is, only one channel is measured at the same time, and the measurement is performed sequentially. Multiple channels can be measured sequentially in one cycle, or one channel can be measured in one cycle, and multiple cycles can be measured sequentially.

[0056] The ADC converts the measured voltage into a digital signal that is convenient for the processor to calculate. The processor adjusts the brightness and color of the LED in time according to the received digital signal. Therefore, through this circuit, the forward conduction voltage of the LED can be measured for temperature compensation to maintain the accuracy of color mixing.

[0057] The present application provides a PN voltage detection circuit and detection method for a multi-channel LED. By time-division multiplexing the driving current, no additional measurement current is required, and no high-voltage sampling circuit is required. The PN voltage of the LED can be accurately measured without affecting the normal operation of the LED. Based on the collected multi-channel data, the system can more finely adjust the driving current of each LED to achieve consistency in overall brightness and color.

[0058] The above is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent replacement and improvement made to the above embodiments without departing from the content of the technical solution of the present invention, based on the technical essence of the present invention, within the spirit and principles of the present invention, still fall within the protection scope of the technical solution of the present invention.

Claims

1. A PN voltage detection circuit for a multi-channel LED, characterized in that: It comprises a plurality of LED measurement control circuits, a differential operation circuit, an ADC and a controller. The plurality of LED measurement control circuits are equal in number to the LED channels and correspond one to one. Each LED measurement control circuit collects the LED anode voltage and inputs it to the first input end of the differential operation circuit. Each LED measurement control circuit collects the LED cathode voltage and inputs it to the second input end of the differential operation circuit. The output end of the differential operation circuit is connected to the input end of the ADC, and the output end of the ADC is connected to the input end of the controller. The LED measurement control circuit comprises a driving constant current source I1, a driving constant current source I2, a driving switch S1, a driving switch S2, a PWM control circuit, a measurement control circuit, a first voltage divider circuit and a second voltage divider circuit, the anode of the LED to be measured is connected to the battery voltage VBAT and the input end of the second voltage divider circuit, the cathode of the LED to be measured is connected to one end of the driving switch S1, one end of the driving switch S2 and the input end of the first voltage divider circuit, the other end of the driving switch S1 is connected to one end of the driving constant current source I1, the other end of the driving switch S2 is connected to one end of the driving constant current source I2, the other end of the driving constant current source I1 and the other end of the driving constant current source I2 are grounded, the output end of the PWM control circuit is connected to the control end of the driving switch S1 and the control end of the driving switch S2, the output end of the measurement control circuit is connected to the control end of the driving switch S2, the output end of the first voltage divider circuit is connected to the first input end of the differential operation circuit, and the output end of the second voltage divider circuit is connected to the second input end of the differential operation circuit; The LED measurement control circuit includes an LED driving path and an LED measuring path. The LED to be tested, the driving constant current source I1, the driving constant current source I2, the driving switch S1, the driving switch S2, the PWM control circuit, the first voltage divider circuit and the second voltage divider circuit constitute the LED driving path. The driving constant current source I1 and the driving constant current source I2 together constitute the LED driving constant current source and the current of the driving constant current source I1 is much larger than the current of the driving constant current source I2; the LED to be tested, the driving constant current source I2, the driving switch S2 and the measurement control circuit constitute the LED measurement path.

2. The PN voltage detection circuit of a multi-channel LED according to claim 1, characterized in that: The LED measurement control circuit comprises a driving constant current source I0, an NMOS tube N1, an NMOS tube N2, an NMOS tube N3, an NMOS tube N4, an NMOS tube N5, an NMOS tube N6, an NMOS tube N7, an OR gate A1, a resistor R1, a resistor R2, a resistor R3 and a resistor R4, one end of the driving constant current source I0 is connected to a power supply VDD, the other end of the driving constant current source I0 is connected to a drain of the NMOS tube N1, a gate of the NMOS tube N1, a gate of the NMOS tube N2 and a gate of the NMOS tube N4, the drain of the NMOS tube N2 is connected to a source of the NMOS tube N3, the gate of the NMOS tube N3 is connected to an output signal PWM1 of a PWM control circuit, the drain of the NMOS tube N3 is connected to a cathode of an LED to be measured, a drain of the NMOS tube N5 and one end of the resistor R2, the gate of the NMOS tube N5 is connected to an output end of the OR gate A1 and inputs a control signal PN1, and a first input of the OR gate A1 is connected to a control signal PN2. The first end of the resistor R2 is connected to the output signal PWM1 of the PWM control circuit, the second input end of the OR gate A1 is connected to the output signal SEL1 of the measurement control circuit, the source of the NMOS tube N5 is connected to the drain of the NMOS tube N4, the other end of the resistor R2 is connected to one end of the resistor R1 and the inverting input end of the differential operation circuit to generate an input signal VN, the other end of the resistor R1 is connected to the drain of the NMOS tube N6, the gate of the NMOS tube N6 is connected to the control signal PN1, one end of the resistor R4 is connected to the battery voltage VBAT, the other end of the resistor R4 is connected to one end of the resistor R3 and the non-inverting input end of the differential operation circuit to generate an input signal VP, the other end of the resistor R3 is connected to the drain of the NMOS tube N7, the gate of the NMOS tube N7 is connected to the control signal PN1, the source of the NMOS tube N1, the source of the NMOS tube N2, the source of the NMOS tube N4, the source of the NMOS tube N6 and the source of the NMOS tube N7 are grounded.

3. The PN voltage detection circuit of a multi-channel LED according to claim 2, characterized in that: The NMOS tube N1 and the NMOS tube N2 form a first current mirror, and the ratio of the width-to-length ratio of the NMOS tube N2 to the width-to-length ratio of the NMOS tube N1 is 1:m1, then the current I1 flowing through the NMOS tube N2 = m1*I0, and I0 is the current driving the constant current source I0.

4. The PN voltage detection circuit of a multi-channel LED according to claim 3, characterized in that: The NMOS tube N1 and the NMOS tube N4 form a second current mirror. The ratio of the width to length ratio of the NMOS tube N4 to the width to length ratio of the NMOS tube N1 is 1:m2. Then, the current I2 flowing through the NMOS tube N4 = m2*I0.

5. A PN voltage detection method for a multi-channel LED based on the PN voltage detection circuit for a multi-channel LED according to any one of claims 1 to 4, characterized in that The following steps are involved: In the LED driving stage, the PWM control circuit outputs a signal PWM1 to control the driving switch S1 and the driving switch S2; When the PWM control circuit output signal PWM1 is at a high level, the driving switch S1 is closed, the driving switch S2 is closed, and the driving constant current source I1 and the driving constant current source I2 together constitute the LED driving constant current source; When the PWM control circuit output signal PWM1 is at a low level, the drive switch S1 is disconnected and the drive switch S2 is disconnected; In the LED measurement phase, the measurement control circuit outputs a signal PN1 to control the drive switch S2; When the output signal PN1 of the measurement control circuit is at a high level, the driving switch S1 is disconnected, the driving switch S2 is closed, and the driving constant current source I2 forms an LED test constant current source; The first voltage divider circuit and the second voltage divider circuit output the collected voltage across the LED to be tested to the differential operation circuit, the differential operation circuit sets the PN voltage of the LED to be tested to a suitable voltage range and inputs it into the ADC, the ADC converts the voltage signal into a digital signal and transmits it to the processor, and the processor calculates and obtains the PN voltage of the LED to be tested; At the end of the measurement phase, the measurement control circuit output signal PN1 is low level, and the drive switch S2 is disconnected; During multi-channel measurement, at the same time, the measurement control circuit output signal PN1 of only one channel is high level, and multi-channel measurement is performed sequentially.

Citation Information

Patent Citations

  • LED constant-current driving circuit of multi-path self-adaptive loads

    CN103874296A

  • Voltage measuring method and voltage measuring circuit

    CN109856524A