CN110296723B - Sunlight-resistant wide-angle photoelectric sensor and decoding method of decoder thereof - Google Patents

Sunlight-resistant wide-angle photoelectric sensor and decoding method of decoder thereof Download PDF

Info

Publication number
CN110296723B
CN110296723B CN201910603260.0A CN201910603260A CN110296723B CN 110296723 B CN110296723 B CN 110296723B CN 201910603260 A CN201910603260 A CN 201910603260A CN 110296723 B CN110296723 B CN 110296723B
Authority
CN
China
Prior art keywords
lens
decoder
counter
sunlight
singlechip
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
Application number
CN201910603260.0A
Other languages
Chinese (zh)
Other versions
CN110296723A (en
Inventor
安伟刚
李貌民
蒋娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tofe Sensing Technology Shanghai Co ltd
Original Assignee
Tofe Sensing Technology Shanghai Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tofe Sensing Technology Shanghai Co ltd filed Critical Tofe Sensing Technology Shanghai Co ltd
Priority to CN201910603260.0A priority Critical patent/CN110296723B/en
Publication of CN110296723A publication Critical patent/CN110296723A/en
Application granted granted Critical
Publication of CN110296723B publication Critical patent/CN110296723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING 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
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING 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
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optical Communication System (AREA)

Abstract

The invention discloses a sunlight-resistant wide-angle photoelectric sensor, which comprises a lens shell, a lampshade, a transceiver tube and a circuit board, wherein the transceiver tube is electrically connected with the circuit board, the outer side of the transceiver tube is sleeved with the lampshade, one end of the transceiver tube is connected with the circuit board, one side of the lampshade, which is far away from the circuit board, is provided with the lens shell, the lens is arranged in the lens shell, one end of the lens is electrically connected with a decoder, the decoder recognizes and decodes non-signal light, the decoding method of the decoder is simple, the sensor is matched with the decoder to use, the sensor has a better using effect, the lens shell adopts a black infrared-transmitting PC layer to filter a light source, the filtering effect is better, the light focusing is facilitated, the better focusing effect is achieved, the inner surface of the lens shell is smooth and smooth, the light is effectively prevented from being scattered and weakened by diffuse reflection, the focusing effect is good, the long-distance accurate focusing can be achieved, the transceiver tube is sleeved with the lampshade, and then the lens shell is tightly attached to the lens shell, and the wide-angle receiving and transmitting of the product is widely applied to the sensor and related industries thereof.

Description

Sunlight-resistant wide-angle photoelectric sensor and decoding method of decoder thereof
Technical Field
The invention relates to the technical field of sensors, in particular to a decoding method of a decoder of a sunlight-resistant wide-angle photoelectric sensor.
Background
The precision of the sensor is gradually accurate along with the progress of science and technology, but due to the influence of geographic positions in China, light irradiation can cause certain influence on the sensor, particularly, the photoelectric sensor, because sunlight is full spectrum, the common photoelectric sensor receiving part can easily interfere with the sunlight to cause the function to lose efficacy, and the sensitivity of the photoelectric sensor is more sensitive, so that the photoelectric sensor can be influenced in a strong illumination state, even the influence on the photoelectric sensor is increased along with the intensity enhancement of the light, the accuracy of the sensor can be directly influenced, and the service life of the sensor can be influenced.
In addition, the propagation distance of the photoelectric sensor is stronger than that of a traditional sensor, so that the photoelectric sensor is biased to transmit in a long distance in the process of setting and installing, and therefore, in order to make the distance of the sensor longer, small-angle emission is generally adopted, but when the distance is too far, the receiving and transmitting angle is too small, and the photoelectric sensor cannot receive signals.
Disclosure of Invention
The invention provides a decoding method of a decoder of a sunlight-resistant wide-angle photoelectric sensor, which aims to solve the problem of smaller signal transmission angle of the sensor in the prior art.
In order to solve the technical problems, the invention discloses the following technical scheme:
The utility model provides a sunlight-resistant wide-angle photoelectric sensor, includes lens shell, lamp shade, receiving and dispatching pipe and circuit board electric connection, the outside cover of receiving and dispatching pipe has the lamp shade, receiving and dispatching pipe one end is connected with the circuit board, one side that the circuit board was kept away from to the lamp shade sets up the lens shell, sets up the lens in the lens shell, lens one end and decoder electric connection, decoder discernment decoding non-signalization light.
The lens housing is a PC layer, and the PC layer is black and transmits infrared light.
The lens housing is of a plano-convex structure, and the front end of the lens housing protrudes.
The inner surface of the lens is of a smooth structure.
The lower end of the lens is provided with a diverter which is electrically connected with the decoder.
And a singlechip counter is arranged in the receiving and transmitting tube.
A decoding method of a sunlight-resistant wide-angle photoelectric sensor decoder comprises the following decoding steps:
step a, the transmitting end of the sensor transmits pulses with the signal period of 1.34 ms.
B, enabling the single-chip microcomputer counter after the receiving end is electrified, enabling infrared reception to be interrupted, counting if an infrared pulse signal is received at the moment, and then executing judgment on whether the counting period of the single-chip microcomputer counter reaches 3.4ms; if the infrared pulse signal is not received, jumping to the next step to judge whether the period of the counter reaches 3.4ms;
and c, triggering the interruption of the single chip microcomputer counter when the timing time of the counter reaches 3.4ms, and performing trigger counting of the single chip microcomputer counter, judging whether the number of received pulses is at a set threshold value, and relaxing the judging condition, wherein interference pulses occasionally appear in the 3.4ms time when the judgment condition is irradiated by sunlight, so that interference can be effectively filtered. If the condition is met, detecting signal counting is carried out, if the condition is not met, the next step is directly skipped, and the threshold value is within the range of 3-8.
Step d, judging whether the trigger number of the single chip microcomputer counter is equal to 8, if so, judging whether the count value of the detected signal is larger than 5, if so, judging that the signal is detected, and if not, judging that the signal is not detected; the method is used for judging whether the number of the condition detection signals is larger than 5 or not and further filtering unnecessary sunlight interference signals received in a specified period.
And e, resetting the counter of the singlechip, resetting the detection signal number, and resetting the pulse counter.
The technical scheme shows that the invention has the following advantages:
1. the invention has simple structure and small design, and is suitable for industrialized mass production.
2. The lens shell of the invention adopts the black infrared-transmitting PC layer to filter the light source, and has better filtering effect.
3. The lens shell of the invention adopts a plano-convex structure, which is favorable for focusing light rays and has better focusing effect.
4. The inner surface of the lens shell is flat and smooth, and light rays are effectively prevented from being weakened by diffuse reflection.
5. The invention has good focusing effect and can realize remote accurate focusing.
6. The outer side of the receiving and transmitting tube is sleeved with the lampshade and then clings to the lens shell, so that the wide-angle receiving and transmitting of the product is realized.
7. The decoding method of the decoder is simple, has good decoding effect, and has better use effect when being matched with a sensor.
8. The invention is widely applicable to sensors and related industries.
Drawings
Fig. 1 is a schematic structural view of the present invention.
Fig. 2 is a decoding flow chart of the decoder of the present invention.
Wherein: 1. a lens housing; 2. a lamp shade; 3. a transceiver tube; 4. a circuit board; 5. a lens; 6. and a decoder.
Detailed Description
The utility model provides a wide angle photoelectric sensor of anti sunlight, includes lens shell 1, lamp shade 2, receiving and dispatching pipe 3 and circuit board 4 electric connection, receiving and dispatching pipe 3 outside cover has lamp shade 2, receiving and dispatching pipe 3 one end is connected with circuit board 4, one side that circuit board 4 was kept away from to lamp shade 2 sets up lens shell 1, sets up lens 5 in the lens shell 1, lens 5 one end and decoder 6 electric connection, decoder 6 discernment decoding non-signalization light.
The lens housing 1 is a PC layer, and the PC layer is black and transmits infrared light, so that most of non-target light sources can be directly filtered, and interference is reduced.
The lens housing 1 is of a plano-convex structure, so that a light source can be effectively focused, the front end of the lens housing 1 is convex, and the diffuse reflection effect of light in the lens housing 1 can be effectively reduced.
The inner surface of the lens 5 is of a smooth structure, so that the energy loss of light in the process of propagation is reduced.
The diverter is arranged at the lower end of the lens 5 and is electrically connected with the decoder 6, so that the decoder 6 can automatically adjust the decoding angle under the electric drive, and the decoding effect of the sensor is ensured.
The receiving and transmitting tube 3 is internally provided with a singlechip counter, and can perform triggering operation through the singlechip counter.
A decoding method of a sunlight-resistant wide-angle photoelectric sensor decoder comprises the following decoding steps:
step a, the transmitting end of the sensor transmits pulses with the signal period of 1.34 ms.
B, enabling the single-chip microcomputer counter after the receiving end is electrified, enabling infrared reception to be interrupted, counting if an infrared pulse signal is received at the moment, and then executing judgment on whether the counting period of the single-chip microcomputer counter reaches 3.4ms; if the infrared pulse signal is not received, jumping to the next step to judge whether the period of the counter reaches 3.4ms;
Step c, triggering the interruption of the single-chip microcomputer counter when the timing time of the counter reaches 3.4ms, and performing trigger counting of the single-chip microcomputer counter, judging whether the number of received pulses is at a set threshold value, and relaxing a judging condition, wherein interference pulses occasionally appear in the 3.4ms time when the received pulses are irradiated by sunlight, and effectively filtering interference through the judging condition; if the condition is met, detecting signal counting is carried out, if the condition is not met, the next step is directly skipped, and the threshold value is within the range of 3-8.
Step d, judging whether the trigger number of the single chip microcomputer counter is equal to 8, if so, judging whether the count value of the detected signal is larger than 5, if so, judging that the signal is detected, and if not, judging that the signal is not detected; the method is used for judging whether the number of the condition detection signals is larger than 5 or not and further filtering unnecessary sunlight interference signals received in a specified period.
And e, resetting the counter of the singlechip, resetting the detection signal number, and resetting the pulse counter.

Claims (4)

1. A decoding method of a decoder of a sunlight-resistant wide-angle photoelectric sensor is characterized by comprising the following steps of: be applied to anti wide angle photoelectric sensor of sunlight, anti wide angle photoelectric sensor of sunlight includes lens shell (1), lamp shade (2), receiving and dispatching pipe (3) and circuit board (4) electric connection, receiving and dispatching pipe (3) outside cover has lamp shade (2), receiving and dispatching pipe (3) one end and circuit board (4) are connected, one side that circuit board (4) was kept away from to lamp shade (2) sets up lens shell (1), sets up lens (5) in lens shell (1), lens (5) one end and decoder (6) electric connection, lens shell (1) are the PC layer, the black infrared light that passes through of PC layer, set up the singlechip counter in receiving and dispatching pipe (3), decoding method includes following decoding steps:
Step a, a sensor transmitting end transmits a pulse with a signal period of 1.34 ms;
b, enabling a singlechip counter after the receiving end is electrified, enabling infrared receiving to be interrupted, counting by using the receiving pulse counter if an infrared pulse signal is received at the moment, and then executing judgment on whether the counting period of the singlechip counter reaches 3.4ms; if the infrared pulse signal is not received, jumping to the next step to execute the judgment of whether the counting period of the singlechip counter reaches 3.4ms;
Step c, triggering the interruption of the singlechip counter when the timing time of the singlechip counter reaches 3.4ms, and performing trigger counting of the singlechip counter, judging whether the number of received pulses is in a set threshold value at the moment, if so, performing detection signal counting, and if not, directly jumping to the next step, wherein the threshold value is in a range of 3-8;
Step d, judging whether the trigger number of the single chip microcomputer counter is equal to 8, if so, judging whether the count value of the detected signal is larger than 5, if so, judging that the signal is detected, and if not, judging that the signal is not detected;
And e, resetting the counter of the singlechip, resetting the detection signal number, and resetting the pulse counter.
2. The decoding method of a decoder of a sunlight-resistant wide-angle photosensor according to claim 1, wherein: the lens housing (1) is of a plano-convex structure, and the front end of the lens housing (1) protrudes.
3. The decoding method of a decoder of a sunlight-resistant wide-angle photosensor according to claim 1, wherein: the inner surface of the lens (5) is of a smooth structure.
4. The decoding method of a decoder of a sunlight-resistant wide-angle photosensor according to claim 1, wherein: the lower end of the lens (5) is provided with a diverter which is electrically connected with the decoder (6).
CN201910603260.0A 2019-07-05 2019-07-05 Sunlight-resistant wide-angle photoelectric sensor and decoding method of decoder thereof Active CN110296723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910603260.0A CN110296723B (en) 2019-07-05 2019-07-05 Sunlight-resistant wide-angle photoelectric sensor and decoding method of decoder thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910603260.0A CN110296723B (en) 2019-07-05 2019-07-05 Sunlight-resistant wide-angle photoelectric sensor and decoding method of decoder thereof

Publications (2)

Publication Number Publication Date
CN110296723A CN110296723A (en) 2019-10-01
CN110296723B true CN110296723B (en) 2024-05-03

Family

ID=68030480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910603260.0A Active CN110296723B (en) 2019-07-05 2019-07-05 Sunlight-resistant wide-angle photoelectric sensor and decoding method of decoder thereof

Country Status (1)

Country Link
CN (1) CN110296723B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1127309A (en) * 1997-07-04 1999-01-29 Meidensha Corp Optical repeater
CN201181336Y (en) * 2008-04-03 2009-01-14 甘海苗 Long-distance scattered reflection type photoelectric sensor
CN104913796A (en) * 2015-01-29 2015-09-16 上海兰宝传感科技股份有限公司 Long-distance correlated photoelectric sensor based on aspheric lens
CN204948082U (en) * 2015-09-01 2016-01-06 深圳光启智能光子技术有限公司 A kind of light signal receiving
CN106405524A (en) * 2016-08-24 2017-02-15 上海兰宝传感科技股份有限公司 Infrared distance measuring sensor
CN107422431A (en) * 2017-08-23 2017-12-01 李婵 A kind of dust-proof input equipment optical lens module
CN210180462U (en) * 2019-07-05 2020-03-24 上海托菲机电科技有限公司 Anti-sunlight wide-angle photoelectric sensor

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1127309A (en) * 1997-07-04 1999-01-29 Meidensha Corp Optical repeater
CN201181336Y (en) * 2008-04-03 2009-01-14 甘海苗 Long-distance scattered reflection type photoelectric sensor
CN104913796A (en) * 2015-01-29 2015-09-16 上海兰宝传感科技股份有限公司 Long-distance correlated photoelectric sensor based on aspheric lens
CN204948082U (en) * 2015-09-01 2016-01-06 深圳光启智能光子技术有限公司 A kind of light signal receiving
CN106405524A (en) * 2016-08-24 2017-02-15 上海兰宝传感科技股份有限公司 Infrared distance measuring sensor
CN107422431A (en) * 2017-08-23 2017-12-01 李婵 A kind of dust-proof input equipment optical lens module
CN210180462U (en) * 2019-07-05 2020-03-24 上海托菲机电科技有限公司 Anti-sunlight wide-angle photoelectric sensor

Also Published As

Publication number Publication date
CN110296723A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
WO2017166890A1 (en) Real-time cooking fume concentration monitoring system and range hood applying the same
CN201876411U (en) Long-optical path air chamber device
CN111552005A (en) Symmetrical receiving and transmitting integrated infrared correlation sensor
CN110296723B (en) Sunlight-resistant wide-angle photoelectric sensor and decoding method of decoder thereof
CN104748767B (en) Anti-interference light receiving sensor
CN102721662A (en) Mining infrared gas sensor with high efficiency of light sources
CN103293139B (en) A kind of sensing device of fluorescence explosive detection instrument
CN201589868U (en) Sanitary ware automatic sensor with infrared remote control
KR20120062600A (en) System for measuring arc and arc delivering device included in the same
CN210180462U (en) Anti-sunlight wide-angle photoelectric sensor
CN207764088U (en) A kind of oil smoke sensor
CN112803934A (en) Correlation type photoelectric switch detection method
CN201130029Y (en) Intelligent type photoelectric sensor
CN113726982A (en) Photoelectric sensor capable of resisting high-frequency light interference
WO2021004135A1 (en) Stain detection device and laser radar
CN101477735A (en) Three-beam active infrared intrusion detector
CN205280588U (en) Multichannel surface of water oil real -time supervision device
CN205426185U (en) Measure circuit of light curtain
CN205232179U (en) Remote reflector panel type photoelectric switch
CN210486911U (en) Photoelectric sensor device
CN203012900U (en) Smoke alarm with remote control detection function
CN204990598U (en) High -speed flame detector is prevented reporting by mistake by height
CN210720159U (en) Optical assembly for simultaneously measuring light oil and heavy oil in water
CN205416748U (en) Fully -automatic vision printing machine washs paper quantity detecting system
CN210630631U (en) Cigarette loose end and outward appearance intelligent sensor based on etherCAT

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
CB02 Change of applicant information

Country or region after: China

Address after: 200000 room 13603, No. 2072, Songjin Road, Zhangyan Town, Jinshan District, Shanghai

Applicant after: Tofe sensing technology (Shanghai) Co.,Ltd.

Address before: 200000 room 13603, No. 2072, Songjin Road, Zhangyan Town, Jinshan District, Shanghai

Applicant before: SHANGHAI TOFI ELECTRICAL TECHNOLOGY CO.,LTD.

Country or region before: China

CB02 Change of applicant information
GR01 Patent grant