CN102034889A - Photosensitive potentiometer and regulating method thereof - Google Patents
Photosensitive potentiometer and regulating method thereof Download PDFInfo
- Publication number
- CN102034889A CN102034889A CN 201010509481 CN201010509481A CN102034889A CN 102034889 A CN102034889 A CN 102034889A CN 201010509481 CN201010509481 CN 201010509481 CN 201010509481 A CN201010509481 A CN 201010509481A CN 102034889 A CN102034889 A CN 102034889A
- Authority
- CN
- China
- Prior art keywords
- resistance
- led lamp
- microprocessor
- photo resistance
- photo
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The invention relates to a regulating method of a photosensitive potentiometer, wherein the photosensitive potentiometer comprises a microprocessor, a photosensitive resistor and a plurality of LED (Light-Emitting Diode) lamps in different colors; and the method comprises the following steps of: receiving a target resistance value by the microprocessor; regulating the overall brightness of the LED lamps by the microprocessor according to the illumination characteristic curve of the photosensitive resistor; and obtaining the color mixing proportion of the light in all the colors by the microprocessor according to a spectral response curve. The potentiometer provided in the invention realizes the coarse regulation for the resistance value of the photosensitive resistor by regulating the overall brightness, regulates the sensitivity of the photosensitive resistor by regulating the color mixing proportion of RGB (Red, Green and Blue) three-color light to realize the fine regulation for the resistance value of the photosensitive resistor, corrects the results of the coarse regulation and the fine regulation by combining the coarse regulation and the fine regulation and adopting a feedback unit and finally can regulate all the values covered within the resistance value range of the photosensitive resistor.
Description
Technical field
The present invention relates to a kind of potentiometer and control method thereof, particularly relate to potentiometer and control method thereof that a kind of characteristic curve that utilizes photo resistance is realized.
Background technology
At present, potentiometer total structure principle is roughly the same, and promptly the resistance in the potentiometer is resistive film, and resistive film is made by carbon film or metal oxide film, the function of potentiometer realizes by the resistance that changes resistance, and the change of its resistance then is that the slip by mechanical contact realizes.Though it is simple in structure that the potentiometer of above-mentioned principle has, low cost of manufacture, advantage such as the body flag is little, but service time is long, especially after the strenuous vibration. faults such as the fracture of carbon film or metal oxide film, mechanical contact loose contact will occur, thereby influence the useful life of potentiometer.
Summary of the invention
The purpose of this invention is to provide and a kind ofly utilize light sensitive characteristic and realize photosensitive regulation resistance and control method thereof self-adjusting, simple in structure, easy to use, non-contact type.
For solving the problems of the technologies described above, the present invention takes following technical scheme: a kind of control method of photosensitive regulation resistance, described photosensitive regulation resistance comprise the LED lamp of microprocessor, photo resistance and a plurality of different colours; It is luminous that described microprocessor drives described LED lamp by led drive circuit, and described microprocessor also is electrically connected with the output of described photo resistance so that can sample to the resistance value of photo resistance; Described method comprises the steps: (1) described microprocessor receiving target resistance value; (2) described microprocessor is regulated the overall brightness of described LED lamp according to the described led drive circuit of light characteristics curve negotiating of described photo resistance; (3) described microprocessor is sampled to the resistance value of the photo resistance after regulating through described step (2), verifies with the adjusting result to described step (2); (4) described microprocessor is according to the spectral response curve and the selected spectral value of described target resistance values of described photo resistance, thereby obtain in the described spectral value colour mixture ratio of corresponding each color of light of light that the LED lamp with described a plurality of different colours sends, and drive described led drive circuit according to described colour mixture ratio and respectively the LED lamp of described a plurality of different colours is regulated; (5) described microprocessor is sampled to the resistance value of the photo resistance after regulating through described step (4), verifies with the adjusting result to described step (4).
For solving the problems of the technologies described above, the present invention also provides following technical scheme: a kind of photosensitive regulation resistance, the LED lamp that comprises microprocessor, photo resistance and a plurality of different colours, it is characterized in that: the output of described photo resistance is connected with described microprocessor, so that described microprocessor is sampled to the resistance value of described photo resistance; Described microprocessor is electrically connected with led drive circuit, and described led drive circuit is electrically connected with described LED lamp; Described microprocessor realizes that by described led drive circuit the spectrum of the light that overall brightness and/or described LED lamp to described LED lamp are sent regulates, thereby realizes the adjusting to described photosensitive regulation resistance.
Potentiometer among the present invention is realized regulating the sensitivity of photo resistance to realize the fine setting to the photo resistance resistance to the coarse adjustment of photo resistance resistance and by the adjusting to the colour mixture ratio of RGB three coloured light by regulating overall brightness, combination by above-mentioned coarse adjustment and fine setting, and adopt feedback unit that the result of coarse adjustment and fine setting is proofreaied and correct, finally can regulate the value in all Standard resistance ranges that cover photo resistance.
Description of drawings
Fig. 1 is the illumination curve of photo resistance.
Fig. 2 is the spectral response curve of photo resistance.
Fig. 3 is the principle schematic of the photo resistance among the present invention.
Embodiment
Below technical scheme of the present invention is elaborated.
Photo resistance generally is used for sampling, thereby is applied to occasion such as light modulation.The characteristic of photo resistance can reflect by following three indexs: illumination curve, sensitivity and the curve of spectrum.
Respectively above-mentioned three indexs are elaborated below.
(1) illumination curve: usually, photo resistance is meant cadmium sulphide photoconductive cell, and it is made by semi-conducting material.The resistance of photo-resistor changes with the power of incident ray, and wherein, described incident ray is a visible light; Under dark condition, the resistance of photo resistance (being resistance in the dark) can reach 1-10M Ω; And under high light condition (as 100LX), the resistance of photo resistance (being bright resistance) only has hundreds of to thousands of ohms.Fig. 1 shows the illumination curve of photo resistance, and wherein 1 is the illumination curve of lead sulfide photodetector, the 2 illumination curves for the photo resistance of sulfuration stone roller.
(2) curve of spectrum: photo resistance is very approaching to the response of visible light (being the light of wavelength between (0.4-0.76) μ m) to the sensitiveness (being the curve of spectrum) and the human eye of light, therefore, as long as the light that human eye can be experienced all can cause the change in resistance of photo resistance.
(3) sensitivity: the relative changing value of the resistance value (light resistance) when sensitivity is meant the resistance value (dark resistance) when photo resistance is not subjected to rayed and is subjected to rayed.Spectral response claims spectral sensitivity again, is meant the sensitivity of photo resistance under the monochromatic light irradiation of different wave length.If the sensitivity under the different wave length is drawn as curve, just can obtain the curve of spectral response.Fig. 2 shows the spectral response curve of photo resistance, and wherein R, G, B represent the spectral response curve of photo resistance to ruddiness, green glow and blue light respectively.
Described potentiometer among the present invention is mainly used in the field that needs automatic adjusting resistance size but not the occasion that past manual adjustments or mechanical assistance are regulated, thereby changes occasions such as magnification ratio as change amplifier resistance in the industry control fields of measurement.
Described photosensitive regulation resistance comprises single-chip microcomputer 3, is installed on photo resistance 5 and LED lamp 2 in the enclosed box body 4; One end ground connection of described photo resistance 5, the other end is an output, described output is connected with described single-chip microcomputer 3 by resistance, so that described single-chip microcomputer 3 can be realized the resistance value of photo resistance 5 is sampled; Described single-chip microcomputer 3 also is connected with led drive circuit 1, and described led drive circuit 1 is electrically connected with described LED lamp 2, to drive described LED lamp 2.Preferably, be provided with 3 LED lamps 2 in described enclosed box body 4, it can send the light of red (R), green (G), blue (B) three kinds of colors respectively; The light scioptics (not shown) that described LED lamp 2 sends or shine directly in the photo resistance 5.Described single-chip microcomputer 3 compares the resistance value and the target resistance values of described sampling, and realizes to the adjusting of the R in the LED lamp 2, G, B three color ratio examples and to the adjusting of the overall brightness of LED lamp 2 by led drive circuit 1 according to the result of described comparison.Preferably, the adjusting of described overall brightness is undertaken by the PWM mode.
Describe the method for work of described potentiometer below in detail:
(1) single-chip microcomputer receiving target resistance value, and adjust the overall brightness of LED lamp 2 according to the illumination curve of described photo resistance 5, thus realize coarse adjustment to described photo resistance.Preferably, described overall brightness is to regulate by the mode of PWM the duty of the drive signal of described LED lamp is recently realized; Preferably, make the resistance interval of the correspondence that two adjacent duty ratios control comprise described target resistance values, promptly realized described coarse adjustment by regulating duty ratio.Preferably, after regulating duty ratio, need sample, verify the effect of coarse adjustment with this by the resistance of the described photo resistance after 3 pairs of adjustings of described single-chip microcomputer.
(2) single-chip microcomputer is asked for the colour mixture ratio in target resistance values described in the described spectral response curve required R, G, three kinds of color of light of B according to the spectral response curve of described photo resistance and target resistance values, by tabling look-up, adjust the colour mixture ratio of R, G, three kinds of color of light of B then by described led drive circuit 1, thereby the output effect that makes R, G, three kinds of color of light of B is equivalent to the colour mixture ratio of required R, G, three kinds of color of light of B, and then realizes the fine setting to described photo resistance.Preferably, the result of fine setting need sample by the resistance of the described photo resistance after 3 pairs of adjustings of described single-chip microcomputer equally, verifies the effect of fine setting with this.Under the substantially invariable situation of overall brightness, regulate the colour mixture ratio of RGB three looks, can equivalence for a change spectrum, thereby changed the sensitivity of described photo resistance, can realize fine setting by the fine setting of RGB to described photo resistance 5.
By described coarse adjustment and fine setting, described photo resistance 5 is similar to and reaches described target resistance values, thereby can realize required function, adjusts or the like as discharge circuit.
In addition, described photo resistance 5 can be because of causing its parameter to change with temperature, factor such as wear out, thereby, verify that with this effect of coarse adjustment and fine setting is necessary in coarse adjustment and back sampling of fine setting by the resistance of the described photo resistance after 3 pairs of adjustings of described single-chip microcomputer.
In addition, the present invention also comprises a kind of method that photosensitive regulation resistance is regulated that relates to, and described photosensitive regulation resistance comprises single-chip microcomputer 3, is installed on photo resistance 5 and LED lamp 2 in the enclosed box body 4; One end ground connection of described photo resistance 5, the other end is an output, described output is connected with described single-chip microcomputer 3 by resistance, so that described single-chip microcomputer 3 can be realized the resistance value of photo resistance 5 is sampled; Described single-chip microcomputer 3 also is connected with led drive circuit 1, and described led drive circuit 1 is electrically connected with described LED lamp 2, to drive described LED lamp 2.Preferably, be provided with 3 LED lamps 2 in described enclosed box body 4, it can send the light of three kinds of colors of red, green, blue respectively; The light scioptics (not shown) that described LED lamp 2 sends or shine directly in the photo resistance 5.Described method comprises the steps:
(1) described single-chip microcomputer 3 receiving target resistance values;
(2) described single-chip microcomputer 3 is regulated according to the overall brightness of 1 pair of described LED lamp 2 of the described led drive circuit of the light characteristics curve negotiating of photo resistance 5, to realize the coarse adjustment to the photo resistance value.Preferably, the adjusting of described overall brightness is to come regulating and controlling to drive the duty ratio of the drive signal of described LED lamp 2 by the PWM mode, and realize in the resistance interval that makes described target resistance values be positioned at the correspondence that two adjacent duty ratios control.
(3) described single-chip microcomputer is sampled to the resistance value of the photo resistance after regulating through described step (2), verifies with the adjusting result to described step (2).Preferably, if the result of checking show the resistance value of the photo resistance 5 after described step (2) coarse adjustment and target resistance values between error exceed predetermined scope, then return step (2) and continue to regulate the overall brightness of LED lamp 2, so that the error that is in target resistance values through the resistance value of the photo resistance 5 after the described second step coarse adjustment is positioned at predetermined scope once more; If if error then enters following step (4) between the resistance value that the result of checking shows the photo resistance 5 after described step (2) coarse adjustment and the target resistance values within the scope of being scheduled to.
(4) described single-chip microcomputer is according to the spectral response curve and the selected spectral value of target resistance values of described photo resistance 5, and ask for the colour mixture ratio of the required R of this spectral value, G, B three looks by tabling look-up, and drive described led drive circuit 1 and respectively the drive current of the LED lamp 2 of described R, G, B three looks is regulated, thereby the spectral value of the light that the LED lamp 2 that makes described R, G, B three looks sends conforms to described selected spectral value, and then realizes the fine setting to the photo resistance value.
(5) described single-chip microcomputer is sampled to the resistance value of the photo resistance after regulating through described step (4), verifies with the adjusting result to described step (4).Preferably, if the result of checking show the resistance value of the photo resistance 5 after described step (4) fine setting and target resistance values between error exceed predetermined scope, then return step (4) and further select new spectral value, and ask for the colour mixture ratio of the required R of this new spectral value, G, B three looks by tabling look-up, and drive described led drive circuit 1 and respectively the drive current of the LED lamp 2 of described R, G, B three looks is regulated, so that the error that is in target resistance values through the resistance value of the photo resistance 5 after the fine setting once more is positioned at predetermined scope; If error then finishes adjustment process between the resistance value that the result of checking shows the photo resistance 5 after described step (4) fine setting and the target resistance values within predetermined scope, return step (1) and continue the new desired value of wait.
With this understanding, photo resistance is approximate to reach the demand resistance value, then can realize required function, adjusts or the like as discharge circuit.Because photo resistance can change with temperature, factor parameter such as aging, so AD sampling feedback circuit is necessary.
In addition, by the potentiometer that this method is adjusted, can not reach the precision and the linearity of traditional potentiometer, can only be applied to specific occasions, its advantage is to realize full-automatic regulation.
Potentiometer among the present invention is realized regulating the sensitivity of photo resistance to realize the fine setting to the photo resistance resistance to the coarse adjustment of photo resistance resistance and by the adjusting to the colour mixture ratio of RGB three coloured light by regulating overall brightness, combination by above-mentioned coarse adjustment and fine setting, and adopt feedback unit that the result of coarse adjustment and fine setting is proofreaied and correct, finally can regulate the value in all Standard resistance ranges that cover photo resistance.
Above content be in conjunction with concrete optimal technical scheme to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.
Claims (10)
1. the control method of a photosensitive regulation resistance, described photosensitive regulation resistance comprises the LED lamp of microprocessor, photo resistance and a plurality of different colours; It is luminous that described microprocessor drives described LED lamp by led drive circuit, and described microprocessor also is electrically connected with the output of described photo resistance so that can sample to the resistance value of photo resistance;
Described method comprises the steps:
(1) described microprocessor receiving target resistance value;
(2) described microprocessor is regulated the overall brightness of described LED lamp according to the described led drive circuit of light characteristics curve negotiating of described photo resistance;
(3) described microprocessor is sampled to the resistance value of the photo resistance after regulating through described step (2), verifies with the adjusting result to described step (2);
(4) described microprocessor is according to the spectral response curve and the selected spectral value of described target resistance values of described photo resistance, thereby obtain in the described spectral value colour mixture ratio of corresponding each color of light of light that the LED lamp with described a plurality of different colours sends, and drive described led drive circuit according to described colour mixture ratio and respectively the LED lamp of described a plurality of different colours is regulated;
(5) described microprocessor is sampled to the resistance value of the photo resistance after regulating through described step (4), verifies with the adjusting result to described step (4).
2. the method for claim 1, it is characterized in that: the LED light fixture of described a plurality of different colours has three, is respectively red, green, blue led lamp.
3. the method for claim 1 is characterized in that: light scioptics that described LED lamp sends or shine directly in the described photo resistance.
4. the method for claim 1, it is characterized in that: the adjusting of described overall brightness is to drive the duty ratio of the drive signal of described LED lamp by PWM mode regulating and controlling, and realize in the resistance interval that makes described target resistance values be positioned at the correspondence that two adjacent duty ratios control.
5. as each described method of claim 1-4, it is characterized in that:, then return the overall brightness that described step (2) continues the described LED lamp of adjusting if error exceeds the first predetermined scope between the resistance value that the result of step (3) checking shows the photo resistance after described step (2) is regulated and the described target resistance values; Otherwise, enter described step (4).
6. method as claimed in claim 5, it is characterized in that:, then return step (4) and continue adjusting if error exceeds the second predetermined scope between the resistance value that the result of step (5) checking shows the photo resistance after described step (4) is regulated and the target resistance values; Otherwise, return step (1), make described microprocessor continue to receive new target resistance values.
7. photosensitive regulation resistance comprises it is characterized in that the LED lamp of microprocessor, photo resistance and a plurality of different colours:
The output of described photo resistance is connected with described microprocessor, so that described microprocessor is sampled to the resistance value of described photo resistance;
Described microprocessor is electrically connected with led drive circuit, and described led drive circuit is electrically connected with described LED lamp;
Described microprocessor realizes that by described led drive circuit the spectrum of the light that overall brightness and/or described LED lamp to described LED lamp are sent regulates, thereby realizes the adjusting to described photosensitive regulation resistance.
8. photosensitive regulation resistance as claimed in claim 7 is characterized in that: light scioptics that described LED lamp sends or shine directly in the described photo resistance.
9. photosensitive regulation resistance as claimed in claim 7 is characterized in that: described photosensitive regulation resistance also comprises enclosed box body, and described LED lamp and photo resistance are placed in the described enclosed box body.
10. as each described photosensitive regulation resistance of claim 7-9, it is characterized in that: the adjusting of described overall brightness realizes by the PWM mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010509481.0A CN102034889B (en) | 2010-10-15 | 2010-10-15 | Photosensitive potentiometer and regulating method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010509481.0A CN102034889B (en) | 2010-10-15 | 2010-10-15 | Photosensitive potentiometer and regulating method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102034889A true CN102034889A (en) | 2011-04-27 |
CN102034889B CN102034889B (en) | 2014-04-30 |
Family
ID=43887500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010509481.0A Expired - Fee Related CN102034889B (en) | 2010-10-15 | 2010-10-15 | Photosensitive potentiometer and regulating method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102034889B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102937367A (en) * | 2012-12-04 | 2013-02-20 | 合肥美的荣事达电冰箱有限公司 | Door-closing prompter of refrigerator and refrigerator with same |
CN105932993A (en) * | 2016-06-16 | 2016-09-07 | 东莞市名键电子科技有限公司 | Photoelectric voltage regulation device |
CN112165283A (en) * | 2020-10-09 | 2021-01-01 | 中车大连机车车辆有限公司 | Excitation output control method and device and motor |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1916576A (en) * | 2005-08-17 | 2007-02-21 | 凌阳科技股份有限公司 | Color detector, color identification device and method for identifing colors |
CN201348864Y (en) * | 2009-01-16 | 2009-11-18 | 泰州乐金电子冷机有限公司 | Automatic adjustment device for display of LED |
-
2010
- 2010-10-15 CN CN201010509481.0A patent/CN102034889B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1916576A (en) * | 2005-08-17 | 2007-02-21 | 凌阳科技股份有限公司 | Color detector, color identification device and method for identifing colors |
CN201348864Y (en) * | 2009-01-16 | 2009-11-18 | 泰州乐金电子冷机有限公司 | Automatic adjustment device for display of LED |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102937367A (en) * | 2012-12-04 | 2013-02-20 | 合肥美的荣事达电冰箱有限公司 | Door-closing prompter of refrigerator and refrigerator with same |
CN105932993A (en) * | 2016-06-16 | 2016-09-07 | 东莞市名键电子科技有限公司 | Photoelectric voltage regulation device |
CN105932993B (en) * | 2016-06-16 | 2019-02-19 | 东莞市名键电子科技有限公司 | Photoelectricity regulator |
CN112165283A (en) * | 2020-10-09 | 2021-01-01 | 中车大连机车车辆有限公司 | Excitation output control method and device and motor |
Also Published As
Publication number | Publication date |
---|---|
CN102034889B (en) | 2014-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2969102C (en) | Current splitter for led lighting system | |
US9326348B2 (en) | Solid state illumination system | |
CN101253813B (en) | LED light source for backlighting with integrated electronics | |
US9763298B2 (en) | Voltage balancing current controlled LED circuit | |
US20060193133A1 (en) | Lamp | |
US20060261742A1 (en) | Phosphor converted light source | |
CN102858056A (en) | Brightness and color temperature controlling system for LED (light-emitting diode) lamp | |
US11388794B2 (en) | Method and illumination system for simulating CIE standard illuminant with multi-channel LED | |
CN101536606A (en) | Light source comprising light-emitting clusters | |
CN102141210A (en) | High color rendering index and high-brightness light lighting equipment and method for realizing multi color temperature regulation | |
TW201008380A (en) | Circuit for dimming a lamp and related method | |
CN103052205A (en) | Lamp fitting | |
KR20100108302A (en) | Driving device, backlight with the driving device and driving method of backlight | |
CN202721868U (en) | LED lamp brightness and color temperature control system | |
CN107535039A (en) | Light emitting diode (LED) half-light warm colour circuit | |
CN102034889B (en) | Photosensitive potentiometer and regulating method thereof | |
US11924939B2 (en) | Power converter circuit for a lighting device | |
CN110196529A (en) | A kind of light-source control system and control method | |
WO2013177757A1 (en) | Led light adjustment driver and led light source system | |
CN104754828A (en) | Lighting control method, device and system for LED lamp | |
JP2016511915A (en) | Control unit for controlling the color of the window | |
CN104507226A (en) | Plant growing lamp | |
CN108458262B (en) | Lighting system and method for integrating multiple light effects | |
CN206323596U (en) | A kind of strip-light lamp of colour mixture light modulation | |
CN202907306U (en) | Circuit capable of realizing section regulation on LED lamp brightness |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140430 Termination date: 20191015 |
|
CF01 | Termination of patent right due to non-payment of annual fee |