CN113465652A - Method for calibrating photoelectric characteristic difference of photoelectric sensor - Google Patents
Method for calibrating photoelectric characteristic difference of photoelectric sensor Download PDFInfo
- Publication number
- CN113465652A CN113465652A CN202110772189.6A CN202110772189A CN113465652A CN 113465652 A CN113465652 A CN 113465652A CN 202110772189 A CN202110772189 A CN 202110772189A CN 113465652 A CN113465652 A CN 113465652A
- Authority
- CN
- China
- Prior art keywords
- photoelectric sensor
- photoelectric
- consistent
- output
- calibrating
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000005286 illumination Methods 0.000 claims description 4
- 238000001514 detection method Methods 0.000 abstract description 7
- 239000000428 dust Substances 0.000 description 4
- 239000000126 substance Substances 0.000 description 4
- 230000003647 oxidation Effects 0.000 description 3
- 238000007254 oxidation reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010923 batch production Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011109 contamination Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000035772 mutation Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D18/00—Testing or calibrating apparatus or arrangements provided for in groups G01D1/00 - G01D15/00
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Photometry And Measurement Of Optical Pulse Characteristics (AREA)
Abstract
The invention discloses a method for calibrating photoelectric characteristic difference of a photoelectric sensor, which is characterized by comprising the following steps: s1, under the condition that the specific calibration environment and the irradiation environment are consistent, respectively adjusting the duty ratio of the PWM driving signal input to the input end of each photoelectric sensor in the batch sensors to enable the electric signal values output by each photoelectric sensor to be consistent; s2, storing PWM driving values when the signal values output by each photoelectric sensor are consistent; and S3, when each photoelectric sensor is driven and used, calling the stored PWM driving value of each photoelectric sensor, and driving the photoelectric sensor under the driving of the PWM driving value. The method can eliminate or reduce the difference of photoelectric characteristics of the photoelectric sensor, and improve the detection precision and detection consistency of the sensor.
Description
Technical Field
The invention relates to the technical field of sensor calibration, in particular to a method for calibrating photoelectric characteristic difference of a photoelectric sensor.
Background
At present, photoelectric sensors, whether in a correlation type or a reflection type, cannot ensure the consistency of photoelectric characteristics of each sensor in batch production, so that misjudgment or incapability of use exists in some high-precision application environments, and the photoelectric sensors in later use are influenced by factors such as structural differences, high temperature, humidity, oxidation and dust pollution to cause the differences of the photoelectric characteristics, so that the detection precision of the photoelectric sensors is reduced.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method for calibrating differences in photoelectric characteristics of photosensors, which can quickly and effectively calibrate the problem of decreased detection accuracy of photosensors due to small differences in individual photoelectric characteristics in mass production, or due to differences in photoelectric characteristics of photosensors caused by high temperature, humidity, oxidation, dust contamination, etc.
The technical scheme of the invention is as follows:
a method for calibrating photoelectric characteristic difference of a photoelectric sensor is characterized by comprising the following steps:
s1, under the condition that the specific calibration environment and the irradiation environment are consistent, respectively adjusting the duty ratio of the PWM driving signal input to the input end of each photoelectric sensor in the batch sensors to enable the electric signal values output by each photoelectric sensor to be consistent;
s2, storing PWM driving values when the signal values output by each photoelectric sensor are consistent;
and S3, when each photoelectric sensor is driven and used, calling the stored PWM driving value of each photoelectric sensor, and driving the photoelectric sensor under the driving of the PWM driving value.
Further, in certain calibration environments, including environments in which certain temperature, dust-free, and lighting environments are relatively fixed.
Further, the substance irradiated to the photodiode in the photosensor is included under the uniform irradiation environment, and the absolute distance of the irradiated substance with respect to the irradiated photodiode is uniform.
Further, in S1, the duty ratio of the PWM driving signal input to the input terminal of each of the photosensors in the batch sensor is respectively adjusted, so that the signal values output by each of the photosensors are all the same, and the microprocessor MCU outputs the PWM signal to both ends of the light emitting diode of each of the photosensors, so as to input the PWM signal to each of the photosensors.
Furthermore, in S1, the signal values output by each of the photosensors are made to be consistent by receiving the analog signal values at the output of the photosensor, outputting the analog signals to convert the analog signals into digital signals, and automatically determining the digital signals by the microprocessor MCU and automatically adjusting and outputting the PWM signals by the microprocessor MCU.
Furthermore, the microprocessor MCU is integrated with an analog-to-digital conversion module, analog signals output by the photoelectric sensor are directly and automatically acquired and judged through the analog-to-digital conversion module of the microprocessor MCU, and the duty ratio of the output PWM signals is automatically adjusted through the microprocessor MCU.
The invention has the beneficial effects that: the method adjusts the luminous intensity of the light emitting diode of the photoelectric sensor by adjusting the PWM duty ratio, and then collects the numerical value of the receiving end of the photoelectric sensor to make the numerical value of the receiving end of the photoelectric sensor consistent, and stores and uses the numerical value, so that the photoelectric characteristic difference of the photoelectric sensor can be eliminated or reduced, and the detection precision and the detection consistency of the sensor are improved.
Drawings
FIG. 1 is a flow chart of a method according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the features of the following embodiments and examples may be combined with each other without conflict.
As shown in fig. 1, a method for calibrating a difference in photoelectric characteristics of a photosensor includes the steps of:
s1, under the condition that the specific calibration environment and the irradiation environment are consistent, respectively adjusting the duty ratio of the PWM driving signal input to the input end of each photoelectric sensor in the batch sensors to enable the electric signal values output by each photoelectric sensor to be consistent, wherein the consistency of the electric signal values represents the consistency of the voltage values of the electric signals;
the calibration environment includes a specific temperature and humidity environment, a dust-free environment and an environment with a relatively fixed illumination environment, particularly the environment which is protected from external sunlight and lamp light, the illumination environment includes a substance for illuminating the photodiode in the photoelectric sensor, and the absolute distance of the illuminated substance relative to the illuminated photodiode is consistent. The calibration value error caused by photoelectric characteristic difference caused by factors such as external structure difference, illumination intensity, temperature, humidity, oxidation condition, dust pollution and the like is avoided.
In addition, the duty ratio of the PWM driving signal input to the input terminal of each of the photosensors in the batch sensor is adjusted to make the electrical signal values output by each of the photosensors uniform, and the PWM signal is output to both ends of the light emitting diode of each of the photosensors by the microprocessor MCU and input to each of the photosensors.
S2, storing the PWM driving values when the electric signal values output by each photoelectric sensor are consistent correspondingly, and storing the specific PWM values in FLASH to realize power failure storage calibration values and avoid repeated operation of secondary calibration or each calibration;
and S3, when each photoelectric sensor is driven and used, calling the stored PWM driving value of each photoelectric sensor, and driving the photoelectric sensor under the driving of the PWM driving value. Can guarantee that every photoelectric sensor's photoelectric characteristic is unanimous, realize the detection of photoelectric sensor high accuracy, later stage also can be opened for the user in the product with this calibration function is integrated, can improve the precision that the product detected in real time like this, solves to a certain extent because the equipment trouble that environmental mutation or dust influence caused.
It should be further noted that, in an embodiment, in S1, the making of the signal values output by each of the photosensors is implemented by receiving analog signal values output by the photosensor outputs, converting the analog signal outputs into digital signals, and performing automatic determination by the microprocessor MCU and automatically adjusting and outputting PWM signals by the microprocessor MCU.
It should be further noted that, in an embodiment, the microprocessor MCU is integrated with an analog-to-digital conversion module, the analog signal output by the photoelectric sensor is directly and automatically collected and judged by the analog-to-digital conversion module of the microprocessor MCU, and the duty ratio of the output PWM signal is automatically adjusted by the microprocessor MCU.
The above embodiments are merely representative of the centralized embodiments of the present invention, and the description thereof is specific and detailed, but it should not be understood as the limitation of the scope of the present invention, and it should be noted that those skilled in the art can make various changes and modifications without departing from the spirit of the present invention, and these changes and modifications all fall into the protection scope of the present invention. Therefore, the protection scope of the present patent should be subject to the appended claims.
Claims (6)
1. A method for calibrating photoelectric characteristic difference of a photoelectric sensor is characterized by comprising the following steps:
s1, under the condition that the specific calibration environment and the irradiation environment are consistent, respectively adjusting the duty ratio of the PWM driving signal input to the input end of each photoelectric sensor in the batch sensors to enable the electric signal values output by each photoelectric sensor to be consistent;
s2, storing PWM driving values when the signal values output by each photoelectric sensor are consistent;
and S3, when each photoelectric sensor is driven and used, calling the stored PWM driving value of each photoelectric sensor, and driving the photoelectric sensor under the driving of the PWM driving value.
2. The method for calibrating the difference in the photoelectric characteristics of the photoelectric sensor according to claim 1, wherein: in a particular calibration environment, including environments in which a particular temperature, dust-free, and light environment is relatively fixed.
3. The method for calibrating the difference in the photoelectric characteristics of the photoelectric sensor according to claim 1, wherein: the illumination environment is consistent, the material irradiated to the photodiode in the photoelectric sensor is included, and the absolute distance of the irradiated material relative to the irradiated photodiode is consistent.
4. The method for calibrating the difference in the photoelectric characteristics of the photoelectric sensor according to claim 1, wherein: in S1, the duty ratio of the PWM driving signal input to the input terminal of each of the photosensors in the batch sensor is adjusted, so that the signal values output by each of the photosensors are all the same, and the PWM signal is output to both ends of the light emitting diode of each of the photosensors by the microprocessor MCU, and the PWM signal is input to each of the photosensors.
5. The method for calibrating the difference in the photoelectric characteristics of the photoelectric sensor according to claim 4, wherein: in the step S1, the signal values output by each of the photoelectric sensors are consistent by receiving the analog signal values at the output end of the photoelectric sensor, converting the analog signal output into a digital signal, and automatically determining by the microprocessor MCU and automatically adjusting the output PWM signal by the microprocessor MCU.
6. The method for calibrating the difference in the photoelectric characteristics of the photoelectric sensor according to claim 5, wherein: the microprocessor MCU is integrated with an analog-to-digital conversion module, analog signals output by the photoelectric sensor are directly and automatically acquired and judged through the analog-to-digital conversion module of the microprocessor MCU, and the duty ratio of the output PWM signals is automatically adjusted through the microprocessor MCU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110772189.6A CN113465652A (en) | 2021-07-06 | 2021-07-06 | Method for calibrating photoelectric characteristic difference of photoelectric sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110772189.6A CN113465652A (en) | 2021-07-06 | 2021-07-06 | Method for calibrating photoelectric characteristic difference of photoelectric sensor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113465652A true CN113465652A (en) | 2021-10-01 |
Family
ID=77879167
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110772189.6A Pending CN113465652A (en) | 2021-07-06 | 2021-07-06 | Method for calibrating photoelectric characteristic difference of photoelectric sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113465652A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114279482A (en) * | 2021-11-26 | 2022-04-05 | 山东云海国创云计算装备产业创新中心有限公司 | Transmission sensor calibration method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101055374A (en) * | 2006-04-14 | 2007-10-17 | Nec液晶技术株式会社 | Backlight system, liquid crystal display including the same, and method of adjusting backlight |
KR20080107825A (en) * | 2007-06-08 | 2008-12-11 | 엘지디스플레이 주식회사 | Liquid crystal display and driving method thereof |
EP3252445A1 (en) * | 2016-06-01 | 2017-12-06 | ams International AG | Photodetector arrangement having an adjustable output and method for adjusting an output of a photodetector arrangement |
CN110312342A (en) * | 2019-06-28 | 2019-10-08 | 上海索迪龙自动化有限公司 | The light projector of photoelectric sensor adjusts system |
CN211606862U (en) * | 2019-12-31 | 2020-09-29 | 美芯晟科技(北京)有限公司 | LED dimming circuit and LED dimming system |
-
2021
- 2021-07-06 CN CN202110772189.6A patent/CN113465652A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101055374A (en) * | 2006-04-14 | 2007-10-17 | Nec液晶技术株式会社 | Backlight system, liquid crystal display including the same, and method of adjusting backlight |
CN103413529A (en) * | 2006-04-14 | 2013-11-27 | Nlt科技股份有限公司 | Backlight system, liquid crystal display including the same, and method of adjusting backlight |
KR20080107825A (en) * | 2007-06-08 | 2008-12-11 | 엘지디스플레이 주식회사 | Liquid crystal display and driving method thereof |
EP3252445A1 (en) * | 2016-06-01 | 2017-12-06 | ams International AG | Photodetector arrangement having an adjustable output and method for adjusting an output of a photodetector arrangement |
CN110312342A (en) * | 2019-06-28 | 2019-10-08 | 上海索迪龙自动化有限公司 | The light projector of photoelectric sensor adjusts system |
CN211606862U (en) * | 2019-12-31 | 2020-09-29 | 美芯晟科技(北京)有限公司 | LED dimming circuit and LED dimming system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114279482A (en) * | 2021-11-26 | 2022-04-05 | 山东云海国创云计算装备产业创新中心有限公司 | Transmission sensor calibration method and system |
CN114279482B (en) * | 2021-11-26 | 2024-04-09 | 山东云海国创云计算装备产业创新中心有限公司 | Verification method and system for transmission sensor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8242430B2 (en) | Apparatuses and methods that reduce mismatch errors associated with analog subtractions used for light sensing | |
JP5270641B2 (en) | Illuminance sensor and display device including the illuminance sensor | |
CN201622322U (en) | Comprehensive testing device for OLED photoelectric properties | |
CN203870252U (en) | Photoelectric sensor | |
CN113465652A (en) | Method for calibrating photoelectric characteristic difference of photoelectric sensor | |
TWI735399B (en) | Photosensor device with dark current cancellation | |
KR20120119373A (en) | Smart light sensor able to distinguish ambient light source and color temperature | |
CN102466515A (en) | Method and system for calibrating optical sensor of mobile terminal | |
CN115561826A (en) | Proximity detection circuit and proximity sensor | |
JP2013140098A (en) | Illuminance sensor and display device | |
TWI516032B (en) | A photoelectric conversion device capable of eliminated dark current | |
CN108647541B (en) | Bar code scanning chip and scanning method | |
US10649059B2 (en) | Multi-channel detecting system | |
CN108167779B (en) | High-precision light control method of LED lamp | |
CN110632015A (en) | Variable light form gas sensor | |
CN111854937B (en) | Detection method for light in specific wavelength range based on LEDs with different light emitting wavelengths | |
KR101800205B1 (en) | Analog operational amplifier based pulse-width modulation circuits for optical chemical sensor readout and optical-chemical sensor system comprising the same | |
US20220397454A1 (en) | Photoconductor Readout Circuit | |
CN211293199U (en) | Lamp flicker detection device | |
CN210953809U (en) | Variable light form gas sensor | |
US11424715B2 (en) | Solar energy detection module and solar panel | |
Long et al. | Energy harvesting characteristics of emerging PV for indoor and outdoor | |
CN209841186U (en) | CMOS self-calibration light intensity monitoring integrated circuit | |
Ripoll-Vercellone et al. | Experimental characterization of off-the-shelf LEDs as photodetectors for waking up microcontrollers | |
CN213956734U (en) | LED lamp illumination detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |