Disclosure of Invention
The invention aims to provide a method and a device for diagnosing faults of an LED lamp based on light-emitting characteristics, which can detect potential faults which cannot be identified by human eyes in the LED lamp.
Therefore, the invention provides a fault diagnosis method of an LED lamp based on light-emitting characteristics, which comprises the following steps: (1) collecting a light output signal X (t), namely light intensity, of the LED lamp; (2) the light output signal of the LED lamp is X (t), the signal X (t) is filtered by adopting a mean filtering method to obtain a filtered signal Y (t), and the filtered signal Y (t) is regularized by adopting a maximum and minimum value method to obtain a regularized signal Z (t); (3) calculating the coefficient of variation CV of the signal Z (t) at the overall standard deviation; and (4) judging whether the calculated signal variation coefficient CV is within the variation coefficient numerical range of the light output signal of the normal LED lamp, if so, judging the lamp to be a normal lamp, and otherwise, judging the lamp to be a fault lamp.
Further, the light output signal x (t) of the LED lamp is collected by the light output signal detection module, and the light output signal detection module includes a photodiode, an operational amplifier, and an analog-to-digital conversion module.
According to another aspect of the present invention, an LED lamp fault diagnosis device based on light-emitting characteristics is provided, which includes an LED lamp light output signal detection module, a microprocessor, a liquid crystal display, and an operation keyboard, wherein the LED lamp light output signal detection module is composed of a photodiode, an operational amplifier, and an analog-to-digital conversion module, and wherein the microprocessor executes an LED lamp fault diagnosis method for implementing the steps of the LED lamp fault diagnosis method based on light-emitting characteristics described above.
Further, the photodiode adopts a PN502 chip, the operational amplifier adopts an LM358 chip, and the analog-to-digital conversion module adopts a 16-bit analog-to-digital converter AD 7705.
The method comprises the steps of collecting light output signals of the LED lamp through the photosensitive diode, preprocessing the signals, calculating the coefficient of variation of the signals, detecting whether the measured coefficient of variation of the signals is within the numerical range of the coefficient of variation of the light output signals of the normal LED lamp, and determining the lamp as a normal lamp if the measured coefficient of variation of the signals is within the numerical range of the coefficient of variation of the light output signals of the normal LED lamp, or determining the lamp as a fault lamp if the measured coefficient of variation of the signals is not within the numerical range of the coefficient of variation of the light output signals of the normal LED lamp.
The method can be applied to fault diagnosis of various types of LED lamps, and has the advantages of convenience in use, high diagnosis speed (millisecond level), resistance to external light interference and elimination of detection distance influence.
The method and the device can be used for the delivery qualification detection of the LED light source and the fault diagnosis of the LED lamp using field.
In addition to the objects, features and advantages described above, other objects, features and advantages of the present invention are also provided. The present invention will be described in further detail below with reference to the drawings.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
The invention provides a fault diagnosis method for an LED lamp based on light-emitting characteristics, which comprises the steps of collecting light output signals of the LED lamp through a photosensitive diode, preprocessing the signals, calculating the coefficient of variation of the signals, detecting whether the measured coefficient of variation of the signals is within the numerical range of the coefficient of variation of the light output signals of a normal LED lamp, if so, determining the lamp to be a normal lamp, and if not, determining the lamp to be a fault lamp.
As shown in fig. 1, the method for diagnosing the fault of the LED lamp includes the following steps: s1, collecting light output signals of the LED lamp; s2, preprocessing the signal; s3, calculating the coefficient of variation of the signal; and S4, fault diagnosis. The steps of the method are described in detail below.
(1) Collecting light output signal of LED lamp
In the step, a light output signal detection module is adopted to detect the light intensity (unit: lux, Lx) of the LED lamp, wherein the sampling time is at least 0.1S, the sampling frequency is at least 10kHz, and the AD conversion precision is at least 16 bits. Thus, at least 1000 data are obtained by one-time sampling, and the requirement of the method on data sampling is met.
(2) Preprocessing signals, including filtering and regularization
The light output signal of the LED lamp is x (t), and the signal x (t) is filtered by using a mean filtering method to obtain a filtered signal y (t), which specifically includes:
in the above formula, yiRepresenting the filtered optical output signal, yi∈Y={y1,y2,...,ynAnd f, taking the value of the parameter l as 1.
Regularizing the filtered signal Y (t) by adopting a maximum and minimum value method to obtain a regularized signal Z (t), zi∈Z={z1,z2,...,znThe method concretely comprises the following steps:
in the above formula, ymaxRepresents the maximum value of the signal Y (t), yminRepresents the maximum value in the signal y (t).
In the step, the interference of external light such as natural light, strong light and the like is removed through a mean value filtering method, and the influence of the detection distance on the detection result is eliminated through the regularization processing of the optical output signal through a maximum and minimum value method.
(3) Calculating the coefficient of variation of the signal, specifically:
in the formula, CV represents the coefficient of variation of the light output signal.
(4) And (5) fault diagnosis.
If the variation coefficient CV E of the detected LED lamp light output signal is equal to [ CV ]0×a,CV0×b]Wherein, CV is0And (3) the variation coefficient value of the light output signal of the standard normal LED lamp is represented, wherein a is 0.8, and b is 5, the detected LED lamp is a normal lamp, and otherwise, the detected LED lamp is a fault lamp.
In the process of implementing the invention, the coefficient of variation of various normal LED lamps is found to be stable in the using process, namely the coefficient of variation is stable when the lamps are turned on, and the coefficient of variation of a fault LED lamp has large fluctuation and is usually dozens of times of the coefficient of variation of the normal LED lamps, which can be used as a criterion for the fault of various LED lamps.
Based on the above, in the judgment of the LED lamp, whether the measured signal variation coefficient CV is within the variation coefficient numerical range of the light output signal of the normal LED lamp or not is detected, if yes, the lamp is a normal lamp, and if not, the lamp is a fault lamp.
In one example, when the lamp is shipped, the variation coefficient of the light output signal of the LED lamp of the normal lamp is measured and calibrated, and then the acceptable variation coefficient range (threshold) of the lamp is empirically given, for example, the variation coefficient range is 5 times of the measured variation coefficient.
Examples of the experiments
An OSRAM 8.5W LED lamp is selected as an experimental lamp, light output waveform data of the LED lamp is collected by a remote LFA-2000 light source stroboscopic measuring instrument and an integrating sphere, the sampling time is set to be 0.1 second, and the sampling rate is set to be 10 kilohertz.
In the experimental lamps, one lamp is a normal lamp, and the other two lamps are fault lamps. The collected light output waveform data of the three LED lamps is shown in fig. 2. The coefficient of variation is then calculated by the method described above.
Fig. 3 shows the calculated Coefficient of variation of the signal (Coefficient of variation), wherein the Coefficient of variation of the normal (Fault-free) LED luminaire remains stably around 0.0013. And the coefficient of variation of the failed LED lamp is unstable. After lighting, the coefficient of variation of the failed LED lamp gradually decreased to 0.016 at the 40 th minute. In contrast to the Fault Type I (Fault Type I) LED lamp, the coefficient of variation of the Fault Type II (Fault Type II) LED lamp increases gradually (with a small amplitude), and is 0.013 at 40 minutes.
It is demonstrated through a large number of experiments: there is a large difference in the coefficient of variation between a normal fixture and a faulty fixture.
The invention also provides a fault diagnosis device of the LED lamp based on the light-emitting characteristics, as shown in fig. 4, the device comprises an LED lamp light output signal detection module, a microprocessor, a liquid crystal display and an operation keyboard. The LED lamp light output signal detection module is composed of a photosensitive diode, an operational amplifier and an analog-to-digital conversion module.
The microprocessor adopts an STC IAP15W chip, the photosensitive diode adopts a PN502 chip, the operational amplifier adopts an LM358 chip, the resolution of the liquid crystal display screen is 320 multiplied by 240, the operation keyboard is a 4-key keyboard, the analog-to-digital conversion module adopts a 16-bit analog-to-digital converter AD7705 chip, and the devices can be obtained by market.
And executing an LED lamp fault diagnosis program on the microprocessor, wherein the LED lamp fault diagnosis program is used for realizing the steps of the LED lamp fault diagnosis method based on the light-emitting characteristics.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.