Real time fail feeds back LED light Optimizing Control System and real-time feedback methodTechnical field
The present invention relates to a kind of LED light Optimizing Control System, it is related specifically to that the light control of real-time feedback information can be carried outSystem processed.
The invention further relates to a kind of real-time feedback control methods of LED lamplight.
Technical background
With common, more and more buildings of LED illumination, in outside or inside mounted LED lamp tool, to set off gas by contrastAtmosphere becomes the focus at night, achievees the purpose that promote building added value.But LED lamp can be heterochromatic in failure, flashing etc., meetingLarge effect is generated to the overall effect of building, the night scene of building is made to seem unsightly because of some bad lamp.Therefore, marketOn there is part and have the LED light Optimizing Control System of feedback function, can be when detecting that lamps and lanterns break down, by effectShielding, so that lamps and lanterns is not worked, to achieve the purpose that not influence to build overall effect, and be easy to search out of order lamps and lanterns.
But this feedback system in the market is mostly to detect the electric property of lamps and lanterns, judges whether lamps and lanterns go out event to reachThe purpose of barrier.But some failures of LED lamp can not lead to electric parameter to judge, i.e. the electric parameter of LED lamp is normal, lead toInterrogate also normal, but the light issued has not been that control system wants LED lamp issued light (colour cast, heterochromatic), thus to buildingOverall effect has an impact.
Summary of the invention
According to the above problem, object of the present invention is to while measuring electrical LED lamp and communications parameter, also by LED lightThe color for having issued light is detected, thus reach it is real measure the light that LED lamp is issued whether break down it is abnormalSituation makes the more accurate certain bad lamps for avoiding pure electric measurement feedback of fault detection, the problem of can not be detected.
To complete foregoing invention purpose, the present invention is implemented as follows: a kind of LED light with real time fail feedback is light-operatedSystem processed, it includes: LED lamp, LED light optical controller, computer, power supply composition;The power supply is LED lightTool power supply;The LED lamp is received allows LED light thereon to issue corresponding light, meter from LED lamplight controller informationCalculation machine provides signal source for LED light optical controller;It is characterized by: the LED lamp is by LED, LED driver, light source faceColour sensor, microcontroller (MCU) and color feedback circuit and communication part composition;The LED is shone by LED driver,Microcontroller receives the information from controller by communication part;Color feedback circuit and color sensor communicate, by micro-controlDevice control processed, and LED light optical controller is fed back to by communication part;It is carried out between LED light optical controller and computer two-wayCommunication.Color sensor is that three primary colours optical filter is added in phototriode transducing part with three phototriodes;It is photosensitiveTriode exports different current strength according to the power of light, and A/D converter circuit is added in rear class, finally by be passed to light pointIt is converted into digital signal output through A/D converter circuit at three primary colours (red, green, blue), then by every kind of basic color, the sensor is commonIn Tansducer For Color Distiguishing, finally encapsulated in the form of IC.
LED light optical controller can receive the data of LED lamp feedback by the color of transmission line traffic control LED lamp;AndData are saved to the data sended over to computer or reception computer to computer communication.LED light optical controller, which has, to be depositedReservoir or plug-in memory.The parallel bus that the communication network uses RS-485 bus to constitute and the string using single wire transmissionRow bus is formed, and wherein the universal serial bus of single wire transmission has the ability of transmitted in both directions;Two kinds of buses can be used alone or oneWith use.The computer and LED lamplight controller communication is communicated by LED light optical controller to LED lamp;Receive LEDThe information that lamps and lanterns are fed back is shown by computer software.
The color sensor that the device of the invention is installed by itself can sense the light that corresponding LED is issued;FromAnd by the parameter feedback of the color value to LED controller, by the comparison to outflow numerical value, judge the light issued and it is original reallyWhether fixed color is same color;It is finally transferred to end user, thus to LED into maintenance.This method, on the one hand can be withLED lamp is detected, on the other hand can also be shone by shielding corresponding LED, also avoid the generation of this mistake, andAnd this system has carried out effective positioning for the position to report an error, reduces detection time and detects artificial investment.
Another goal of the invention of the invention is to provide a kind of method of real-time detection LED lamp;By this real-timeDetection is to complete to detect the LED lamp on building.
To complete foregoing invention purpose, the present invention is implemented as follows: a kind of method of Real-time Feedback LED light failure,It is characterized in that:
1) LED lamp presets unique address in whole system during installation, and is stored in MCU;
2) the cloth lamp figure for having corresponding whole system is drawn in a computer, by software through LED light optical controller to everyA LED lamp carries out both-way communication;It controls the bright color of LED lamp and reads the parameter of the LED lamps such as color sensor;
3) it is being installed, when debugging, by software, is controlling the light of the bright every kind of primary colours of LED lamp, and pass through computer hairOrder, the color data received color sensor are demarcated, and as a reference value;The a reference value is stored in LED lampIn upper computer software;And the processing mode of the color exception of LED lamp is set by software;
4) in normal work, computer software is through preset effect in LED light optical controller or LED light optical controllerFile carries out the broadcasting of effect;After LED lamp receives corresponding colouring information, corresponding color is shown;Meanwhile LED lampInternal microcontroller judges the bright color correctness of LED lamp bead institute by the data of color sensor;
5) when LED lamp breaks down, when causing LED lamp bead color exception, the microcontroller in LED lamp passes through colorThe numerical value that sensor is transmitted, judges color exception, (turns off the light or sets according to the instruction that preset mode carries out colorEffect), while the abnormal data is sent to LED light optical controller and computer software;
6) as system maintenance personnel, maintenance, the information for there are abnormal lamps and lanterns on computer interface is found, by further readingThe electric parameter of LED lamp is taken, so that it is abnormal to judge whether LED lamp really occurs;If really there is exception, by differentThe location information of normal lamps and lanterns accurately finds the position where abnormal lamps and lanterns, and lamps and lanterns is removed and are repaired;
7) system maintenance personnel check the color control data and color feedback of each lamp by computer software in real timeData and relevant electric parameter.
Be further improved and limit to above-mentioned technical proposal: LED light optical controller and computer software receive the exceptionWhen, first the exception information is preserved, and mask the colouring information of the lamps and lanterns when effect plays, to reach not rightThe whole Night Scenery Effect of building has an impact.
In step 6 if be on inspection because LED lamp by the random veiling glare of environment influence and the mistake that generatesReport, then by Failure elimination;The exception lamps and lanterns can also be re-scaled by upper computer software, to adapt to extraneous new variation.
By the utilization of above method mode, it is possible to prevente effectively from the light issued has not been that control system wants LED lampIssued light (colour cast, heterochromatic), so that the overall effect to building has an impact.
Detailed description of the invention
Fig. 1 is the principle of the present invention structure chart.
Specific embodiment
A kind of LED light Optimizing Control System with real time fail feedback, it includes: LED lamp, LED light optical controller, leads toInterrogate network, computer and the related software being installed in computer, related power supply composition.
LED lamp, the light source part be made of LED, driving and control circuit and color sensor, microcontroller (MCU)The color feedback circuit and communication part of composition form.Wherein, the principle of color sensor are as follows: by the photosensitive spy according to semiconductorProperty produce phototriode, with three phototriodes, three primary colours optical filter is added in phototriode transducing part.It is photosensitiveTriode exports different current strength according to the power of light, and A/D converter circuit is added in rear class, finally by be passed to light pointIt is converted into data-signal output through A/D converter circuit at three primary colours (red, green, blue), then by every kind of basic color, the sensor is commonIn Tansducer For Color Distiguishing.It is encapsulated in the form of IC.
LED light optical controller has the function by transmission line traffic control LED lamp color, has and receives LED lamp feedbackData function;With the function to computer communication, data can be saved to computer or reception computer and be sended overData;Have the function of storage or plug-in storage.
Communication network is formed using the parallel bus of RS-485 bus composition and using the universal serial bus of single wire transmission,Wherein the universal serial bus of single wire transmission has the ability of transmitted in both directions, and parallel bus itself has two-way transmission capabilities.Two kinds totalLine can individualism, can also be used together, form mutually redundant redundant system.
Computer and related software are made of computer and control software, and software has and LED lamplight controller communicationFunction, the function that can be communicated by LED light optical controller to LED lamp, the information that can be fed back LED lamp pass through computerSoftware is shown.
Working principle and method are as follows:
Working principle:
1.LED lamps and lanterns preset unique address in whole system during installation, and are stored in MCU.
2. the cloth lamp figure for having corresponding whole system is drawn in the upper computer software of computer, it can be saturating by upper computer softwareIt crosses LED light optical controller and both-way communication is carried out to each LED lamp.It controls the bright color of LED lamp and reads color sensingThe parameter of the LED lamps such as device.
3. being installed, (on inspection without bad lamp) when debugging, passes through upper computer software, control the bright every kind of base of LED lampThe light (three primary colours or multiple primary colors light) of color, and being said the word by host computer, the color data that color sensor is received intoRower is fixed (can also demarcate in advance when leaving the factory), and as a reference value.The a reference value is stored in LED lamp and upper computer softwareIn.And by upper computer software be arranged LED lamp color exception processing mode (such as turn off the light or the light of certain bright color orEffect).
4. in normal work, upper computer software is through preset effect in LED light optical controller or LED light optical controllerFile carries out the broadcasting of effect.After LED lamp receives corresponding colouring information, corresponding color is shown.Meanwhile LED lampInternal microcontroller judges the bright color correctness of LED lamp bead institute by the data of color sensor.
5. when causing LED lamp bead color exception, the microcontroller in LED lamp passes through color when LED lamp breaks downThe numerical value that sensor is transmitted, judges color exception, the instruction of color is carried out according to preset mode, while this is differentRegular data is sent to LED light optical controller and upper computer software.When LED light optical controller and upper computer software receive the exception,First the exception information is preserved, and masks the colouring information of the lamps and lanterns when effect plays, to reach not to buildingThe whole Night Scenery Effect built has an impact.
6. working as system maintenance personnel, when maintenance, finds the information for there are abnormal lamps and lanterns on software interface, pass through operation host computerSoftware carries out both-way communication with abnormal lamps and lanterns are gone out, and the electric parameter of LED lamp is further read, to judge that LED lamp isIt is no exception really occur.If really there is exception, by the location information of abnormal lamps and lanterns, abnormal lamps and lanterns institute is accurately foundPosition, and by lamps and lanterns remove repair;If being because of random veiling glare (auto lamp, hand of the LED lamp by environment on inspectionTorch) influence and the wrong report that generates, then by Failure elimination;The exception lamps and lanterns can also be re-scaled by upper computer software,To adapt to extraneous new variation.
7. system maintenance personnel check that the color control data of each lamp and color are anti-by upper computer software in real timePresent data and relevant electric parameter.