Anti-interference method based on micro photoelectric sensor and medium

By building a sensor feature library and training the photoelectric measurement and control module, and establishing a communication connection between the light-emitting measurement and control unit and the light-receiving measurement and control unit, the problem of reduced detection accuracy and high false judgment rate of miniature photoelectric sensors due to interference in complex environments is solved, achieving higher detection accuracy and stability.

CN121540197AActive Publication Date: 2026-02-17SUZHOU ENOUT INTELLIGENT TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511692071.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-18
Publication Date
2026-02-17
Estimated Expiration
2045-11-18

AI Technical Summary

Technical Problem

Miniature photoelectric sensors are susceptible to interference from other sensor light source signals in complex environments, leading to reduced detection accuracy and high false judgment rate, and there is a lack of effective countermeasures.

Method used

A sensor feature library is built, the photoelectric measurement and control module is trained, a communication connection is established between the light-emitting measurement and control unit and the light-receiving measurement and control unit, and an interference control loop is constructed. Through reverse control of light emission and signal feature recognition, the interference effect is eliminated or reduced.

Benefits of technology

This improves the anti-interference capability of miniature photoelectric sensors in complex environments, ensuring the accuracy and stability of detection data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121540197A_ABST
    Figure CN121540197A_ABST
Patent Text Reader

Abstract

The invention provides an anti-interference method based on a micro photoelectric sensor and a medium, relates to the technical field of sensor anti-interference, and aims to detect target characteristics and sensing configuration characteristics and build a sensing characteristic library; the photoelectric measurement and control module is supervised and trained, communication connection between the photoelectric measurement and control module and the photoelectric sensor is established, the photoelectric measurement and control module comprises a light projection measurement and control unit and a light receiving measurement and control unit, and an interference regulation and control loop is established; reading autologous characteristics, and performing light projection configuration in combination with a light projection measurement and control unit; the light receiving measurement and control unit is combined to carry out interference source measurement and light projection reverse regulation and control and receive a reflection signal; and returning the reflected signal, carrying out signal feature identification, and determining target sensing data. The technical problems of unstable data and high misjudgment rate of the micro photoelectric sensor caused by external interference in a complex environment are solved. The effects of improving the anti-interference capability of the micro photoelectric sensor in a complex environment and ensuring the accuracy and the stability of detection data are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of sensor anti-interference technology, specifically to anti-interference methods and media based on miniature photoelectric sensors. Background Technology

[0002] With the continuous development of modern industrial technology, especially in precision manufacturing, automated inspection, and material handling, miniature photoelectric sensors have been widely used due to their high sensitivity, fast response, and accurate measurement characteristics. However, with the increasing complexity of production environments and the increase in sensor density, miniature photoelectric sensors often face interference from light source signals from other sensors when detecting target objects, leading to reduced detection accuracy or even misjudgment. Traditional miniature photoelectric sensors often lack effective countermeasures against such interference, which may result in the inability to accurately distinguish their own emitted light source signal from other sensor light source signals, leading to unstable detection data and a high misjudgment rate. This interference not only affects the performance of the sensor but also restricts its application in complex industrial environments. Summary of the Invention

[0003] This application provides an anti-interference method and medium based on miniature photoelectric sensors, which is used to address the technical problems of unstable data and high misjudgment rate of miniature photoelectric sensors caused by external interference in complex environments.

[0004] In view of the above problems, this application provides an anti-interference method and medium based on a miniature photoelectric sensor.

[0005] The first aspect of this application provides an anti-interference method based on a miniature photoelectric sensor. The method includes: constructing a sensor feature library based on the characteristics of the detected target and the sensor configuration characteristics, the sensor feature library containing a configuration reference sequence; assisting the sensor feature library in supervising the training of a photoelectric measurement and control module, and establishing a communication connection between the photoelectric measurement and control module and the photoelectric sensor, the photoelectric measurement and control module including a light projection measurement and control unit and a light receiving measurement and control unit, and establishing an interference control loop; reading the intrinsic characteristics of the detected target, and configuring light projection adjustment parameters in conjunction with the light projection measurement and control unit, wherein the light projection adjustment parameters include at least light spot characteristics and light source characteristics, the light spot characteristics being controlled by a dimming lens; combining the light receiving measurement and control unit to determine the interference source and perform reverse light projection control based on the interference control loop, receiving a photoelectric reflection signal, wherein the interference source includes a target with a homogeneous photoelectric effect; transmitting back the photoelectric reflection signal, preprocessing the photoelectric reflection signal and performing signal feature recognition to determine the target sensing data of the detected target.

[0006] A second aspect of this application provides a storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps: A sensor feature library is built based on the characteristics of the detection target and the sensor configuration characteristics. The sensor feature library includes configuration reference sequences. To assist the sensor feature library, a photoelectric measurement and control module is trained under supervision, and a communication connection is established between the photoelectric measurement and control module and the photoelectric sensor. The photoelectric measurement and control module includes a light projection measurement and control unit and a light receiving measurement and control unit, and an interference control loop is established. The intrinsic characteristics of the detection target are read, and combined with the light projection measurement and control unit, light projection adjustment parameters are configured. These parameters include at least light spot characteristics and light source characteristics, with the light spot characteristics controlled by a dimming lens. Combined with the light receiving measurement and control unit, interference source determination and reverse light projection control based on the interference control loop are performed. Photoelectric reflection signals are received, where the interference source includes targets with the same photoelectric effect. The photoelectric reflection signals are transmitted back, preprocessed, and signal feature recognition is performed to determine the target sensing data of the detection target.

[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages: The method provided in this application embodiment detects target characteristics and sensor configuration characteristics, builds a sensor feature library, which includes configuration reference sequences; assists the sensor feature library in supervising the training of an optoelectronic measurement and control module, and establishes a communication connection between the optoelectronic measurement and control module and the optoelectronic sensor. The optoelectronic measurement and control module includes a light projection measurement and control unit and a light receiving measurement and control unit, and establishes an interference control loop; reads the intrinsic characteristics of the detected target, and, in conjunction with the light projection measurement and control unit, configures light projection adjustment parameters, wherein the light projection adjustment parameters include at least light spot characteristics and light source characteristics, and the light spot characteristics are controlled by a dimming lens; in conjunction with the light receiving measurement and control unit, performs interference source determination and reverse light projection control based on the interference control loop, and receives photoelectric reflection signals, wherein the interference source includes targets with the same photoelectric effect; transmits back the photoelectric reflection signals, preprocesses the photoelectric reflection signals and performs signal feature recognition, and determines the target sensing data of the detected target. This achieves the effect of improving the anti-interference capability of miniature optoelectronic sensors in complex environments and ensuring the accuracy and stability of detection data. Attached Figure Description

[0008] Figure 1 This is a schematic diagram of the anti-interference method based on a miniature photoelectric sensor provided in this application.

[0009] Figure 2 This is a flowchart illustrating the supervised training of the optoelectronic measurement and control module in the anti-interference method based on miniature optoelectronic sensors provided in this application. Detailed Implementation

[0010] This application provides an anti-interference method and medium based on miniature photoelectric sensors, which addresses the technical problems of unstable data and high false alarm rates caused by external interference in complex environments. This improves the anti-interference capability of miniature photoelectric sensors in complex environments, ensuring the accuracy and stability of detection data.

[0011] The technical solutions of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. It should be understood that the present invention is not limited to the exemplary embodiments described herein. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention. It should also be noted that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings, not all of them.

[0012] Example 1, as Figure 1 As shown, this application provides an anti-interference method based on a miniature photoelectric sensor, the method comprising: A sensor feature library is built based on the detection target characteristics and sensor configuration characteristics, and the sensor feature library includes configuration reference sequences.

[0013] In this embodiment, the system terminal first determines the target type (gas, liquid, solid, etc.), detection parameters (such as concentration, temperature, pressure, etc.), and detection accuracy requirements. Then, it performs characteristic analysis on the target to understand its characteristics, including its shape, size, material, chemical composition, and reactivity. Next, it determines the sensing configuration characteristics of the photoelectric sensor, such as sampling frequency, detection range, and sensitivity. Then, it establishes a database for storing and managing sensing configuration information, i.e., a sensing feature library. Finally, for each target, based on its target characteristics and sensing configuration characteristics, a corresponding configuration reference sequence is generated and stored in the constructed sensing feature library. Each configuration reference sequence is a series of instructions containing information such as the photoelectric sensor type and configuration parameters for a given target, used to guide the operation of the photoelectric sensor in actual detection.

[0014] The sensor feature library is used to supervise the training of the photoelectric measurement and control module, and a communication connection is established between the photoelectric measurement and control module and the photoelectric sensor. The photoelectric measurement and control module includes a light projection measurement and control unit and a light receiving measurement and control unit, and an interference control loop is established.

[0015] In one embodiment, after constructing a sensor feature library, the system terminal uses this library to assist in the supervised training of a feature classifier. This feature classifier is then combined with the parameter mapping relationship of the photoelectric sensor to construct a light-emitting control unit. The light-emitting control unit is responsible for controlling the emission of the light source, including parameters such as brightness and frequency, to ensure that the light source illuminates the target object according to preset requirements. Subsequently, a similarly constructed light-receiving control unit is placed behind the constructed light-emitting control unit and connected. The light-receiving control unit is responsible for receiving the light signal reflected back from the target object and converting it into an electrical signal for subsequent processing. Then, an interference control loop is established between the light-emitting control unit and the light-receiving control unit. The function of this interference control loop is to monitor environmental interference factors in real time during the operation of the photoelectric sensor, such as light source signals from other photoelectric sensors and electromagnetic interference, and dynamically adjust the operating parameters of the light-emitting control unit and the light-receiving control unit, such as emission frequency, according to the interference situation. This ensures that the detector can stably detect its own emitted light source signal, improves its resistance to interference from similar products, and thus minimizes the impact of interference on the detection results. To improve resistance to light interference, the structural and optical design of photoelectric sensors plays a crucial role. Through-beam and specular reflective sensors have strong resistance to light interference because their receivers only expect to receive light from a specific direction, making it difficult for ambient light from other angles to enter the receiver. In contrast, diffuse reflective sensors are more susceptible to ambient light interference and therefore rely on more advanced modulation and demodulation techniques to ensure stability. The use of optical lenses, such as Fresnel lenses, can effectively limit the spread angle of emitted light and the field of view of the receiver, reducing interference from ambient light from the sides. Furthermore, in specular reflective sensors, the use of polarizing filters can effectively prevent ambient light, especially reflected light from glossy objects, from being misinterpreted as target signals. Then, the system terminal combines the light emission control unit, the light receiving control unit, and the interference control loop to form a photoelectric control module. Finally, this photoelectric control module is connected to the photoelectric sensor for communication. This connection ensures that the photoelectric control module can receive data from the photoelectric sensor in real time and adjust its operating state based on this data. Simultaneously, the photoelectric control module can also send control commands to the photoelectric sensor to guide it in performing accurate measurements and data acquisition.

[0016] Furthermore, such as Figure 2 As shown, this application provides the supervised training photoelectric measurement and control module, comprising: Based on the sensor feature library, a feature classifier is trained; based on the feature classifier and combined with the parameter control mapping relationship of the photoelectric sensor, a light projection measurement and control unit is constructed, wherein the parameter control mapping relationship is the correspondence between response features and control parameters at unit step sizes.

[0017] Preferably, the system terminal extracts feature data related to the detected target from the sensor feature library and divides the feature data into training, validation, and test sets. Then, a Support Vector Machine (SVM) is selected as the feature classifier. SVM is a supervised learning model suitable for classification problems. The SVM model is then selected based on the data characteristics, including linear and nonlinear SVMs. Next, the parameters of the selected SVM model are initialized, such as the regularization parameter C, kernel function type, and parameters. The SVM model is then trained using the training set to find an optimal hyperplane to separate samples of different classes. In the case of linear separability, the objective function is minimized. In the case of linear inseparability, slack variables and penalty terms are introduced to balance the complexity of the classification boundary with the number of classification errors. Then, an exhaustive search is performed within a predefined range of hyperparameters, such as the range of the regularization parameter C and the range of gamma values. Finally, based on the validation set, the performance of the feature classifier under different hyperparameter combinations is evaluated using cross-validation. The optimal hyperparameter combination is then selected based on the cross-validation results. Finally, the trained feature classifier is evaluated using a test set, and metrics such as accuracy and recall are calculated. If the calculated metrics meet the requirements of the corresponding preset metrics, the current trainer is output. Otherwise, kernel tricks, ensemble learning, and other methods are used to improve the performance of the feature classifier. After obtaining the feature classifier, the system terminal acquires the parameter-control mapping relationship of the photoelectric sensor. This parameter-control mapping relationship refers to the unit step correspondence between the response features of the photoelectric sensor and the control parameters. That is, when the photoelectric sensor detects a specific response feature, which control parameters need to be adjusted, and by how much. For example, when a 10% increase in light intensity is detected, it may be necessary to reduce the brightness of the light source by 5%. This mapping relationship is obtained through historical experience and simulation experiments, ensuring that the photoelectric sensor can make correct control decisions based on different response features. After obtaining the feature classifier and the parameter-control mapping relationship, the system terminal encapsulates the feature classifier and the parameter-control mapping relationship to construct the projection measurement and control unit. The main task of the projection measurement and control unit is to determine the control parameters that need to be adjusted and the corresponding adjustment amount based on the response features detected by the photoelectric sensor, by querying the classification results of the feature classifier and combining the parameter-control mapping relationship. These control commands are then sent to the light source to adjust its brightness, frequency, and other parameters to achieve the best measurement results.

[0018] The light receiving measurement and control unit is connected to the light projection measurement and control unit, and an interference control loop is established from the light projection measurement and control unit to the light receiving measurement and control unit to generate the photoelectric measurement and control module.

[0019] Preferably, when constructing the photoelectric measurement and control module, the system terminal combines the light-emitting measurement and control unit and the light-receiving measurement and control unit to achieve closed-loop control of light signal transmission and reception. The light-emitting measurement and control unit is responsible for controlling the emission of the light source, such as parameters like brightness and frequency, while the light-receiving measurement and control unit is responsible for receiving these light signals and detecting their characteristics or responses. This light-receiving measurement and control unit is obtained by encapsulating a comparison algorithm with an interference source feature library. This interference source feature library stores the feature information of various interference sources, enabling rapid comparison and identification of interference sources during actual operation. Subsequently, the system terminal connects the light-receiving measurement and control unit to the light-emitting measurement and control unit, establishing a transmission path for data and control signals. To ensure the stability and accuracy of the photoelectric sensor, the system terminal establishes an interference control loop between the light-emitting and light-receiving measurement and control units. The function of this loop is to monitor and control interference factors, such as signals from other photoelectric sensors in the environment. Through continuous adjustment and optimization, the interference control loop can reduce the impact of these interference factors on system performance, ensuring that the photoelectric measurement and control module can operate stably and accurately. Subsequently, by integrating the light projection control unit, the light receiving control unit, and the interference control loop, the system terminal generates a complete photoelectric control module.

[0020] The self-features of the target to be detected are read, and the projection adjustment parameters are configured in conjunction with the projection measurement and control unit. The projection adjustment parameters include at least the light spot features and the light source features, and the light spot features are controlled by the dimming lens.

[0021] In one embodiment, to obtain high-quality detection data, the system terminal performs precise debugging of the projection measurement and control unit. This process involves reading the intrinsic characteristics of the target object, i.e., the physical or optical properties inherent in the target object itself. These intrinsic characteristics directly affect the reflection, scattering, or transmission of light, and are therefore important factors to consider when debugging the projection measurement and control unit. When debugging the projection measurement and control unit, the system terminal configures projection debugging parameters based on the first constraint feature and the second constraint feature. The projection debugging parameters include light spot characteristics and light source characteristics. Light spot characteristics refer to the shape, size, brightness distribution, and other characteristics of the bright spot formed by light on the target object, which directly affects the resolution and sensitivity of the photoelectric sensor. By adjusting the dimming lens, such as a zoom lens or a focusing lens, the characteristics of the light spot can be controlled to adapt to the needs of different detection targets. Light source characteristics refer to the properties of the light source itself, such as the type of light source, spectral distribution, and luminous intensity. These characteristics determine the properties of the light emitted by the light source, thereby affecting the formation of the light spot and the detection effect. Based on the characteristics of the target being detected, an appropriate type of light source can be selected, and parameters such as the light intensity and spectral distribution of the light source can be adjusted to obtain the best spot effect and detection performance.

[0022] Furthermore, this application provides that the dimming lens is positioned in front of the light source, and the configuration of the projection adjustment parameters includes: The self-feature is identified, and a light spot constraint is performed based on geometric features to obtain a first constraint feature, wherein the geometric feature includes a hollow feature; the self-feature is identified, and a light source constraint is performed based on photoelectric effect features to determine a second constraint feature, wherein the light source feature includes at least light color, frequency illuminance, and spatial viewing distance; the first constraint feature and the second constraint feature are converted by parameter control to determine the projection adjustment parameters, wherein the projection adjustment parameters include light source adjustment and dimming lens adjustment.

[0023] Preferably, the system terminal identifies the target and acquires its intrinsic features, including geometric features and material composition. Geometric features include perforation. Perforation is a crucial consideration as it affects the projection effect of the light spot and the penetration of light. Based on the perforation, the system terminal analyzes how the light spot should be distributed when illuminating the target, determines the perforated area to be covered by the light spot, and establishes strategies to avoid illuminating non-critical areas. For example, using a specific strip-shaped light spot increases the amount of reflected light from the target object, enabling the photoelectric sensor to stably detect the reflected light. Subsequently, based on the analysis results, the projection parameters are set, and the first constraint features are determined to achieve precise control of the light spot. These parameters include the position, angle, size, shape, and brightness of the light source. Next, the system analyzes the light response based on the photoelectric effect characteristics of the target, including absorption, reflection, and transmission properties. Finally, based on the analysis results, the system selects or adjusts the light source parameters, including color temperature, frequency illuminance, and spatial viewing distance. Among these parameters, light color determines the color and color temperature of the light source, frequency illuminance reflects the luminous intensity and frequency of the light source, and spatial viewing distance determines the distance and angle between the light source and the target object. By considering these parameters, the system terminal can select the most suitable light source type and set specific light source constraint parameters to generate a second constraint feature to obtain the best light spot effect and detection performance. Then, the first and second constraint features are converted through parameter control to determine the projection adjustment parameters. These parameters include two aspects: light source adjustment and dimming lens adjustment. Light source adjustment involves adjusting parameters such as the luminous intensity and spectral distribution of the light source according to the second constraint feature to ensure that the light source can emit light that meets the detection requirements. Dimming lens adjustment involves adjusting parameters such as the focal length and aperture of the dimming lens according to the first constraint feature to control the shape, size, and brightness distribution of the light spot. The dimming lens is placed in front of the light source, and the light is first adjusted in shape and direction by the dimming lens before illuminating the detection target. This ensures that the light is precisely controlled and adjusted before illuminating the detection target, thereby obtaining the best illumination effect.

[0024] Combined with the light-receiving measurement and control unit, interference source determination and reverse light projection control based on the interference control loop are performed to receive photoelectric reflection signals, wherein the interference source includes a target with the same photoelectric effect.

[0025] In one embodiment, the system terminal receives and processes photoelectric reflection signals from the target through a light-receiving control unit in the photoelectric measurement and control module. These signals carry important information about the target's characteristics, such as shape, color, and location. However, in practical applications, various interference sources may be encountered. These interference sources may be similar products, which can adversely affect the photoelectric reflection signals, thereby reducing the measurement accuracy and performance of the photoelectric sensor. The system terminal defines these interference sources composed of similar products as homo-source photoelectric effect targets, i.e., objects or areas with similar photoelectric properties to the target. These objects or areas reflect or emit light signals similar to the target, thus interfering with the photoelectric sensor's accurate reception of the target signal. To address this interference, the system terminal employs an interference control loop to monitor and identify interference sources in real time, and performs reverse control of the light source based on the characteristics of the interference source. That is, it adjusts the emission parameters of the light source according to the photoelectric characteristics of the interference source to reduce or eliminate the influence of the interference source on the target signal. Under the action of the interference control loop, the system terminal can more accurately receive and process the photoelectric reflection signals from the target. Through continuous monitoring, identification, and adjustment, various interference factors can be gradually adapted to and overcome, thereby improving the measurement accuracy and stability of photoelectric sensors.

[0026] Furthermore, this application provides a method for performing reverse modulation of light projection based on the aforementioned interference modulation loop, including: The presence of an interference source is determined; if an interference source is present, the interference source and the photoelectric sensor are distinguished by photoelectric characteristics based on the photoelectric effect characteristics, wherein the interference source includes at least one; and photoelectric control management is performed based on the distinguishing photoelectric characteristics.

[0027] Preferably, to ensure the photoelectric sensor can accurately capture the target signal, the system terminal first determines, based on the light-receiving measurement and control unit, whether there are any potential interference sources that could interfere with the measurement, such as external sunlight. This can be determined by comparing the received signal with an internal interference source feature database. Once the presence of an interference source is detected, the system terminal uses photoelectric effect characteristics for distinguishable photoelectric feature identification. This process involves a detailed analysis of the photoelectric characteristics of both the interference source and the photoelectric sensor itself. By comparing their spectral response, reflectivity, transmittance, and other photoelectric parameters, the differences between the interference source and the photoelectric sensor can be identified. After completing the distinguishable photoelectric feature identification, the system terminal performs light-receiving measurement and control management based on these characteristics. This includes adjusting the emission parameters of the light source to reduce the impact of interference sources on the photoelectric sensor; or optimizing the receiving parameters of the photoelectric sensor to improve its ability to detect the target signal.

[0028] Furthermore, this application provides a light-receiving measurement and control management system based on the aforementioned distinguishing photoelectric characteristics, including: If there are distinguishing photoelectric features and the distinguishing level meets the preset level, the light receiving measurement and control management is performed with the distinguishing photoelectric features as constraints; if there are no distinguishing photoelectric features, a frequency adjustment command is generated.

[0029] Optionally, when an interference source is detected, the system terminal performs distinguishable photoelectric feature identification to obtain distinguishable photoelectric features. Then, it calculates the difference between the corresponding features of the interference source and the photoelectric sensor recorded in the distinguishable photoelectric features, obtaining multiple feature deviation values. These feature deviation values ​​are then normalized, i.e., the minimum feature deviation value is subtracted from the current feature deviation value, and the ratio is calculated with the difference between the maximum and minimum feature deviation values. Next, a weight is assigned to each feature based on historical experience and expert advice, and a weighted sum is performed with the corresponding normalized feature deviation value to obtain a distinguishability level. If this distinguishability level meets the range specified by a preset level, the system terminal will perform the same light-receiving measurement and control management as described above based on these distinguishable features. However, if the distinguishable photoelectric features between the interference source and the photoelectric sensor cannot be identified, or if the identified distinguishability level does not reach a preset threshold, it means that interference may not be directly manageable through distinguishable features. In this case, the system terminal generates a frequency adjustment command. The purpose of the frequency adjustment command is to change the operating frequency of the light source or photoelectric sensor, thereby avoiding the interference frequency band that the interference source may generate. This strategy is based on the possibility that there may be differences in frequency between the interference source and the photoelectric sensor. By adjusting the operating frequency, the system terminal can determine the active distinguishing characteristics, enabling light-receiving measurement and control management.

[0030] Based on the frequency adjustment command, it is sent back to the light emission control unit to adjust the light emission frequency of the light source and determine the active distinguishing feature; based on the active distinguishing feature, light reception control management is performed.

[0031] Optionally, upon receiving a frequency adjustment command, the system terminal will send this command back to the projection measurement and control unit. Upon receiving the command, the projection measurement and control unit will parse the frequency adjustment parameters. Based on these parameters, the unit will control the light source driver to adjust the light source's emission frequency to ensure it accurately follows the command's requirements. After the light source's emission frequency is adjusted, the system terminal will re-detect the photoelectric signal to verify whether an active distinguishing feature has been successfully created. An active distinguishing feature refers to the characteristic that, by adjusting the light source's emission frequency, the target signal and the interference source signal exhibit a significant frequency difference. Subsequently, the system terminal utilizes the determined active distinguishing feature to perform the same light-receiving measurement and control management as described above.

[0032] The photoelectric reflection signal is transmitted back, the photoelectric reflection signal is preprocessed and signal feature recognition is performed to determine the target sensing data of the detected target.

[0033] In one embodiment, after the photoelectric sensor receives the photoelectric reflection signal, it transmits the signal back to the system terminal. These transmitted signals are then preprocessed, including correction and phase expansion, to obtain an effective signal spectrum. Based on this spectrum, the system terminal performs feature recognition, extracting features directly related to the target from the complex signal. Finally, based on these identified signal features, the target sensing data is determined.

[0034] Furthermore, this application provides preprocessing of the photoelectric reflection signal and signal feature recognition, including: The photoelectric reflection signal is identified, signal spectrum conversion is performed, and the signal spectrum is determined; field interference is determined by field interference leveling, the photoelectric reflection signal is corrected, and the corrected signal spectrum is determined.

[0035] Preferably, during the photoelectric signal processing, the system terminal identifies the photoelectric reflection signal. This step involves signal reception and preliminary analysis to ensure the signal is correctly captured. First, the system terminal performs a signal spectrum conversion on the photoelectric reflection signal, using Fourier transform to convert it into a frequency domain signal. This frequency domain signal has amplitude and phase information for different frequency components. Subsequently, a spectrum diagram is constructed with frequency as the horizontal axis and amplitude as the vertical axis, and the amplitude and phase information of different frequency components are plotted on the spectrum diagram to determine the signal spectrum. After obtaining the signal spectrum, the system terminal identifies interference that may affect the photoelectric reflection signal. This includes electromagnetic interference, changes in ambient light, etc. For each identified interference, its characteristics are analyzed through signal strength measurement, including frequency range, intensity, duration, etc., to determine the field-domain interference information. Afterward, the system terminal uses the determined field-domain interference information to correct the photoelectric reflection signal. The correction process may involve noise removal, compensation for distortion caused by interference, etc. For example, for the detected interference frequency range, an appropriate filter can be selected to filter the photoelectric reflection signal to eliminate or reduce the interference; regarding intensity, if the signal becomes weaker under the influence of interference, signal enhancement techniques can be used to improve the signal-to-noise ratio. Through correction, the system terminal can eliminate or reduce the impact of interference on the signal, obtaining a more accurate corrected signal spectrum.

[0036] The correction signal is traversed to locate the ambiguous signal segment. The ambiguous signal segment is subjected to phase expansion processing to determine the effective signal spectrum. The effective signal spectrum is identified, and feature extraction is performed to determine the target sensing data.

[0037] Preferably, after obtaining the calibration signal spectrum, the system terminal traverses the calibration signal from the spectrum, identifies segments with dense or small spectral fluctuations using a preset fluctuation threshold, and defines these segments as fuzzy signal segments. Subsequently, for these fuzzy signal segments, the system terminal determines the phase multiple based on historical experience and experimental data, and then amplifies the fuzzy signal segments according to this phase multiple. Afterwards, the system terminal redraws the signal spectrum based on the phase-amplified signal to obtain the effective signal spectrum. The effective signal spectrum more accurately reflects the signal characteristics, facilitating subsequent data extraction. Then, the system terminal identifies the obtained effective signal spectrum and performs feature extraction to determine the target sensing data. Feature extraction is a crucial step in signal processing, enabling the extraction of representative and discriminative information from the signal, obtaining the target sensing data, and achieving accurate data acquisition and analysis.

[0038] Furthermore, this application provides optimization for anti-interference control, including: Read the control records for a predetermined period, and determine the first evaluation data based on the stability of the control and response; perform an interference sensitivity assessment on the photoelectric sensor to determine the second evaluation data.

[0039] Preferably, the system terminal first reads the control records within a predetermined period. These records typically contain all control operations performed within that period and their corresponding responses. For each control record, the system terminal searches for the corresponding response data. This involves timestamp matching to ensure that the control operation and response data correspond in time. Subsequently, for each pair of control and response data, the system terminal analyzes whether the response data is as stable as expected. This is achieved by calculating the fluctuation range of the response data. If the response data can remain within a relatively stable range after control, then the stability of this control and response is considered high. To more intuitively represent the stability of control and response, the system terminal uses the proportion of the fluctuation range of the response data to calculate the evaluation index of the control record. Then, for all control records within the entire predetermined period, the average value of this evaluation index is calculated as the first evaluation data. Next, an interference sensitivity assessment is performed on the photoelectric sensor. This is because the photoelectric sensor may be subject to various external interferences in the working environment, such as vibration and noise. During the assessment process, the system terminal simulates the impact of these interference factors on the photoelectric sensor and analyzes the response of the photoelectric sensor. The sensitivity of the photoelectric sensor to these interference factors and their impact on the performance of the photoelectric sensor are evaluated. Based on this sensitivity analysis, the system terminal will generate a second evaluation data.

[0040] The internal shielding structure of the photoelectric sensor is interacted with to determine the intrinsic resistance data; based on the intrinsic resistance data, the first evaluation data, and the second evaluation data, anti-interference control optimization is performed.

[0041] Preferably, the system terminal interacts with the photoelectric sensor to obtain its internal shielding structure, a crucial factor determining its inherent anti-interference capability. By inspecting and testing this structure, the system terminal can determine the photoelectric sensor's inherent resistance data under different interference conditions. This data reflects the photoelectric sensor's ability to resist external interference. Subsequently, combining the obtained first and second evaluation data, the system terminal gains a comprehensive understanding of the photoelectric sensor's overall performance. The first evaluation data describes the stability of the photoelectric sensor in terms of regulation and response, while the second evaluation data reveals the sensor's sensitivity to external interference. Based on these three aspects of data, the system terminal can optimize anti-interference control. This process includes adjusting the photoelectric sensor's internal parameters and improving its structural design. The optimization goal is to improve the stability and accuracy of the photoelectric sensor under interference, ensuring stable performance output in complex working environments. For example, if the inherent resistance data shows that the photoelectric sensor performs poorly under certain types of interference, its internal shielding structure can be improved to enhance its anti-interference capability. Simultaneously, if the first evaluation data shows instability in the photoelectric sensor's regulation and response, its parameter settings can be adjusted to improve its stability. If the second evaluation data reveals that the photoelectric sensor is particularly sensitive to specific types of interference, a targeted filtering mechanism can be designed to reduce the impact of these interferences on the performance of the photoelectric sensor.

[0042] In summary, the embodiments of this application have at least the following technical effects: This application establishes a sensor feature library containing configuration reference sequences based on the characteristics of the detection target and the sensor configuration, providing a data foundation for subsequent supervised training. Subsequently, using the sensor feature library, a feature classifier is trained, and combined with the parameter control mapping relationship of the photoelectric sensor, a photoelectric control module including a light projection control unit and a light receiving control unit is constructed. An interference control loop is established in the module for dynamic response and adjustment to interference. Then, by identifying the intrinsic characteristics of the detection target, the parameters of the light projection control unit are configured, including the adjustment of the light source and dimming lens, to ensure that the light projection spot and light source characteristics meet the detection requirements. The light receiving control unit then determines the interference source and performs reverse light projection control based on the interference control loop to eliminate or reduce the impact of interference on detection. Next, the received photoelectric reflection signal is preprocessed, including signal spectrum conversion, correction, and phase expansion processing, to improve the effectiveness and accuracy of the signal. Finally, signal feature recognition is performed to determine the target sensing data. These technical effects collectively solve the technical problems of unstable data and high misjudgment rate caused by external interference in miniature photoelectric sensors in complex environments. This achieves the effect of improving the anti-interference ability of miniature photoelectric sensors in complex environments, and ensuring the accuracy and stability of detection data.

[0043] In Embodiment Two, based on the same inventive concept as the anti-interference method based on micro-photoelectric sensors in the preceding embodiments, this application provides a storage medium. This storage medium can be a ROM or other type of static storage device capable of storing static information and instructions, RAM or other type of dynamic storage device capable of storing information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact discread-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory can exist independently and be connected to the processor via a bus architecture. Alternatively, the memory can be integrated with the processor.

[0044] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0045] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, if these modifications and variations of this application fall within the scope of this application and its equivalents, this application intends to include these modifications and variations.

Claims

1. Anti-interference method based on a miniature optoelectronic sensor, characterized in that, The method comprises: A sensing feature library is built by detecting target characteristics and sensing configuration characteristics, and the sensing feature library contains configuration reference sequences; An optical-electricity measurement and control module is supervised and trained with the assistance of the sensing feature library, and a communication connection between the optical-electricity measurement and control module and an optical-electricity sensor is established, the optical-electricity measurement and control module includes a light projection measurement and control unit and a light reception measurement and control unit, and an interference regulation loop is established; Self characteristics of a detection target are read, and light projection debugging parameter configuration is performed in combination with the light projection measurement and control unit, wherein the light projection debugging parameters at least include light spot characteristics and light source characteristics, and the light spot characteristics are controlled through a light adjustment lens; Interference source determination and light projection reverse regulation based on the interference regulation loop are performed in combination with the light reception measurement and control unit, and optical-electricity reflection signals are received, wherein the interference source includes a homologous optical-electricity effect target; The optical-electricity reflection signals are returned, the optical-electricity reflection signals are preprocessed, signal feature recognition is performed, and target sensing data of the detection target are determined.

2. The micro-opto-electronic sensor based anti-jamming method of claim 1, wherein, The optical-electricity measurement and control module is supervised and trained, which comprises: A feature classifier is trained based on the sensing feature library; A light projection measurement and control unit is constructed based on the feature classifier and in combination with a parameter control mapping relationship of the optical-electricity sensor, wherein the parameter control mapping relationship is a unit step correspondence relationship between response characteristics and control parameters; The light reception measurement and control unit is connected to the light projection measurement and control unit in a rear-end manner, an interference regulation loop from the light projection measurement and control unit to the light reception measurement and control unit is established, and the optical-electricity measurement and control module is generated.

3. The micro-opto-electronic sensor based anti-jamming method of claim 1, wherein, The light adjustment lens is arranged in front of the light source, and the light projection debugging parameter configuration comprises: The self characteristics are identified, light spot constraints are performed based on geometric characteristics, and first constraint characteristics are obtained, wherein the geometric characteristics include hollow characteristics; The self characteristics are identified, light source constraints are performed based on optical-electricity effect characteristics, and second constraint characteristics are determined, wherein the light source characteristics at least include light color, frequency, illumination, and spatial viewing distance; Parameter control conversion is performed on the first constraint characteristics and the second constraint characteristics, the light projection debugging parameters are determined, and the light projection debugging parameters include light source debugging and light adjustment lens debugging.

4. The micro-opto-electronic sensor based anti-jamming method of claim 1, wherein, The light projection reverse regulation based on the interference regulation loop comprises: It is determined whether there is an interference source; If there is an interference source, different optical-electricity feature recognition is performed on the interference source and the optical-electricity sensor based on optical-electricity effect characteristics, wherein the interference source includes at least one; Light reception measurement and control management is performed based on the different optical-electricity features.

5. The method of claim 4, wherein the micro-opto-electronic sensor-based anti- jamming method is characterized by, The light reception measurement and control management based on the different optical-electricity features comprises: If there is a different optical-electricity feature and a different level meets a preset level, light reception measurement and control management is performed with the different optical-electricity feature as a constraint; If there is no different optical-electricity feature, a frequency adjustment instruction is generated; Based on the frequency adjustment instruction, the light source light-emitting frequency regulation is performed, and active distinguishing characteristics are determined; Based on the active distinguishing characteristics, light reception measurement and control management is performed.

6. The micro-opto-electronic sensor based anti-jamming method of claim 1, wherein, The optical-electricity reflection signals are preprocessed, and signal feature recognition is performed, which comprises: The optical-electricity reflection signals are identified, signal spectrum conversion is performed, and a signal spectrum diagram is determined. The field interference is determined, the photoelectric reflection signal is corrected, and a corrected signal spectrum is determined; The corrected signal is traversed, a fuzzy signal section is located, the fuzzy signal section is expanded in phase, and an effective signal spectrum is determined; The effective signal spectrum is identified, feature extraction is performed, and the target sensing data is determined.

7. The micro-opto-electronic sensor based anti-jamming method of claim 1, wherein, The method further comprises: Reading a predetermined period of regulatory records, determining first evaluation data based on the stability of regulation and response; Performing interference sensitivity evaluation on the photoelectric sensor to determine second evaluation data; Interacting with the internal shielding structure of the photoelectric sensor to determine self-resistance data; Based on the self-resistance data, the first evaluation data and the second evaluation data, the anti-interference control optimization is performed.

8. A storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to realize the steps of the anti-interference method based on the micro photoelectric sensor in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Diffuse reflection type photoelectric sensor anti-interference method, equipment and medium

    CN114485734A

  • Photoelectric sensor and control method thereof

    CN114623851A

  • High-precision detection method and device based on photoelectric sensor

    CN118730179A

  • Distributed disturbance sensing device and the related demodulation method based on polarization sensitive optical frequency domain reflectometry

    US20140176937A1