Control method of interactive multifunctional photoelectric sensor combined with key and screw rod
By using a combined button and screw interactive control method, the problem of the single function of photoelectric sensors is solved, and flexible background suppression and multi-functional sensing are achieved, thus expanding the application scenarios.
Patent Information
- Application Number
- CN202210624287.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2042-06-02
AI Technical Summary
Existing photoelectric sensors adjust the lens position using a screw to change the optical path, resulting in limited functionality and an inability to achieve flexible range sensing and multifunctional applications with background suppression.
A combined interactive control method using buttons and a screw is adopted. The screw adjusts the lens position to change the light path, and the button obtains the light signal intensity value. The processor performs two-layer algorithm processing to achieve multi-functional sensing.
It achieves accurate background suppression and flexible interval sensing under specific background conditions, expanding the application range and functions of photoelectric sensors.
Smart Images

Figure CN114964324B_ABST
Abstract
Description
[TECHNICAL FIELD]
[0001] The application relates to a control method of a key and screw combined interactive multifunctional photoelectric sensor. [BACKGROUND]
[0002] The existing technical solution is to compare the difference of the reflected light intensity received by the two receiving diodes with different positions, so as to accurately sense the position for different reflection intensity surfaces and realize the background suppression function. The lens position is adjusted by the screw, so that the difference of the reflected light at different positions is consistent, and the position to be sensed is changed.
[0003] The photoelectric sensor only has a screw to adjust the lens position to realize the change of the light path, and the existing matching control method is used to realize the background suppression function. The function is single, and flexible range sensing cannot be realized, and more applications cannot be realized under background suppression. [SUMMARY]
[0004] The application overcomes the shortcomings of the above-mentioned technology and provides a control method of a key and screw combined interactive multifunctional photoelectric sensor.
[0005] To achieve the above-mentioned purpose, the application adopts the following technical solutions:
[0006] The control method of the key and screw combined interactive multifunctional photoelectric sensor comprises a shell, a transmitting tube for transmitting light on the lower part of the inner side of the shell and a lower lens for transmitting the light outward, an upper lens for transmitting reflected light on the upper part of the inner side of the shell, and an upper receiving diode and a lower receiving diode for receiving and detecting the intensity of the reflected light signal on the rear side of the upper lens, a screw for controlling the up-down movement of the upper lens to adjust the position on the shell, a PCB board connected with the upper receiving diode and the lower receiving diode in the shell for calculating the distance of the reflection surface according to the difference of the intensity of the reflected light signal, a signal output module on the PCB board, and a key connected with the PCB board for interacting with the processor in the PCB board to realize the intensity value of the transmitted light signal under a specific background. The control method steps are as follows:
[0007] S1, the position of the upper lens is adjusted by the screw, the light intensity of the light path projected on the upper receiving diode and the lower receiving diode is changed, so that under the default light intensity ratio, only at the fixed reflection distance, the default sensing value is reached to realize the background suppression function, which is the first layer judgment basis;
[0008] S2, by pressing the key, the processor acquires the current AD value of the upper receiving diode and the lower receiving diode formed by adjusting the upper lens position in step S1, and takes the current AD value as the sensing standard, as the application judgment of the second layer;
[0009] S3, when detecting, the upper receiving diode and the lower receiving diode receive the reflected light of the detection object, and the processor respectively performs real-time AD value sampling and filtering processing;
[0010] S4, the processor adjusts the default light intensity ratio of the first layer and the upper and lower AD value calculation of the second layer to do two-layer judgment algorithm processing, and outputs the calculated detection object reflection surface distance signal through the signal output module.
[0011] The control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod as described above, characterized in that: the processor in S4 is provided with an induction window for stabilizing the output signal.
[0012] The control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod as described above, characterized in that: the method can be used to detect the detection object vibrating when the detection object is conveyed on the conveying belt.
[0013] The control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod as described above, characterized in that: the method can be used to detect one of the detection objects of different thicknesses on the conveying belt.
[0014] The control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod as described above, characterized in that: the method can be used to detect the detection object on the assembly line when the detection object with near-distance interference passes through the sensor.
[0015] The control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod as described above, characterized in that: the method can be used to detect one of the two detection objects at the same sensing distance.
[0016] The control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod as described above, characterized in that: the method can be used to detect thin and thick detection objects.
[0017] The control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod as described above, characterized in that: the side surface of the shell is provided with a light transmission plate.
[0018] The control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod as described above, characterized in that: the shell is provided with a mounting seat, and the emitting tube, the lower lens and the upper lens are arranged on the mounting seat.
[0019] The control method of the interactive multifunctional photoelectric sensor with the combination of the key and the screw rod as described above, characterized in that the signal output module is an output triode.
[0020] The beneficial effects of the present application are:
[0021] The present application adjusts the lens position through the screw rod to change the light path according to different application scenarios, so as to change the light signal intensity on the upper and lower receiving diodes, and on this basis, the two signals are further valued through the key, and the processor is interacted to realize the value taking of the specific background, and the algorithm operation of the processor is used to realize different functions, that is, the background suppression single function of the prior art is realized, the foreground suppression function is more accurately realized, and the flexible interval sensing function can be realized through the key setting, and the like, and the multifunctional purpose can be achieved. [BRIEF DESCRIPTION OF DRAWINGS]
[0022] Figure 1 It is a schematic diagram of the photoelectric sensor structure of the present application;
[0023] Figure 2 It is a photoelectric sensor exploded view one of the present application;
[0024] Figure 3 It is a photoelectric sensor exploded view two of the present application;
[0025] Figure 4 It is a principle flow chart of the present application. [DETAILED DESCRIPTION]
[0026] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings.
[0027] It should be noted that all directionality indications (such as up, down, left, right, front, back, …) in the embodiments of the present application are only used to explain the relative position relationship, movement condition, etc. between components in a certain specific posture (as shown in the drawings), if the specific posture changes, the directionality indications also change accordingly. In addition, the descriptions of "preferred", "suboptimal" and the like in the present application are only for description purposes, and cannot be understood as indicating or implying the relative importance of the indicated technical features or implicitly indicating the number of the indicated technical features. Therefore, the features with "preferred", "suboptimal" can be explicitly or implicitly included at least one of the features.
[0028] As Figures 1-3As shown, the control method of the interactive multifunctional photoelectric sensor combined with the key and the screw rod, the photoelectric sensor comprises a shell 1, a lower part of the inner side of the shell 1 is provided with a transmitting tube 2 for transmitting light and a lower lens 3 for transmitting and emitting the transmitted light outward, an upper part of the inner side of the shell 1 is provided with an upper lens 4 for transmitting reflected light, and an upper receiving diode 51 and a lower receiving diode 52 are arranged at the rear side of the upper lens 4 for receiving and detecting the intensity of the reflected light signal, a screw rod 6 is arranged on the shell 1 for controlling the up-down movement of the upper lens 4 to adjust the position, a PCB board 7 is arranged in the shell 1 and connected with the upper receiving diode 51 and the lower receiving diode 52 respectively for calculating the distance of the reflecting surface according to the difference of the intensity of the reflected light signal, the PCB board 7 is connected with the transmitting tube 2, a key 8 is arranged on the shell 1 and connected with the PCB board 7 for interacting with the processor in the PCB board 7 to realize the intensity value of the transmitted light signal in a specific background, a signal output module is arranged on the PCB board 7, and the signal output module is an output triode. A light-transmitting plate 9 is arranged on one side of the shell 1, the shell 1 is provided with a mounting seat 10, and the transmitting tube 2, the lower lens 3 and the upper lens 4 are arranged on the mounting seat 10 to facilitate positioning the relative positions of the lower lens 3 and the upper lens 4. The flow chart of the control method of the photoelectric sensor is as shown in the figure Figure 4 The steps are as follows:
[0029] S1, adjust the position of the upper lens 4 through the screw rod 6 to change the light intensity of the light path projected on the upper receiving diode 51 and the lower receiving diode 52, so that only at a fixed reflecting distance can the default sensing value be reached under the default light intensity ratio to realize the background suppression function, which serves as the basis for the first layer judgment;
[0030] S2, through the key 8, the processor obtains the current AD value of the upper receiving diode 51 and the lower receiving diode 52 of the light path formed after adjusting the lens position in the S1 step, and takes the current AD value as the sensing standard, which serves as the application judgment of the second layer;
[0031] S3, when detecting, the upper receiving diode 51 and the lower receiving diode 52 receive the reflected light of the detected object, and the processor respectively performs real-time AD value sampling and filtering processing;
[0032] S4, after the processor adjusts the default light intensity ratio of the first layer and the upper and lower AD value calculation of the second layer according to the application required, adds a suitable sensing window to stabilize the output, and outputs the calculated detected object reflecting surface distance signal through the signal output module.
[0033] Scene one: used for detecting the vibrating detected object when conveying on the conveying belt, the control steps are as follows:
[0034] S11, when the conveying belt vibrates greatly, set the reflecting distance of the detected object through the screw rod 6;
[0035] S12, at this time, by setting the key 8, add the default sinking section difference, so that the conveyor has a large amplitude sinking vibration, and the reflection light of the detection object received by the upper receiving diode 51 and the lower receiving diode 52 can be sensed, that is, the current AD value of the upper receiving diode 51 and the lower receiving diode 52 is obtained by the processor, and the current AD value is taken as the sensing standard;
[0036] S13, when detecting, the reflection light of the detection object received by the upper receiving diode 51 and the lower receiving diode 52 is processed by the processor for real-time AD value sampling and filtering;
[0037] S14, after the processor processes the algorithm of two-layer judgment according to the application required, the suitable sensing window is added to stabilize the output, and the detection object reflection surface distance signal calculated is output by the signal output module.
[0038] In S11, the reflection distance of the sensing detection object is set by the screw rod 6, and the non-sensing phenomenon may also occur.
[0039] Implementation scenario two: for detecting one of the detection objects of different thicknesses on the conveyor belt, the control steps are as follows:
[0040] S21, when there are detection objects of different thicknesses on the conveyor belt and only one of them is detected, the reflection distance of the sensing detection object is set by the screw rod 6;
[0041] S22, by setting the key 8, the default first layer sensing ratio is added to the default range limit, so that the background suppression position has a default interval limit, so as to achieve the function of ignoring other detection objects with larger or smaller thickness, that is, when the detection object moves to the default interval of the position sensing, the reflection light of the detection object received by the upper receiving diode 51 and the lower receiving diode 52 is sensed, and the current AD value of the upper receiving diode 51 and the lower receiving diode 52 is obtained by the processor, and the current AD value is taken as the sensing standard;
[0042] S23, when detecting, the reflection light of the detection object received by the upper receiving diode 51 and the lower receiving diode 52 is processed by the processor for real-time AD value sampling and filtering;
[0043] S24, after the processor processes the algorithm of two-layer judgment according to the application required, the suitable sensing window is added to stabilize the output, and the detection object reflection surface distance signal calculated is output by the signal output module.
[0044] Implementation scenario three: for detecting the detection object on the pipeline when the near distance interference object passes through the sensor, the control steps are as follows:
[0045] S31, for the scene of the interference object passing through the sensor in the pipeline, set the reflection distance of the sensing object by the screw rod 6, and the first layer sensing ratio is used as the accurate long-distance sensing point;
[0046] S32, then set the near-distance cutoff point of the near-distance interference object by the button 8, so that the background suppression function has a self-defined sensing interval to eliminate the influence of the near-distance interference, and when the detection object moves into the sensing interval, the upper receiving diode 51 and the lower receiving diode 52 receive the reflected light of the detection object, and the processor obtains the current AD value of the upper receiving diode 51 and the lower receiving diode 52, and takes the current AD value as the sensing standard;
[0047] S33, during detection, the upper receiving diode 51 and the lower receiving diode 52 receive the reflected light of the detection object, and the processor respectively performs real-time AD value sampling and filtering processing;
[0048] S34, after the processor processes the two-layer judgment algorithm according to the application requirements, adds a suitable sensing window to stabilize the output, and outputs the calculated detection object reflection surface distance signal through the signal output module.
[0049] Implementation scenario four: for detecting one of the two detection objects at the same sensing distance, the control steps are as follows:
[0050] S41, for the requirement of distinguishing two detection objects at the same sensing distance, set the reflection distance of the sensing object by the screw rod 6, and on the basis of the first layer judgment;
[0051] S42, for the two detection objects with the same thickness but different reflection intensities, set the reflection light intensity of one of the detection objects by the button 8 to add the second layer of judgment, so as to realize the functions of detecting the set thickness and detecting the set reflection surface, that is, to realize the distinction of the two objects with the same thickness but different colors on the basis of background suppression. The upper receiving diode 51 and the lower receiving diode 52 receive the reflected light of the detection object, and the processor obtains the current AD value of the upper receiving diode 51 and the lower receiving diode 52, and takes the current AD value as the sensing standard;
[0052] S43, during detection, the upper receiving diode 51 and the lower receiving diode 52 receive the reflected light of the detection object, and the processor respectively performs real-time AD value sampling and filtering processing;
[0053] S44, after the processor processes the two-layer judgment algorithm according to the application requirements, adds a suitable sensing window to stabilize the output, and outputs the calculated detection object reflection surface distance signal through the signal output module.
[0054] Implementation scenario five: for detecting thin thickness detection objects, the control steps are as follows:
[0055] S51, the case can also realize the foreground suppression function, through the key 8 value can enhance performance, through the screw 6 set induction detection object reflection surface, reverse induction, namely the traditional foreground suppression function can be realized;
[0056] S52, again for the fixed background of the conveyor belt, the key 8 value can be added to the second layer of judgment to enhance the foreground suppression function, realize the detection of more thin detection object, receive diode 51, the lower receiving diode 52 receives the reflected light of the detection object, the processor acquires the current AD value of the upper receiving diode 51, the lower receiving diode 52, and the current AD value is taken as the induction standard;
[0057] S43, when detecting, the upper receiving diode 51 and the lower receiving diode 52 receive the reflected light of the detection object, and the processor respectively carries out real-time AD value sampling and filtering processing;
[0058] S44, the processor adds the induction window suitable for the application required to stabilize the output after the two-layer judgment algorithm processing, and outputs the calculated detection object reflection surface distance signal through the signal output module.
[0059] The application adopts the interactive mode of the combination of the key and the screw adjusting lens, cooperates with the algorithm of the processor, can realize more extensive application under the premise of only having the background suppression function, and the cost increase is slight, the scheme can bring more application modes, more extensive application scene and more application functions to the photoelectric sensor.
[0060] The above is only the preferred embodiment of the application, and does not limit the patent range of the application, and any equivalent structural transformation made under the inventive concept of the application, or direct or indirect application in other related technical fields is included in the patent protection range of the application.
Claims
1. A control method for a key and screw combined interactive multifunctional photoelectric sensor, the photoelectric sensor comprising a shell (1), a lower part of the inside of the shell (1) being provided with a transmitting tube (2) for transmitting light and a lower lens (3) for transmitting the light outward, an upper part of the inside of the shell (1) being provided with an upper lens (4) for transmitting reflected light, and an upper receiving diode (51) and a lower receiving diode (52) being provided at the back of the upper lens (4) for receiving and detecting the intensity of the reflected light, the shell (1) being provided with a screw (6) for controlling the up-and-down movement of the upper lens (4) to adjust the position, the shell (1) being provided with a PCB board (7) connected with the upper receiving diode (51) and the lower receiving diode (52) for calculating the distance of the reflecting surface according to the difference of the intensity of the reflected light, the PCB board (7) being connected with the transmitting tube (2), the shell (1) being provided with a key (8) connected with the PCB board (7) for interacting with the processor in the PCB board (7) to realize the intensity value of the transmitted light in a specific background, and the PCB board (7) being provided with a signal output module, and the control method steps are as follows: S1. Adjusting the position of the upper lens (4) by the screw (6) to change the light intensity of the light path projected on the upper receiving diode (51) and the lower receiving diode (52), so that only at a fixed reflecting distance can the default sensing value be reached under the default light intensity ratio to realize the background suppression function, serving as the first layer judgment basis; S2. Through the key (8), the processor obtains the current AD value of the upper receiving diode (51) and the lower receiving diode (52) of the light path formed after adjusting the position of the upper lens (4) in the S1 step, and takes the current AD value as the sensing standard, serving as the second layer application judgment; S3. When detecting, the upper receiving diode (51) and the lower receiving diode (52) receive and detect the reflected light of the detected object, and the processor respectively performs real-time AD value sampling and filtering processing; S4. After the processor adjusts the default light intensity ratio of the first layer and the upper and lower AD value calculation of the second layer according to the application required, and processes the algorithm of the two-layer judgment, the processor outputs the calculated detected object reflecting surface distance signal through the signal output module.
2. The control method of claim 1, wherein the interactive multi-functional photoelectric sensor is a combination of a key and a screw rod. An induction window is set in the processor in S4 for stabilizing the output signal.
3. The control method of claim 1, wherein the interactive multi-functional photo-sensor is a combination of a key and a screw. The method can be used for detecting the detected object vibrating when being conveyed by a conveying belt.
4. The control method of claim 1, wherein the interactive multi-functional photo-sensor is a combination of a key and a screw. The method can be used for detecting one of the detected objects of different thicknesses on the conveying belt.
5. The control method of claim 1, wherein the interactive multi-functional photo-sensor is combined with a key and a screw rod. The method can be used for detecting the detected object on the flow line when a close-range interference object passes through the sensor.
6. The control method of claim 1, wherein the interactive multi-functional photo-sensor is a combination of a key and a screw. The method can be used for detecting one of the two detected objects at the same induction distance.
7. The control method of interactive multi-functional photoelectric sensor with the combination of key and screw rod according to claim 1, characterized in that: The method can be used for detecting thin and thick detected objects.
8. The control method of claim 1, wherein the interactive multi-functional photo-sensor is combined with a key and a screw rod. A light-transmitting plate (9) is provided on one side of the shell (1).
9. The control method of claim 1, wherein the interactive multi-functional photo-sensor is combined with a key and a screw rod. The shell (1) is provided with a mounting seat (10), and the transmitting tube (2), the lower lens (3), and the upper lens (4) are arranged on the mounting seat (10).
10. The control method of claim 1, wherein the interactive multi-functional photo-sensor is combined with a key and a screw. The signal output module is an output triode.
Citation Information
Patent Citations
Control method of color sensor for judging color and material by using reflection intensity
CN115200710A
Key and screw combined interactive multifunctional photoelectric sensor
CN217639528U