CN103743430B - A kind of correlation photoelectric sensor - Google Patents
A kind of correlation photoelectric sensor Download PDFInfo
- Publication number
- CN103743430B CN103743430B CN201310742994.XA CN201310742994A CN103743430B CN 103743430 B CN103743430 B CN 103743430B CN 201310742994 A CN201310742994 A CN 201310742994A CN 103743430 B CN103743430 B CN 103743430B
- Authority
- CN
- China
- Prior art keywords
- receiving
- indicator lamp
- circuit
- microseconds
- frequency indicator
- 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.)
- Active
Links
Landscapes
- Optical Radar Systems And Details Thereof (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
The invention discloses a kind of correlation photoelectric sensor, comprise emission sensor and receiving sensor, emission sensor comprises the single-chip microcomputer of electrical connection, power circuit and power light, transmitting terminal rotational potentiometer and frequency indicator lamp, infrared transmitting tube and driving circuit, and diversing lens and filter, receiving sensor comprises the microprocessor comprising inner integrated comparator and AD conversion of electrical connection, receiving circuit, operational amplification circuit, output control circuit, potentiometer regulates NO/NC circuit, receiving end rotational potentiometer and frequency indicator lamp, and filter and comprise the optical filter of receiver lens.When the receiving end rotational potentiometer of receiving sensor is switched to " 1 ", receiving end frequency indicator lamp is lit, and receiving sensor receives the transponder pulse identifying that emission sensor produces under transmitting terminal frequency indicator lamp illuminating state.
Description
Technical field
The invention belongs to sensor technical field, particularly a kind of correlation photoelectric sensor.
Background technology
Conventional correlation photoelectric sensor, different with conventional diffuse reflection photoelectric sensor, its transmitter is separated with receiver, because it directly receives the light that transmitter sends, such light attenuation is few, and utilization factor is high, and affect little by dust, what therefore its distance can be done is distant, owing to not requiring inspected object surface, so Application comparison is extensive.
Conventional correlation photoelectric sensor is mainly by hard-wired, and its main implementation has 2 kinds:
The first is by the coupling amplification to receiving tube signal, and the signal after amplification charges to electric capacity or discharges, when capacitance voltage exceed upper limit threshold or lower than lower threshold time, driver output circuit perform export control;
Whether the second is by hardware frequency selection circuit, carries out frequency detecting to received signal, met the demands by the frequency of detection signal, performs to export to control.
These 2 kinds of schemes all can ensure that conventional correlation photoelectric sensor is when normally working without strong magnetic interference or without when mutually disturbing, so when in use, has certain requirement to the environment occasion of application
As shown in Figure 1, the first scheme, radiating circuit launches ruddiness or the infrared light of fixed frequency; receiving circuit receives the light of transmitting by receiving tube; after coupling capacitance coupling, amplification process is carried out to signal, utilize the signal after amplifying to carry out discharge and recharge to electric capacity; When not having object to block receiving sensor, due to the receiving optical signals that receiver continues, by coupling amplification, to capacitor charging, making capacitance level increase, when reaching upper limit threshold, driving Schmidt's reverser to perform and exporting control; When having object process or receiver to be blocked, electric capacity is in discharge condition, owing to not having the light signal of coupling amplification to capacitor charging, electric capacity is in discharge condition, capacitance voltage can decline rapidly, when dropping to lower than lower threshold, driving the execution of Schmidt's reverser to export and controlling.
As shown in Figure 2, first scheme, adopt the scheme of frequency selection circuit, hardware radiating circuit launches ruddiness or the infrared light of the fixed frequency containing 2 continuous small-pulse effects, and receiving tube is by after capacitive coupling, after triode amplification, operation amplifier, carry out threshold value to compare, the signal relatively by signal frequency selection circuit, select meet frequency containing 2 continuous small-pulse effects as useful signal, and invalid to single pulse signal, thus reach the object exporting and control.
In visible prior art, radiating circuit mostly is crystal oscillating circuit, oppositely oscillatory circuit, 555 timer circuits and forms, this circuit, and frequency adjustment is inconvenient, and temperature influence is large, and low precision.Receiving circuit is more complicated often, and built-up circuit mostly is triode, amplifier, reverser, comparer etc., and under can only being operated in glitch-free environmental baseline or disturb smaller occasion, and for the electromagnetic interference (EMI) of intensity, has no processing power.No matter be by capacitor charge and discharge, or by signal frequency selection circuit, for the mutual undesired signal between electromagnetic interference (EMI) or sensor, all there is no recognition capability, can only process as useful signal, so result Reliability comparotive is poor, be easy to produce misoperation.
Summary of the invention
The object of this invention is to provide a kind of correlation photoelectric sensor, rely on hard-wired drawback to solve prior art.
Technical scheme of the present invention is, a kind of correlation photoelectric sensor, comprise emission sensor and receiving sensor, emission sensor comprises the single-chip microcomputer of electrical connection, power circuit and power light, transmitting terminal rotational potentiometer and frequency indicator lamp, infrared transmitting tube and driving circuit, and diversing lens and filter, receiving sensor comprises the microprocessor comprising inner integrated comparator and AD conversion of electrical connection, receiving circuit, operational amplification circuit, output control circuit, potentiometer regulates NO/NC circuit, receiving end rotational potentiometer and frequency indicator lamp, and filter and comprise the optical filter of receiver lens,
When transmitting terminal rotational potentiometer is switched to " 1 ", transmitting terminal frequency indicator lamp is lighted, and emission sensor produces modulating wave by single-chip microcomputer and drives infrared transmitting tube, the recurrent pulse of launching is, { a1, a2, a3 ..., an}, pulse width is 5 microseconds, and the recurrent interval between a1 and a2 is 215 microseconds, and the recurrent interval between a2 and a3 is 255 microseconds, recurrent interval between a3 and a4 is 215 microseconds, recurrent interval between a4 and a5 is 255 microseconds ... by that analogy
When transmitting terminal rotational potentiometer is switched to " 0 ", transmitting terminal frequency indicator lamp is extinguished, and emission sensor produces modulating wave by single-chip microcomputer and drives infrared transmitting tube, the recurrent pulse of launching is, { b1, b2, b3 ..., bn}, pulse width is 5 microseconds, and the recurrent interval between b1 and b2 is 185 microseconds, and the recurrent interval between b2 and b3 is 285 microseconds, recurrent interval between b3 and b4 is 185 microseconds, recurrent interval between b4 and b5 is 285 microseconds ... by that analogy
When the receiving end rotational potentiometer of receiving sensor is switched to " 1 ", receiving end frequency indicator lamp is lit, and receiving sensor receives the transponder pulse identifying that emission sensor produces under transmitting terminal frequency indicator lamp illuminating state,
When the receiving end rotational potentiometer of receiving sensor is switched to " 0 ", receiving end frequency indicator lamp is extinguished, and receiving sensor receives the transponder pulse identifying that emission sensor produces under transmitting terminal frequency indicator lamp OFF state.
Sensor emission circuit of the present invention sets transponder pulse by single-chip microcomputer, receiving circuit processes Received signal strength by microcontroller, by rigorous, reasonable, efficient algorithm, accurately identify the characteristic pulse that radiating circuit produces, thus remove disturbing pulse signal, make testing result more reliable and stable.
Accompanying drawing explanation
Fig. 1 is a kind of circuit theory diagrams of the prior art.
Fig. 2 is another kind of circuit theory diagrams of the prior art.
Fig. 3 is systematic schematic diagram of the present invention.
Fig. 4 is exomonental a kind of oscillogram in the present invention.
Fig. 5 is the exomonental a kind of oscillogram in the present invention.
Embodiment
As shown in Figure 3, the circuit of emission sensor produces modulating wave by PIC single chip microcomputer and drives infrared transmitting tube, and come compared with hardware circuit, it can facilitate, produce various modulating wave flexibly; For electromagnetism interference and mutually interference examine filter, we add rotational potentiometer S1, when rotational potentiometer is switched to VDD, frequency indicator lamp D5 is lit, the transmission frequency that single-chip microcomputer produces is: when rotational potentiometer is switched to GND, frequency indicator lamp D5 is closed, and the transmission frequency that single-chip microcomputer produces is:
The receiving circuit of receiving sensor selects the ARM chip of low-cost and high-performance as primary processor, and its aboundresources, travelling speed are fast, support JTAG debugs; The main operational principle of receiver is by catching the time of triggering ARM internal comparator look-at-me, and calculate the time interval between pulse by reasonable, rigorous algorithm, by these time intervals, we can judge that trigger pip is useful signal or undesired signal, thus carry out output control.
Receiving unit switches the scheme of transmission frequency by rotational potentiometer for radiating portion, have also been made and process targetedly, when the rotational potentiometer S1 of receiving circuit is switched to VDD, receiving end frequency indicator lamp D7 is lit, the transmission frequency that receiving circuit produces under will processing radiating circuit frequency indicator lamp illuminating state; And when the rotational potentiometer S1 of receiving circuit is switched to GND, the transmitting that receiving circuit produces under will processing radiating circuit frequency indicator lamp closed condition frequently, like this, when there being interference mutually, the frequency of launching and receiving can be switched by rotational potentiometer, make the frequency between adjacent sensors different, just can avoid mutual interference.
The technical scheme of concrete receiving unit divides 3 parts, Part I: master control function; Part II: the mode of being interrupted by comparer, accurately catch the Received signal strength that trigger comparator interrupts time the moment, no matter be useful signal or undesired signal, be completely recorded in array; Part III: pulse characteristics identification, by the data recorded in process array, and calculates the time interval between them, distinguishes useful signal or undesired signal by these time intervals; Part IV, sampled result process and output control.Concrete scheme is as follows:
Part I, master control function: by detecting the low and high level of rotational potentiometer, select the upper limit or the lower range of feature identification signal frequency, then by pulse characteristics identification, calculate unitary sampling result, by filtering algorithm, sampled result is processed, and perform output control.
Part II, accurately catches the moment of trigger comparator interrupting receive signal: break in service function, is one of key modules of software process, plays critical effect to sensor antijamming capability; Its code is succinct, travelling speed is fast, execution efficiency is high.The comparer no matter any signal triggers interrupts, and all can record the value of current time by timer 1 and be saved in the array defined, for pulse characteristics identifying processing, namely filter out useful pulse signal, removes undesired signal;
Part II pulse characteristics identifying processing, by pulse characteristics identifying processing, filters out useful signal, removes undesirable undesired signal; Its main algorithm is the time interval by calculating new data pulse in array, and whether carry out judging characteristic pulse and meet the demands, if met the demands, sampled result, do not meet the demands, sampled result clear 0 if putting 1:
The process of Part IV sampled result and output control: due to the existence of undesired signal, the accuracy of sampled result can not ensure it is 100% no problem, may add mixes other undesired signal, so, reliable and stable for ensureing sampled result, we take certain fault-tolerant processing measure--the disposal of gentle filter, guarantee, when there being the undesired signal of 1 to 2, can not have influence on Output rusults.
The present invention does not disturb the problem of processing power under solving hardware mode by the mode of characteristic pulse process, solve asking of interference mutually by the mode of rotational potentiometer switching frequency, make the application of pulse characteristics identification correlation photoelectric sensor more extensive; Circuit have also been obtained simplification simultaneously, significantly improves the ratio of performance to price of original hardware circuit scheme.
Claims (1)
1. a correlation photoelectric sensor, comprise emission sensor and receiving sensor, it is characterized in that, emission sensor comprises the single-chip microcomputer of electrical connection, power circuit and power light, transmitting terminal rotational potentiometer and frequency indicator lamp, infrared transmitting tube and driving circuit, and diversing lens and filter, receiving sensor comprises the microprocessor comprising inner integrated comparator and AD conversion of electrical connection, receiving circuit, operational amplification circuit, output control circuit, potentiometer regulates NO/NC circuit, receiving end rotational potentiometer and frequency indicator lamp, and filter and comprise the optical filter of receiver lens,
When transmitting terminal rotational potentiometer is switched to " 1 ", transmitting terminal frequency indicator lamp is lighted, and emission sensor produces modulating wave by single-chip microcomputer and drives infrared transmitting tube, the recurrent pulse of launching is, { a1, a2, a3 ..., an}, pulse width is 5 microseconds, and the recurrent interval between a1 and a2 is 215 microseconds, and the recurrent interval between a2 and a3 is 255 microseconds, recurrent interval between a3 and a4 is 215 microseconds, recurrent interval between a4 and a5 is 255 microseconds, and the rest may be inferred
When transmitting terminal rotational potentiometer is switched to " 0 ", transmitting terminal frequency indicator lamp is extinguished, and emission sensor produces modulating wave by single-chip microcomputer and drives infrared transmitting tube, the recurrent pulse of launching is, { b1, b2, b3 ..., bn}, pulse width is 5 microseconds, and the recurrent interval between b1 and b2 is 185 microseconds, and the recurrent interval between b2 and b3 is 285 microseconds, recurrent interval between b3 and b4 is 185 microseconds, recurrent interval between b4 and b5 is 285 microseconds, and the rest may be inferred
When the receiving end rotational potentiometer of receiving sensor is switched to " 1 ", receiving end frequency indicator lamp is lit, and receiving sensor receives the transponder pulse identifying that emission sensor produces under transmitting terminal frequency indicator lamp illuminating state,
When the receiving end rotational potentiometer of receiving sensor is switched to " 0 ", receiving end frequency indicator lamp is extinguished, and receiving sensor receives the transponder pulse identifying that emission sensor produces under transmitting terminal frequency indicator lamp OFF state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310742994.XA CN103743430B (en) | 2013-12-27 | 2013-12-27 | A kind of correlation photoelectric sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310742994.XA CN103743430B (en) | 2013-12-27 | 2013-12-27 | A kind of correlation photoelectric sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103743430A CN103743430A (en) | 2014-04-23 |
CN103743430B true CN103743430B (en) | 2016-04-20 |
Family
ID=50500472
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310742994.XA Active CN103743430B (en) | 2013-12-27 | 2013-12-27 | A kind of correlation photoelectric sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103743430B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104913796A (en) * | 2015-01-29 | 2015-09-16 | 上海兰宝传感科技股份有限公司 | Long-distance correlated photoelectric sensor based on aspheric lens |
CN107644524B (en) * | 2016-07-22 | 2021-03-19 | 珠海市杰理科技股份有限公司 | Information transmission method and device based on infrared pair tubes |
CN106054275A (en) * | 2016-08-12 | 2016-10-26 | 米运田 | Infrared detection edge alignment device |
CN106291739B (en) * | 2016-08-24 | 2019-03-22 | 上海兰宝传感科技股份有限公司 | A kind of correlation photoelectric sensor and its anti-interference method |
CN107918161A (en) * | 2017-11-06 | 2018-04-17 | 江门市众能电控科技有限公司 | A kind of workpiece neglected loading monitoring system and its detection method based on infrared induction |
CN108809288A (en) * | 2018-06-14 | 2018-11-13 | 天津杰泰高科传感技术有限公司 | Superminiature is to penetrating optoelectronic switch |
CN113567781A (en) * | 2021-07-17 | 2021-10-29 | 深圳市志奋领科技有限公司 | Anti-interference method and system for photoelectric sensor |
CN114279482B (en) * | 2021-11-26 | 2024-04-09 | 山东云海国创云计算装备产业创新中心有限公司 | Verification method and system for transmission sensor |
CN114681085A (en) * | 2022-03-28 | 2022-07-01 | 上海飞象健康科技有限公司 | Oral cleaner based on intelligent light sensation start-stop control, start-stop control method and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050030692A (en) * | 2003-09-25 | 2005-03-31 | 동부아남반도체 주식회사 | Wafer transfer equipment |
CN2699376Y (en) * | 2003-12-01 | 2005-05-11 | 中体同方体育科技有限公司 | Photoelectric opposite irradiation push-up tester |
CN202586915U (en) * | 2011-09-05 | 2012-12-05 | 中山碧图电子科技有限公司 | Dormancy type correlation groove type infrared light electric switch |
CN203149122U (en) * | 2013-03-29 | 2013-08-21 | 上海兰宝传感科技股份有限公司 | Long distance background inhibition photoelectric sensor |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8480246B2 (en) * | 2011-06-10 | 2013-07-09 | Rockwell Automation Technologies, Inc. | System and method for reduction of optical noise |
-
2013
- 2013-12-27 CN CN201310742994.XA patent/CN103743430B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050030692A (en) * | 2003-09-25 | 2005-03-31 | 동부아남반도체 주식회사 | Wafer transfer equipment |
CN2699376Y (en) * | 2003-12-01 | 2005-05-11 | 中体同方体育科技有限公司 | Photoelectric opposite irradiation push-up tester |
CN202586915U (en) * | 2011-09-05 | 2012-12-05 | 中山碧图电子科技有限公司 | Dormancy type correlation groove type infrared light electric switch |
CN203149122U (en) * | 2013-03-29 | 2013-08-21 | 上海兰宝传感科技股份有限公司 | Long distance background inhibition photoelectric sensor |
Non-Patent Citations (2)
Title |
---|
主动红外对射式光电防盗报警器;韦中超 等;《光电技术应用》;20130430;第28卷(第2期);第1-4页 * |
对射式光电传感器故障自诊断的研究;梁锦 等;《对射式光电传感器故障自诊断的研究》;20011220(第6期);第49、52页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103743430A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103743430B (en) | A kind of correlation photoelectric sensor | |
US9678192B2 (en) | Signal processing for a capacitive sensor system with robustness to noise | |
US8502153B2 (en) | Methods, systems and devices for crosstalk measurement and cancellation in optical proximity sensors | |
CN103259933A (en) | Both-direction camera-shooting system of mobile terminal and control method thereof | |
US9946410B2 (en) | System and method for energy efficient measurement of sensor signal | |
CN105100452A (en) | Method and device for controlling flashlight of intelligent device | |
CN109539354B (en) | Gesture recognition control method of extractor hood with accurate recognition and extractor hood | |
WO2019015417A1 (en) | Proximity sensor control method and device, storage medium and mobile terminal | |
CN108111672B (en) | Anti-jamming method, electronic device, and computer-readable storage medium | |
WO2015081497A1 (en) | Burning prevention card detecting device, terminal device and burning prevention card detecting and processing method | |
WO2017214820A1 (en) | Touch detection circuit, fingerprint module and control method thereof | |
CN101896024A (en) | Lighting device | |
CN104423661B (en) | A kind of mobile terminal and the method for preventing touch screen mistaken touch | |
CN103630235B (en) | A kind of ICP light source flame status pick-up unit and detection method | |
CN112067146A (en) | PIR sensor detection method, device and system and computer storage medium | |
CN103595391A (en) | Intelligent photoelectric switch circuit | |
CN203378117U (en) | Singlechip based energy saving circuit applied to occasions such as hotels and the like | |
JP6884039B2 (en) | Electronics | |
CN203351502U (en) | Vibration induction switch controlling device | |
CN103442476A (en) | LED illuminating system infrared identification controller | |
CN108076220B (en) | Anti-jamming method, electronic device, and computer-readable storage medium | |
CN214793019U (en) | Energy-saving object deformation infrared detection system | |
CN107911905B (en) | Human infrared receiving and processing circuit and processing method thereof | |
CN111309188A (en) | Touch key shielding method and device and capacitive touch equipment | |
CN203352556U (en) | Infrared reflection type induction switch controlling device |
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 |