Summary of the invention
The invention discloses a kind of led light source stability detector and detection method thereof based on PLC control.Utilize the exquisiteness design of driving circuit 10 can reach the response time basically as long as 0.01 second effect.
Technical scheme of the present invention has following:
A kind of led light source stability detector based on PLC control comprises casing, silicon photoelectric sensor, modulate circuit, power supply, A/D converter, stube cable; D/A converter, PLC, seven segment digital tubes, driving circuit, led light source, wherein: the silicon photoelectric sensor is installed on the casing, the silicon photoelectric sensor is connected by lead with modulate circuit, modulate circuit is connected with A/D converter, A/D converter is connected by stube cable with PLC, and PLC is connected with D/A converter by stube cable, and D/A converter is connected with driving circuit, led light source is connected with driving circuit respectively with power supply, and PLC is connected with seven segment digital tubes.
The inventive system comprises hardware system and software systems two parts.
Hardware system divides PLC controller unit module, sensor unit module, led drive circuit module, the display unit module, device is a core with Programmable Logic Controller PLC, by of the input of A/D switching signal as device, D/A conversion, driving circuit constitute closed loop, realize current stabilization control, detect display module is realized intensity of illumination with seven segment digital tubes dynamic demonstration, the portable plate of lighting box can be used for changing the installation site of sensor, realizes multi-faceted detection; Software systems comprise collection, light intensity analysis, the signal output of light intensity signal and dynamically show with communicating by letter of seven segment digital tubes.Make D/A converter dynamically export the stable of 0V-1.24V analog voltage signal control LED light intensity by PLC through calculating.The LM3409 peripheral cell parameter difference that different led light sources is required can be consulted and used the explanation designing and calculating.
A kind of led light source Detection of Stability method based on PLC control comprises the following steps:
1, opens PLC, open led light source, the portable plate of casing is placed into position with the light source predeterminable range, close the door of upper box then;
2, turn on the power switch;
3, illumination intensity value forms simulating signal by sensor, and modulate circuit becomes analog signal conditioner 0-10v voltage, is converted into digital signal through A/D, is transferred to PLC, forms feedback signal;
4, PLC will import light intensity and intensity of illumination given in advance contrasts, if the illumination intensity value (feedback signal) of input is greater than or less than the given illumination intensity value of PLC, then PLC sends the difference signal of set-point and value of feedback, convert the 0-1.24v voltage signal to through D/A converter, the input voltage of the simulation control end of control Driver Circuit, driving LED remains unchanged the electric current of LED, to reach the purpose of stablizing the LED intensity of illumination;
5, PLC preserves the intensity of illumination of input and the current value of LED get off and dynamic refresh;
6, PLC will be presented on the seven segment digital tubes intensity of illumination data and the current data of preserving and dynamic refresh by stube cable.
Advantage of the present invention: as long as the present invention utilizes the exquisiteness design of driving circuit 10 can reach the response time basically 0.01 second effect.Having overcome led light source, to stablize the control response time long, and control accuracy is not enough, and dynamically shortcoming such as display result has satisfied the stable demand to the optical system precision of led light source.
Can autostable change because of the intensity of illumination that factors such as voltage fluctuation, the fluctuation of load, lamp self-defect produce, because PLC and computer have good compatibility, therefore the form that the intensity of light source changes with chart can be shown, and can follow according to the variation of intensity of illumination and carry out real-time operation, have understandable, simple in structure, the advantage that is easy to control easy to use, clear.By the variation of check and analysis intensity of illumination, the electric current of regulating LED to be realizing the stable of intensity of illumination, result's preservation and demonstration by experiment, intuitive analysis judgment experiment result's validity and can directly carry out FEEDBACK CONTROL.
Embodiment
Embodiment 1, a kind of led light source stability detector based on PLC control comprise casing 1, silicon photoelectric sensor 2, modulate circuit 3, power supply 4, A/D converter 5, stube cable 6; D/A converter 7, PLC 8, seven segment digital tubes 9, driving circuit 10, led light source 11, wherein: silicon photoelectric sensor 2 is installed on the casing 1, silicon photoelectric sensor 2 and modulate circuit 3 are connected by lead, modulate circuit 3 is connected with A/D converter 5, A/D converter 5 is connected by stube cable 6 with PLC 8, PLC 8 is connected with D/A converter 7 by stube cable 6, D/A converter 7 is connected with driving circuit 10, led light source 11 is connected with driving circuit 10 respectively with power supply 4, and PLC 8 is connected with seven segment digital tubes 9.
Embodiment 2, a kind of led light source stability detector based on PLC control, wherein: the core of driving circuit 10 is buck current type LM3409PFET controllers, be when externally DC input voitage is 24V, drive 4 LED, the maximum average current of led light source (11) is 1A; VIN input voltage interface (12) is connected to EN pin, VIN pin and the CSP pin of LM3409, and series connection is to the UVLO pin of LM3409, and series connection CIN1 electric capacity (13) back ground connection is connected to the VCC pin of LM3409 behind the series connection CF electric capacity (14); UVLO pin series connection RUV2 resistance (15) ground connection of LM3409; Be connected to the IADJD/A converter output pin of LM3409 behind the VADJ voltage interface series connection RUV1 resistance (16), IADJ pin series connection CF2 electric capacity (18) the back ground connection of LM3409; Be connected to+14V power supply VO (26) behind the COFF pin series connection ROFF resistance (19) of LM3409, be connected to the GND pin of LM3409 behind the COFF pin series connection COFF electric capacity (20) of LM3409; The GND pin of LM3409 and the GND pin of LM3409 be ground connection respectively; Be connected to CSN pin and the Q1 transistor (22) of LM3409 behind the CSP pin series connection RSNS resistance (21) of LM3409 respectively, Q1 transistor (22) is a PGATE pin that is connected to LM3409 wherein, the series connection of other end difference is to D1 diode (24) and L1 inductance (23), D1 diode (24) ground connection, L1 inductance (23) series connection CO electric capacity (25) back ground connection; + 14V voltage V0 connects with L1 inductance (23) and LED lamp (27) respectively, LED lamp (27) ground connection.Its input voltage is reduced to 24V to the alternating current of 220V by transformer, by exchanging the commentaries on classics DC circuit alternating current is changeed direct current again.Its connected mode is: the positive pole (28) of AC power supplies is connected to D3 diode (31) and D4 diode (32) respectively; The negative pole (29) of AC power supplies is connected to D2 diode (30) and D5 diode (33) respectively, D2 diode (30) and D3 diode (31) series connection CRN1 electric capacity (13) ground connection, D4 diode (32) and D5 diode (33) ground connection in parallel.All the other are with embodiment 1.
Embodiment 3, a kind of led light source stability detector based on PLC control, wherein: it is made up of two parts: hardware system (as Fig. 1) and software systems.
Embodiment 4, a kind of led light source stability detector based on PLC control, wherein: hardware system is made up of 4 functional modules: PLC controller unit module, sensor unit acquisition module, LED driver module, display module.All the other are with embodiment 3.
Embodiment 5, a kind of led light source stability detector based on PLC control, wherein: the acquisition module that comprises light intensity signal; Light intensity analytical calculation module; Realize that light intensity signal is read, deposited, display module; Output module; The display module of communicating by letter with the seven segment numerical display tube.
Embodiment 6, a kind of led light source stability detector based on PLC control, wherein: comprise PLC (8), PLC is the central controller of device.All the other are with embodiment 4.
Embodiment 7, a kind of led light source stability detector based on PLC control, wherein: comprise silicon photoelectric sensor 2, modulate circuit 3, A/D converter 5, driving circuit 4 is installed on the portable plate in the casing 1, its output is connected with modulate circuit, modulate circuit output is connected with the A/D converter input, A/D converter output is connected with PLC 8, sensor changes into simulating signal with light intensity signal, nurse one's health into the 0-10V voltage signal through modulate circuit, by A/D converter 5 the 0-10V voltage signal is changed into the digital signal of standard again, as the input signal of PLC.All the other are with embodiment 4.
Embodiment 8, a kind of led light source stability detector based on PLC control, wherein: comprise stube cable 6, display interface 9, the signal that PLC 8 is stored dynamically shows to the seven segment numerical display tube by stube cable.All the other are with embodiment 4.
Embodiment 9, a kind of led light source stability detector based on PLC control, wherein: adopt as seven sections decoder drivers of figure (4) BCD latch, decoding, the three-in-one CD4511 of driving circuit, data input pin A, the B of 3 CD4511, C, D take four output points of PLC, wherein A is a low level, D is high-order
Be the latch enable input end, input data during low level, latch data during high level, hundred, ten, the CD4511 of units
End is controlled respectively by Y004, Y005, the Y006 of PLC, and therefore, 3 displays take 7 delivery outlets altogether.The dynamic procedure for displaying of luminance brightness is relatively: PLC is converted into binary-coded decimal to the relative brightness values that detects and be stored in D0, resolves into a position, ten, hundred binary-coded decimals respectively.The
moment 1, individual position binary-coded decimal is exported from Y0-Y3, simultaneously Y6 is put low level, by the CD4511 decoding that is connected to a units sign indicating number pipe position demonstration; The
moment 2, ten binary-coded decimals are exported from Y0-Y3, simultaneously Y5 is put low level, by ten demonstrations of CD4511 decoding that are connected to the 10-bit digit pipe, simultaneously, put high level with being connected to the Y6 of position CD4511, latch individual and show; Hundred demonstrations in like manner.Because the output of PLC is switching value, can utilize reverser and pull-up resistor to carry out level conversion.
Embodiment 10, a kind of led light source stability detector embodiment such as Fig. 1 to Fig. 3 based on PLC control describe.
As shown in Figure 1, a kind of led light source stability detector based on PLC control comprises hardware system and software systems.Hardware system is by PLC controller unit module, sensor unit acquisition module, LED driver module, and display module is formed; Wherein: PLC controller unit module, comprise PLC8, PLC is the central controller of apparatus of the present invention; The sensor unit acquisition module comprises silicon photoelectric sensor 2, modulate circuit 3, A/D converter 5, and the effect of sensor unit acquisition module is the intensity of illumination signal that will gather, as the input signal of PLC; The LED driver module comprises led light source 11, power supply 4, D/A converter 7, driving circuit 10, and driving circuit provides driving power for led light source 11; Display module comprises stube cable 6, seven segment digital tubes 9, and the signal that PLC8 stored shows to seven segment digital tubes by stube cable;
Software systems comprise the acquisition module of light intensity signal; Light intensity analytical calculation module; Realize that light intensity signal is read, deposited, display module; Output module; The display module of communicating by letter with seven segment digital tubes.
As shown in Figure 2, after power on circuitry, the light intensity that led light source 11 sends, through silicon photoelectric sensor 2, change into simulating signal, modulate circuit 3 becomes 0-10V with analog signal conditioner, to detect the digital signal that simulating signal changes into standard by A/D converter 5 again, transmission PLC8 after the PLC8 computational analysis, is transferred to D/A converter 7 with analysis result with the form of digital signal, after D/A converts simulating signal to, the simulation control end of analog signal transmission to driving circuit 10, the electric current of stablizing LED changes, and the intensity of illumination that LED11 is sent tends towards stability, constantly repeat this process then, make the LED light intensity reach a mobile equilibrium.
As shown in Figure 2, the core of driving circuit is the LM3409 controller, is when externally DC input voitage is 24V, drives 4 LED (Vo=15V), and the maximum average current of LED is 1A.24v power supply 4 output terminals are connected with the 5-10 pin of LM3409, and 2 pin front end RF 2 and 5 pins of LM3409 are connected to the D/A7 output pin, make D/A dynamically export the stable of 0V-1.24V analog voltage signal control LED11 light intensity by PLC through calculating.This driving circuit is installed near infrared the cannot-harm-detection device, and to obtain performance as shown in the table by being the contrast experiment with the device that this driving circuit is not installed.Can get this circuit by table and can obtain more stable voltage, resulting luminous flux scope is also littler than common driver circuit.
Performance |
This patent driving circuit |
Common driver circuit |
Voltage range |
4±0.1(V) |
4±0.2(V) |
Luminous flux |
80±3(1M) |
80±5(1M) |
PLC is converted into binary-coded decimal to the relative brightness values that detects and be stored in D0, resolves into a position, ten, hundred binary-coded decimals respectively.The moment 1, individual position binary-coded decimal is exported from Y0-Y3, simultaneously Y6 is put low level, by the CD4511 decoding that is connected to a units sign indicating number pipe position demonstration; The moment 2, ten binary-coded decimals are exported from Y0-Y3, simultaneously Y5 is put low level, by ten demonstrations of CD4511 decoding that are connected to the 10-bit digit pipe, simultaneously, put high level with being connected to the Y6 of position CD4511, latch individual and show; Hundred demonstrations in like manner.Because the output of PLC is switching value, can utilize reverser and pull-up resistor to carry out level conversion;
4 faces of casing 1 are fixed, and one is door in other two faces, and one is designed to portable plate.Box house has many slots, portable plate can be inserted in the corresponding slot according to the needs of different distance, is convenient to multi-faceted measurement, closes then to the doorstep, is not subjected to the influence of external light source to guarantee inner intensity of illumination.
Embodiment 11, a kind of led light source Detection of Stability method based on PLC control, the used pick-up unit of this detection method comprises casing 1, silicon photoelectric sensor 2, modulate circuit 3, power supply 4, A/D converter 5, stube cable 6; D/A converter 7, PLC 8, seven segment digital tubes 9, driving circuit 10, led light source 11, it is characterized in that: silicon photoelectric sensor 2 is installed on the casing 1, silicon photoelectric sensor 2 and modulate circuit 3 are connected by lead, modulate circuit (3 with A/D converter (5 are connected, A/D converter 5 is connected by stube cable 6 with PLC8, PLC 8 is connected with D/A converter 7 by stube cable 6, D/A converter 7 is connected with driving circuit 10, led light source 11 is connected with driving circuit 10 respectively with power supply 4, and PLC 8 is connected with seven segment digital tubes 9;
Comprise the following steps:
A, open PLC8, open led light source 11, the portable plate of casing is placed into position with the light source predeterminable range, close the door of upper box then;
B, turn on the power switch;
C, illumination intensity value form simulating signal by sensor, and modulate circuit becomes analog signal conditioner 0-10v voltage, is converted into digital signal through A/D, is transferred to PLC, form feedback signal;
D, PLC8 will import light intensity and intensity of illumination given in advance contrasts, if the illumination intensity value of input is greater than or less than the given illumination intensity value of PLC, then PLC8 sends the difference signal of set-point and value of feedback, convert the 0-1.24v voltage signal to through D/A converter, the input voltage of the simulation control end of control Driver Circuit, driving LED remains unchanged the electric current of LED, to reach the purpose of stablizing the LED intensity of illumination;
E, PLC8 preserve the intensity of illumination of input and the current value of LED get off and dynamic refresh;
F, PLC8 will be presented on the seven segment digital tubes intensity of illumination data and the current data of preserving and dynamic refresh by stube cable.