Electric eye calibration method, controller and electric eye
By adjusting the photoelectric sensor calibration method based on the sink current and amplification factor information, the problem of shortened detection distance caused by dust accumulation in the infrared receiver tube during the production process was solved, thus enabling efficient production and flexible application of the photoelectric sensor.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FOSHAN FAENZA SANITARY WARE
- Filing Date
- 2025-12-30
- Publication Date
- 2026-05-12
AI Technical Summary
During the production process of photocells, the detection distance is shortened due to dust accumulation on the infrared receiver tube, resulting in rework and losses.
A photoelectric sensor calibration method is provided, which adjusts the sink current information and amplification information through parameter compensation, and combines initial induction signal processing and benchmark threshold comparison to correct for the influence of dust.
It effectively corrects the impact of dust on photoelectric sensor detection, solves the problem of shortened photoelectric sensor distance, reduces the probability of rework, and improves production efficiency.
Smart Images

Figure CN122017806A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart bathroom technology, and in particular to a photoelectric sensor calibration method, controller, and photoelectric sensor. Background Technology
[0002] Currently, the technical solution for flushing products used in public places involves an infrared sensor emitting infrared light. This light is reflected by an obstacle and then amplified by an amplifier to detect whether there is an obstacle in front of the device. If the obstacle is removed, the electromagnetic valve is controlled by the electromagnetic valve drive circuit of the infrared sensor to open and close the valve, thus achieving the function of flushing after the obstacle is removed.
[0003] The photocell for sensing large and small distances consists of a PCBA, pads, a housing, and adhesive. The production process includes wire bonding, pad assembly, housing assembly, adhesive application, drying, post-application distance adjustment, and inspection. Due to variations in storage environments, inventory accumulation, and work order timing, dust accumulation on the receiving tubes of the PCBA board can easily occur, ultimately leading to a shortened photocell distance after assembly. This results in a series of losses in the manufacturing process due to rework and returns. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a photoelectric sensor calibration method, controller and photoelectric sensor, which can effectively correct the influence of dust on photoelectric sensor detection through parameter compensation.
[0005] To address the aforementioned technical problems, this invention provides a photoelectric sensor calibration method. The calibration method includes an initial calibration method, comprising: driving an infrared emitting diode to output an infrared emission signal based on preset sink current information; acquiring an infrared receiving signal collected by an infrared receiving diode within a reference period; converting the infrared receiving signal into an initial sensing signal based on preset amplification factor information; preprocessing the initial sensing signal to generate a reference sensing signal; comparing the reference sensing signal with a preset reference threshold to determine whether the reference sensing signal is greater than the reference threshold; if the determination is negative, adjusting the sink current information and amplification factor information, and re-executing the initial calibration method based on the adjusted sink current information and amplification factor information; if the determination is positive, adjusting the sensing threshold information based on the reference sensing signal, and storing the adjusted sink current information, amplification factor information, and sensing threshold information.
[0006] As an improvement to the above scheme, the step of preprocessing the initial sensing signal to generate a reference sensing signal includes: deleting the largest and smallest initial sensing signals from the initial sensing signals; and using the average value of the remaining initial sensing signals as the reference sensing signal.
[0007] As an improvement to the above scheme, the step of adjusting the sink current information and amplification factor information includes: determining whether the sink current information is less than a preset sink current threshold, and determining whether the amplification factor information is less than a preset reference amplification factor threshold; when the sink current information is less than the sink current threshold, increasing the sink current information; when the sink current information is not less than the sink current threshold and the amplification factor information is less than the reference amplification factor threshold, increasing the amplification factor information and adjusting the sink current information to a preset value; when the sink current information is not less than the sink current threshold and the amplification factor information is not less than the reference amplification factor threshold, generating abnormal information.
[0008] As an improvement to the above scheme, the photoelectric eye calibration method further includes a non-first-time calibration method, which includes: driving the infrared emitting tube to output an infrared emission signal according to preset sink current information; acquiring the infrared receiving signal collected by the infrared receiving tube within a reference period; converting the infrared receiving signal into an initial sensing signal according to the amplification information stored during the first calibration; preprocessing the initial sensing signal to generate a reference sensing signal; comparing the reference sensing signal with a preset reference threshold to determine whether the reference sensing signal is greater than the reference threshold; if the determination is no, adjusting the sink current information, and re-executing the non-first-time calibration method according to the adjusted sink current information; if the determination is yes, adjusting the sensing threshold information according to the reference sensing signal, and storing the adjusted sink current information and sensing threshold information.
[0009] As an improvement to the above scheme, the step of adjusting the sink current information includes: determining whether the sink current information is less than a preset sink current threshold; if the determination is yes, increasing the sink current information; if the determination is no, generating abnormal information.
[0010] As an improvement to the above scheme, the initial calibration method further includes: generating and storing an initial calibration identifier when the reference sensing signal is greater than the reference threshold; before executing the initial calibration method and the non-initial calibration method, selecting a calibration method according to the initial calibration identifier, wherein, when the initial calibration identifier is not read, the initial calibration method is executed, and when the initial calibration identifier is read, the non-initial calibration method is executed.
[0011] As an improvement to the above scheme, at least 6 sets of infrared received signals are collected within the reference period.
[0012] As an improvement to the above scheme, when the sink current information is increased, the sink current information increases quantitatively.
[0013] As an improvement to the above scheme, when the magnification information is increased, the magnification information increases by a factor of several.
[0014] On the other hand, the present invention also provides a controller including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described photoelectric eye calibration method.
[0015] On the other hand, the present invention also provides an electric eye, which includes the above-mentioned controller, infrared emitting tube and infrared receiving tube, wherein the controller is respectively connected to the infrared emitting tube and the infrared receiving tube.
[0016] Implementing this invention has the following beneficial effects: The photocell calibration method of the present invention can detect photocells containing dust during the post-coating distance adjustment process, and correct the influence of dust on photocell detection by adjusting the sink current information and amplification information, thereby solving the problem of photocell distance shortening during the post-coating distance adjustment process; Furthermore, the initial calibration method of the present invention adopts a two-stage adjustment method, wherein the adjustment of the sink current information is a fine adjustment and the adjustment of the amplification factor information is a global adjustment. When adjusting the sink current information cannot achieve the desired effect, the signal can be greatly enhanced by adjusting the amplification factor information, and then the sink current information can be readjusted to enhance the signal slightly, thereby realizing the effective acquisition / identification of infrared received signals. More preferably, the photoelectric sensor calibration method of the present invention automatically distinguishes between "first calibration" and "non-first calibration" by reading the "first calibration mark" stored inside the photoelectric sensor. This satisfies both the manufacturer's need to avoid rework due to dust accumulation in the infrared receiver tube and the user / consumer's need to customize the distance according to the actual usage scenario. Attached Figure Description
[0017] Figure 1 This is a flowchart of the first embodiment of the photoelectric sensor calibration method of the present invention; Figure 2 This is a flowchart of the second embodiment of the photoelectric sensor calibration method of the present invention; Figure 3 This is a flowchart of the third embodiment of the photoelectric sensor calibration method of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. It is hereby declared that the directional terms such as up, down, left, right, front, back, inside, and outside used in this text are based solely on the accompanying drawings and are not intended to specifically limit the invention.
[0019] See Figure 1 , Figure 1 The flowchart of a first embodiment of the photoelectric sensor calibration method of the present invention is shown. This embodiment includes an initial calibration method, which includes: S101 drives the infrared emitting tube to output an infrared emission signal according to the preset sink current information; During the initial calibration, the production line personnel first perform the "power-on" operation to supply power to the photoelectric sensor; at the same time, the baffle of the standard tooling is placed 90cm away from the photoelectric sensor to ensure that the calibration benchmark is consistent; the standard tooling has a distance display function, which makes it easy for the production line personnel to adjust the distance.
[0020] It should be noted that the sink current information is the current information provided by the controller to the infrared emitting tube. The brightness of the infrared emitting tube can be adjusted by changing the sink current information. In this embodiment, the preset sink current information is 30mA, which can ensure that the infrared emitting tube starts in a low power consumption and low heat generation state, but this is not a limitation and can be set according to the actual situation.
[0021] S102, acquire the infrared received signal collected by the infrared receiver tube within the reference period; Since single sampling is easily affected by electromagnetic interference, multiple sampling can cover short-term electromagnetic interference through smoothing filtering. Therefore, this invention uses multiple sampling as a reference period, that is, multiple sets of infrared received signals are collected in each reference period.
[0022] Preferably, at least six sets of infrared received signals can be collected within the reference period. In this embodiment, six sets of infrared received signals can be collected within the reference period, but this is not a limitation and can be set according to actual conditions.
[0023] For example, when a reference cycle is 6 samples, the counter value increases by "1" for each set of infrared received signals acquired by the infrared receiver tube. When the counter value is "6", the 6 sets of infrared received signals can be processed, and the counter value is cleared to enter the acquisition of the next reference cycle.
[0024] S103, convert the infrared received signal into an initial sensing signal according to the preset magnification information; It should be noted that the controller is equipped with dual amplifiers and a 12-bit analog-to-digital converter (ADC).
[0025] Therefore, the infrared received signal is amplified by a dual amplifier with a preset amplification factor, and then converted into an initial induction signal by an analog-to-digital converter.
[0026] In this embodiment, the preset magnification is 200, which is applicable to low-concentration dust scenarios, but is not a limitation and can be set according to actual conditions.
[0027] S104, Preprocess the initial sensing signal to generate a reference sensing signal; Accordingly, the step of preprocessing the initial induction signal to generate the reference induction signal includes: (1) Delete the largest and smallest initial induction signals from the initial induction signals; (2) Use the average value of the remaining initial sensing signal as the reference sensing signal.
[0028] For example, if 6 sets of reference sensing signals are generated within the reference period, the largest and smallest initial sensing signals can be deleted first by using an extreme value elimination filtering algorithm, and then the average value of the remaining 4 sets of initial sensing signals can be calculated to avoid interference from extreme values and achieve a balance between accuracy and efficiency.
[0029] S105, compare the reference sensing signal with the preset reference threshold to determine whether the reference sensing signal is greater than the reference threshold. In this embodiment, the preset baseline threshold is 800, but it is not a limitation and can be set according to the actual situation.
[0030] S106, if the determination is negative, adjust the sink current information and amplification factor information, and re-execute the initial calibration method based on the adjusted sink current information and amplification factor information. Accordingly, the steps for adjusting the sink current information and amplification factor information include: (1) Determine whether the sink current information is less than the preset sink current threshold, and determine whether the amplification factor information is less than the preset reference factor threshold; Since the photoelectric conversion efficiency (PCE) exhibits a linear relationship when the sink current is between 30 and 100 mA, and reaches its maximum value at 100 mA, this invention defines the sink current range as 30–100 mA. This prevents overheating and loss of the infrared emitter due to high current while keeping the PCE within a linear range, suitable for software-controlled distance. Therefore, in this embodiment, the preset sink current threshold is 100 mA.
[0031] Furthermore, since the photoelectric sensor needs to be connected to an adapter for power supply, noise from the power grid can be introduced during the input conduction process. Excessive amplification can also lead to synchronous amplification of noise, thus reducing detection accuracy. Therefore, it is necessary to stop increasing the amplification factor when it exceeds 1600 times to prevent signal oversaturation. Thus, in this embodiment, the preset reference amplification factor threshold is 1600.
[0032] (2) When the sink current information is less than the sink current threshold, increase the sink current information; In other words, when the real-time sink current information is less than 100mA, the sink current information can be gradually increased to improve the detection range.
[0033] Furthermore, when the sinking current information is increased, the sinking current information increases quantitatively.
[0034] For example, the quantitative increment value can be set to 5mA. Therefore, when the real-time sink current information is 30mA, since 30 < 100, the real-time sink current information can be increased to 35mA. Then, the first calibration method of steps S101 to S106 is re-executed according to the adjusted sink current information. At this time, the preset sink current information in step S101 is updated to 35mA.
[0035] (3) When the sink current information is not less than the sink current threshold and the amplification factor information is less than the reference amplification factor threshold, increase the amplification factor information and adjust the sink current information to the preset value; In other words, when the real-time sink current information is ≥100mA and the real-time amplification factor information is <1600, the amplification factor information can be gradually increased to improve the signal strength.
[0036] Furthermore, when the magnification is increased, the magnification increases exponentially; therefore, by dynamically doubling the magnification, the signal strength of different dust concentrations can be adapted.
[0037] For example, the multiplier increase value can be set to 2 times. Therefore, when the real-time amplification factor information is 200, since 200 < 1600, the real-time sink current information can be increased to 400, and the real-time sink current information can be adjusted to the preset sink current information of 30mA. Then, the first calibration method of steps S101 to S106 is re-executed according to the adjusted sink current information and amplification factor information. At this time, the preset amplification factor information in step S103 is updated to 400, and the preset sink current information in step S101 is updated to 30mA, so that the sink current information is continuously calibrated in the range of 30~100mA, ensuring the safe control of the sink current information.
[0038] (4) When the sink current information is not less than the sink current threshold and the amplification factor information is not less than the reference amplification factor threshold, an abnormal information is generated.
[0039] Under extreme conditions, i.e., when the sink current information = 100mA and the amplification factor information ≥ 1600, it indicates that the dirt on the surface of the infrared receiver tube can no longer be processed by recalibration. In this case, an abnormal message (e.g., the photocell is always on) needs to be generated to remind the production line personnel that this photocell is a defective product and needs to be cleaned.
[0040] As can be seen from the above, the initial calibration method of the present invention adopts a two-stage adjustment method, wherein the adjustment of the sink current information is a fine adjustment, and the adjustment of the amplification factor information is a global adjustment. When adjusting the sink current information cannot achieve the desired effect, the signal can be greatly enhanced by adjusting the amplification factor information, and then the sink current information can be readjusted to enhance the signal slightly, thereby realizing the effective acquisition / identification of infrared received signals.
[0041] S107, if the determination is yes, adjust the sensing threshold information according to the reference sensing signal, and store the adjusted sink current information, amplification factor information and sensing threshold information.
[0042] When the reference sensing signal is greater than 800, it indicates that the current obstacle has been detected, the dust signal has been covered by the real scene, and the photoelectric eye calibration is successful. At this time, the real-time reference sensing signal can be used as the value of the sensing threshold information, and the real-time sink current information, amplification information and sensing threshold information can be written into the memory (EEPROM, Electrically Erasable Programmable Read-Only Memory) for storage.
[0043] Furthermore, after the initial calibration is completed, the indicator light can be turned off after 3 seconds or the indicator light can be flashed rapidly to mark the official end of the initial calibration.
[0044] Therefore, the photocell calibration method of the present invention can detect photocells containing dust during the post-coating distance adjustment process. Then, by means of mean filtering, adjusting the sink current information and amplification information, the dust attached to the infrared receiver tube is calibrated to compensate for the parameters, so as to correct the influence of dust on photocell detection, thereby solving the problem of photocell distance shortening during the post-coating distance adjustment process.
[0045] See Figure 2 , Figure 2 The flowchart of a second embodiment of the photoelectric sensor calibration method of the present invention is shown. This embodiment includes a first calibration method and a non-first calibration method, specifically including: S201, Perform the initial calibration method; It should be noted that the initial calibration method can be found in [reference needed]. Figure 1 Steps S101 to S107 of the first embodiment will not be repeated here.
[0046] After the photocell completes its initial calibration at the factory, users can perform subsequent calibrations for different application scenarios to adjust the detection distance. Specific methods for these subsequent calibrations can be found in steps S202-S208. S202 drives the infrared emitting tube to output an infrared emission signal according to the preset sink current information; When performing non-initial calibration, first move the obstacle to a "custom distance" and ensure that the obstacle remains stationary after being moved to avoid deviation of calibration parameters due to obstacle displacement; then the user performs the "power on" operation to supply power to the photoelectric sensor; then the photoelectric sensor enters normal working state and drives the infrared emitting tube to output infrared emission signals according to the preset sink current information.
[0047] In this embodiment, the preset sink current information for both the initial calibration method and the non-initial calibration method is 30mA, which can ensure that the infrared emitting tube starts up in a low power consumption and low heat generation state, but this is not a limitation and can be set according to the actual situation.
[0048] S203, acquire the infrared received signal collected by the infrared receiver tube within the reference period; S204, convert the infrared received signal into an initial sensing signal based on the magnification information stored during the initial calibration; Unlike the initial calibration method, the non-initial calibration method does not calibrate the magnification information. Instead, the magnification information used in the non-initial calibration method is the magnification information that was adjusted and stored in the initial calibration method.
[0049] S205, preprocess the initial sensing signal to generate a reference sensing signal; S206, compare the reference sensing signal with a preset reference threshold to determine whether the reference sensing signal is greater than the reference threshold. In this embodiment, the preset benchmark threshold for both the initial calibration method and the non-initial calibration method is 800, but this is not a limitation and can be set according to the actual situation.
[0050] S207, if the determination is negative, adjust the sink current information and re-execute the non-first calibration method based on the adjusted sink current information. Accordingly, the steps for adjusting the sink current information include: (1) Determine whether the sink current information is less than the preset sink current threshold; In this embodiment, the preset sink current threshold for both the initial calibration method and the non-initial calibration method is 100mA.
[0051] (2) If the judgment is yes, increase the sink current information; When the sink current information is increased, the sink current information increases quantitatively. In this embodiment, the quantitative increase is 5mA.
[0052] (3) If the judgment is negative, generate an exception message.
[0053] Therefore, the non-first calibration method of the present invention uses sink current information for fine-tuning, thereby achieving precise signal adjustment within a small range to adapt to different application scenarios and is highly flexible.
[0054] S208, if the determination is yes, adjust the sensing threshold information according to the reference sensing signal, and store the adjusted sink current information and sensing threshold information.
[0055] In summary, the photoelectric sensor calibration method of this invention defines the users as producers (i.e., production line personnel) and users / consumers (i.e., users), distinguishing between two different modes (initial calibration and non-initial calibration). This satisfies both the producer's need to avoid rework due to dust accumulation on the infrared receiver tube and the user / consumer's need to customize the distance according to the actual usage scenario. Among them, the producer has the highest authority, which can manually adjust and define the photoelectric sensor's sink current information, amplification factor information, and sensing threshold information. The consumer has ordinary authority, which can manually adjust and define the photoelectric sensor's sink current information and sensing threshold information, making it highly targeted.
[0056] See Figure 3 , Figure 3 The flowchart of a third embodiment of the photoelectric sensor calibration method of the present invention is shown, which includes: S301, Select the calibration method according to the initial calibration marking; S302, If the first calibration flag is not read, perform the first calibration method; For the initial calibration method, please refer to [link / reference]. Figure 1 Steps S101 to S107 of the first embodiment will not be repeated here.
[0057] and Figure 1 Unlike the first embodiment, in this embodiment, when performing the initial calibration method, if the reference sensing signal is greater than the reference threshold, an initial calibration identifier is generated and stored.
[0058] S303, when the first calibration flag is read, execute the non-first calibration method.
[0059] For non-first-time calibration methods, please refer to Figure 2 Steps S202 to S208 of the second embodiment will not be repeated here.
[0060] After performing the "power on" operation, if the first calibration mark is not read, it means that the photocell has not been calibrated for the first time. Therefore, production line personnel need to perform the first calibration method to perform factory calibration. If the first calibration mark is read, it means that the photocell has been calibrated for the first time. Therefore, users can only perform non-first calibration to adapt to different application scenarios.
[0061] Therefore, the photoelectric sensor calibration method of the present invention can automatically distinguish between "first calibration" and "non-first calibration" by reading the "first calibration mark" stored inside the photoelectric sensor, and can effectively accommodate the first production calibration distance adjustment on the production line and the customer-defined distance adjustment.
[0062] Accordingly, the present invention also provides a controller, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described photoelectric sensor calibration method.
[0063] It should be noted that the processor uses the HT-BS45F3232 chip, which has the advantages of low power consumption and high integration; at the same time, the processor has dual amplifiers and a 12-bit analog-to-digital converter.
[0064] In addition, the present invention also provides an electric eye, which includes the above-mentioned controller, infrared emitting tube and infrared receiving tube, wherein the controller is connected to the infrared emitting tube and the infrared receiving tube respectively.
[0065] The infrared emitting diode and infrared receiving diode are PS-VL947007124, which can meet the stringent requirements of ultra-low power consumption (<33uA).
[0066] In summary, the photocell of this invention can perform algorithm calibration for dust accumulation on the infrared receiver tube through a computer program, which solves the problem of shortened photocell distance caused by dust accumulation on the infrared receiver tube during the production process, greatly reduces the probability of rework on the production line, and improves the production efficiency of the production line.
[0067] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A method for calibrating an electronic sensor, characterized in that, The photoelectric sensor calibration method includes an initial calibration method, which includes: The infrared emitting diode is driven to output an infrared emission signal according to the preset sink current information; Acquire the infrared received signal collected by the infrared receiver tube within the reference period; The infrared received signal is converted into an initial sensing signal according to the preset magnification information; The initial sensing signal is preprocessed to generate a reference sensing signal; The reference sensing signal is compared with a preset reference threshold to determine whether the reference sensing signal is greater than the reference threshold. If the determination is negative, adjust the sink current information and amplification factor information, and re-execute the initial calibration method based on the adjusted sink current information and amplification factor information. If the determination is yes, the sensing threshold information is adjusted according to the reference sensing signal, and the adjusted sink current information, amplification factor information and sensing threshold information are stored.
2. The photoelectric sensor calibration method as described in claim 1, characterized in that, The step of preprocessing the initial sensing signal to generate a reference sensing signal includes: Delete the largest and smallest initial sensing signals from the initial sensing signals; The average value of the remaining initial sensing signal is used as the reference sensing signal.
3. The photoelectric sensor calibration method as described in claim 1, characterized in that, The steps of adjusting the sink current information and amplification factor information include: Determine whether the sink current information is less than a preset sink current threshold, and determine whether the amplification factor information is less than a preset reference amplification factor threshold; When the sink current information is less than the sink current threshold, the sink current information is increased; When the sink current information is not less than the sink current threshold and the amplification factor information is less than the reference amplification factor threshold, the amplification factor information is increased and the sink current information is adjusted to a preset value; An anomaly is generated when the sink current information is not less than the sink current threshold and the amplification factor information is not less than the reference amplification factor threshold.
4. The photoelectric sensor calibration method as described in claim 1, characterized in that, The photoelectric sensor calibration method also includes a non-first-time calibration method, which includes: The infrared emitting diode is driven to output an infrared emission signal according to the preset sink current information; Acquire the infrared received signal collected by the infrared receiver tube within the reference period; The infrared received signal is converted into an initial sensing signal based on the magnification information stored during the initial calibration. The initial sensing signal is preprocessed to generate a reference sensing signal; The reference sensing signal is compared with a preset reference threshold to determine whether the reference sensing signal is greater than the reference threshold. If the determination is negative, adjust the sink current information, and re-execute the non-first calibration method based on the adjusted sink current information. If the determination is yes, the sensing threshold information is adjusted according to the reference sensing signal, and the adjusted sinking current information and sensing threshold information are stored.
5. The photoelectric sensor calibration method as described in claim 4, characterized in that, The step of adjusting the sink current information includes: Determine whether the sink current information is less than a preset sink current threshold; If the determination is yes, increase the sink current information; If the result is negative, an error message is generated.
6. The photoelectric sensor calibration method as described in claim 4, characterized in that, The initial calibration method also includes: When the reference sensing signal is greater than the reference threshold, an initial calibration identifier is generated and stored; Before performing the initial calibration method and subsequent calibration methods, a calibration method is selected based on the initial calibration identifier, wherein, If the initial calibration identifier is not read, the initial calibration method is executed. When the first calibration identifier is read, the non-first calibration method is executed.
7. The photoelectric sensor calibration method as described in claim 1 or 4, characterized in that, At least six sets of infrared received signals are collected within the reference period.
8. The photoelectric sensor calibration method as described in claim 3 or 5, characterized in that, When the sink current information is increased, the sink current information increases quantitatively.
9. The photoelectric sensor calibration method as described in claim 3, characterized in that, When the magnification information is increased, the magnification information increases exponentially.
10. A controller, characterized in that, The device includes a memory and a processor, the memory storing a computer program, characterized in that the processor executes the computer program to implement the steps of the photoelectric eye calibration method according to any one of claims 1 to 9.
11. An electric eye, characterized in that, It includes the controller, infrared emitting tube, and infrared receiving tube as described in claim 10, wherein the controller is connected to the infrared emitting tube and the infrared receiving tube respectively.