A high-speed measurement light curtain and control method thereof
By monitoring and analyzing the photoelectric signal and amplifier data of the high-speed measurement light curtain, the distance between the emitter and the receiver is adjusted in real time, which solves the problem of detection distance adjustment and improves detection accuracy and efficiency.
Patent Information
- Application Number
- CN202410351177.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-03-26
AI Technical Summary
When the external environmental interference of high-speed measurement light curtains is large, the detection distance is difficult to dynamically adjust, resulting in a decrease in detection accuracy or detection failure. If the distance is too close, the effective detection distance is wasted.
By monitoring the photoelectric signals of the emitter and receiver, combined with the magnification of the amplifier, the interference interval and saturation detection distance are determined, the idle luminous flux and correction coefficient are extracted, and the distance between the emitter and receiver is adjusted in real time to optimize the detection distance.
It realizes intelligent real-time distance adjustment of high-speed measurement light curtains under different environmental conditions, ensuring stable sending and receiving of photoelectric signals, extending the maximum detection distance, and improving detection accuracy.
Smart Images

Figure CN117950078B
Abstract
Description
Technical Field
[0001] The present application relates to the field of photoelectric sensing technology, and more specifically, to a high-speed measuring light curtain and a control method thereof. Background Art
[0002] High-speed measurement light curtain refers to a system used to detect and measure objects passing through gratings or light curtains. These systems are often used in industrial automation to monitor the position, speed and direction of objects. The light curtain consists of a transmitter and a receiver. The transmitter emits a light beam, while the receiver receives and detects the light beam. When an object passes through the light beam, the object blocks the light beam, thereby triggering the system to generate a signal. The receiver of the high-speed measurement light curtain monitors the generated signal, which can detect the position and circular hole of the object in real time and trigger a response when the object passes.
[0003] The detection range of the high-speed measuring light curtain depends on many factors, including the intensity of the light source, the sensitivity of the light receiver, the external environmental conditions, the characteristics of the target object, and the design and configuration of the light curtain. In the prior art, the detection range of the high-speed measuring light curtain uses a fixed distance between the emitter and the light receiver. If the distance between the emitter and the light receiver is too far, then when the external environment has a greater impact on the photoelectric signal intensity, it will affect the detection accuracy of the high-speed measuring light curtain, and even make the detection of the high-speed measuring light curtain invalid. If the distance between the emitter and the light receiver is too close, the effective detection distance of the high-speed measuring light curtain will be wasted. The use of dynamic detection distance can effectively solve the above problems. Therefore, how to dynamically adjust the detection distance of the emitter and the light receiver in the high-speed measuring light curtain in real time is a problem that needs to be solved urgently. Summary of the invention
[0004] The present application provides a high-speed measurement light curtain and a control method thereof, which can realize intelligent real-time adjustment of the detection distance of a transmitter and a light receiver of the high-speed measurement light curtain.
[0005] In a first aspect, the present application provides a control method for a high-speed measurement light curtain, comprising:
[0006] Monitor and measure the photoelectric signals of the transmitter and receiver in the light curtain at high speed to obtain the transmission signal data and the reception signal data;
[0007] Obtaining the amplification factor of the amplifier in the high-speed measurement light curtain, performing interference definition on the transmission signal data and the reception signal data according to the amplification factor, and obtaining the interference range of the high-speed measurement light curtain in the optical signal transmission;
[0008] Collecting spectral response information of the high-speed measurement light curtain when an object passes through, and obtaining a saturation detection distance of the optical signal transmission of the high-speed measurement light curtain through the interference interval and the spectral response information;
[0009] Extracting the idle luminous flux of the transmitter and the light receiver at different signal strengths from the transmission signal data and the light receiving signal data, and obtaining the correction coefficient of the detection distance of the transmitter and the light receiver at different signal strengths according to all the idle luminous fluxes and the magnification;
[0010] The distance between the emitter and the light receiver in the high-speed measurement light curtain is adjusted according to the saturation detection distance and the correction coefficient.
[0011] In some embodiments, interference is defined for the transmission signal data and the reception signal data according to the magnification to obtain the interference interval of the high-speed measurement light curtain in the optical signal transmission, specifically including:
[0012] For each transmission signal in the transmission signal data, obtaining a transmission signal value of the transmitter through the transmission signal and the amplification factor;
[0013] Determine the light receiving signal corresponding to the transmitted signal in the light receiving signal data;
[0014] Obtaining a received light signal value through the received light signal and the amplification factor;
[0015] Determine the filtering interference value corresponding to the transmitting signal according to the transmitting signal value and the receiving light signal value, and then obtain all filtering interference values;
[0016] The interference range of the high-speed measurement light curtain in optical signal transmission is obtained from all filtered interference values.
[0017] In some embodiments, obtaining the saturation detection distance of the high-speed measurement light curtain light signal transmission through the interference interval and the spectral response information specifically includes:
[0018] Determine the ambient temperature refractive index of the current external environment where the high-speed measurement light curtain is located;
[0019] Determining a transmission loss entropy according to the ambient temperature refractive index and the interference interval;
[0020] Acquire the emission signal wavelength corresponding to the emitter in the high-speed measurement light curtain, and then determine the spectral response curve corresponding to the emission signal wavelength in the spectral response information;
[0021] Obtaining an excess gain curve through the transmission loss entropy and the spectral response curve;
[0022] The saturation vicinity of the excess gain curve is determined to obtain a saturation detection distance.
[0023] In some embodiments, extracting the idle luminous flux of the transmitter and the light receiver under different signal strengths from the transmission signal data and the light receiving signal data specifically includes:
[0024] Determine preset idle parameters for high-speed measurement light curtains;
[0025] Classifying the transmission signal data according to different signal strengths to obtain a signal strength data set;
[0026] The idle luminous flux corresponding to each signal strength in the signal strength data set is determined according to the preset idle parameter, so as to obtain the idle luminous flux under different signal strengths.
[0027] In some embodiments, determining the idle luminous flux corresponding to each signal strength in the signal strength data set according to the preset idle parameter specifically includes:
[0028] For each signal strength in the signal strength data set, obtaining all transmission signals corresponding to the signal strength in the transmission signal data;
[0029] Obtain the light receiving signal corresponding to each transmitted signal in the light receiving signal data, and then obtain all the light receiving signals;
[0030] Determine all luminous flux change values between the transmitter and the light receiver according to all transmission signals and all light receiving signals;
[0031] The idle luminous flux corresponding to the signal strength is obtained from the preset idle parameter and the luminous flux change value, and then the idle luminous flux corresponding to each signal strength in the signal strength data set is obtained.
[0032] In some embodiments, obtaining the correction coefficients of the detection distance of the transmitter and the light receiver at different signal intensities according to all idle light fluxes and the magnification specifically includes:
[0033] For each idle luminous flux, obtaining a signal strength corresponding to the idle luminous flux;
[0034] Determine the actual signal strength at different transmission distances according to the signal strength and the amplification factor;
[0035] Determine the maximum transmission distance corresponding to the transmission signal of the signal strength, and then obtain the threshold signal strength received by the optical receiver through the maximum transmission distance;
[0036] The threshold signal strength is compared with the actual signal strength to obtain a correction coefficient.
[0037] In some embodiments, adjusting the distance between the emitter and the light receiver in the high-speed measurement light curtain by using the saturation detection distance and the correction coefficient specifically includes:
[0038] Get the current detection distance between the transmitter and the receiver in the high-speed measurement light curtain;
[0039] Correcting the saturated detection distance according to the correction coefficient to obtain an effective detection distance;
[0040] The distance between the transmitter and the light receiver in the high-speed measurement light curtain is adjusted according to the effective detection distance and the current detection distance.
[0041] In a second aspect, the present application provides a high-speed measurement light curtain, including a control unit, wherein the control unit includes:
[0042] The monitoring module is used to monitor the photoelectric signals of the transmitter and the receiver in the high-speed measurement light curtain to obtain the transmission signal data and the reception signal data;
[0043] A processing module, used for obtaining the amplification factor of the amplifier in the high-speed measurement light curtain, performing interference definition on the transmission signal data and the reception signal data according to the amplification factor, and obtaining the interference interval of the high-speed measurement light curtain in the optical signal transmission;
[0044] The processing module is further used to collect spectral response information of the high-speed measurement light curtain when an object passes through, and obtain the saturation detection distance of the optical signal transmission of the high-speed measurement light curtain through the interference interval and the spectral response information;
[0045] The processing module is further used to extract the idle luminous flux of the transmitter and the light receiver under different signal strengths from the transmission signal data and the light receiving signal data, and obtain the correction coefficient of the detection distance of the transmitter and the light receiver under different signal strengths according to all the idle luminous fluxes and the magnification;
[0046] The adjustment module is used to adjust the distance between the transmitter and the light receiver in the high-speed measurement light curtain according to the saturation detection distance and the correction coefficient.
[0047] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the above-mentioned control method of the high-speed measuring light curtain.
[0048] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions or codes, and when the instructions or codes are run on a computer, the computer implements the control method of the high-speed measurement light curtain when executing the instructions or codes.
[0049] The technical solution provided by the embodiments disclosed in this application has the following beneficial effects:
[0050] In the present application, firstly, the interference range of the high-speed measurement light curtain in the optical signal transmission is obtained by interfering the transmission signal data and the receiving signal data in combination with the amplification factor of the amplifier in the high-speed measurement light curtain, and then the saturation detection distance is determined according to the spectral response information of the high-speed measurement light curtain when an object passes through and the interference range, so that the light intensity received by the optical receiver in the high-speed measurement light curtain exceeds the light energy intensity required to start the amplifier of the optical receiver at different transmission distances. The interference range is used to indicate the degree of interference of the external environment currently located in the high-speed measurement light curtain on the photoelectric signal, and the spectral response information indicates the response characteristic information of the high-speed measurement light curtain to photoelectric signals of different wavelengths within different transmission distances. By combining the response characteristic information of the photoelectric signal with the interference factor of the external environment on the photoelectric signal, a more accurate photoelectric signal loss in the transmission process can be obtained, and then the saturation detection distance can be obtained; then, the detection distance under different signal intensities is obtained by combining the idle light flux with the amplification factor of the amplifier in the high-speed measurement light curtain. The correction coefficient can be used to obtain the correction ratio between the maximum detection distance and the effective detection distance of the high-speed measurement light curtain in actual use. The effective detection distance indicates the maximum distance allowed between the transmitter and the receiver under the premise of ensuring that the photoelectric signal can be stably transmitted and received in the current environment of the high-speed measurement light curtain, and the idle luminous flux indicates the intensity of the light signal after transmission at a fixed distance without any obstruction. The idle luminous flux combined with the amplification factor of the amplifier in the high-speed measurement light curtain can be used to obtain the correction ratio of the maximum detection distance and the effective detection distance in an empty environment, which is convenient for the subsequent correction of the maximum detection distance when an object passes by; finally, the saturated detection distance is used to determine the maximum detection distance that can receive the photoelectric signal intensity required by the amplifier to start the receiver, and the correction coefficient is used to determine different correction ratios. The maximum detection distance is combined with the correction ratio to obtain the effective detection distance between the transmitter and the receiver of the high-speed measurement light curtain under different conditions, thereby realizing intelligent real-time adjustment of the detection distance of the transmitter and the receiver of the high-speed measurement light curtain. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0052] Figure 1 is an exemplary flow chart of a control method of a high-speed measurement light curtain according to some embodiments of the present application;
[0053] Figure 2 is a schematic diagram of a process for determining an interference interval according to some embodiments of the present application;
[0054] Figure 3 is a schematic diagram of a process for determining a saturation detection distance according to some embodiments of the present application;
[0055] Figure 4 is a schematic diagram of exemplary hardware and / or software of a control unit according to some embodiments of the present application;
[0056] Figure 5 It is a structural schematic diagram of a computer device for implementing a control method for a high-speed measurement light curtain according to some embodiments of the present application. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0058] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 , which is an exemplary flow chart of a control method of a high-speed measurement light curtain according to some embodiments of the present application, and the control method of the high-speed measurement light curtain mainly includes the following steps:
[0059] In step 101, the photoelectric signals of the transmitter and the light receiver in the high-speed measurement light curtain are monitored to obtain the transmission signal data and the light receiving signal data.
[0060] It should be noted that a high-speed measurement light curtain refers to a system used to detect and measure objects passing through a grating or light curtain. These systems are often used in industrial automation to monitor the position, speed and direction of objects. The light curtain consists of a transmitter and a receiver. The transmitter emits a light beam, while the receiver receives and detects the light beam. When an object passes through the light beam, it blocks the light beam, triggering the system to generate a signal. In high-speed applications, the key is to ensure that the system can quickly detect the passage of objects and provide accurate measurement results. To achieve this, high-speed sensors and processors are usually used, and the intensity and direction of the light beam are optimized to ensure that the system has sufficient sensitivity and response speed.
[0061] In specific implementation, all transmission signals of the transmitter in the high-speed measurement light curtain within a preset time period can be used as transmission signal data; all transmission signals of the light receiver in the high-speed measurement light curtain within a preset time period can be used as received signal data, wherein one transmission signal in the transmission signal data corresponds to one received signal in the received signal data.
[0062] It should be noted that the intensity of the photoelectric signal received by the optical receiver in the high-speed measurement light curtain is mainly affected by the light source power of the transmitter, the detection distance between the transmitter and the optical receiver, the transmission medium from the transmitter to the optical receiver and the external ambient light interference. Among them, transmitters with different light source powers can transmit transmission signals with different signal strengths, and the transmission medium is air. This application is mainly used to adjust the detection distance under different intensities of transmission signals in different external ambient light interferences.
[0063] In step 102, the amplification factor of the amplifier in the high-speed measurement light curtain is obtained, and interference is limited on the transmission signal data and the reception signal data according to the amplification factor to obtain the interference range of the high-speed measurement light curtain in the optical signal transmission.
[0064] It should be noted that in a high-speed measurement light curtain, an amplifier is usually a circuit or device used to amplify the signal received by a photoelectric sensor. The amplifier can enhance the optical signal received by the sensor so that it can be accurately detected and processed by subsequent electronic equipment or systems. The design and performance of the amplifier have an important impact on the sensitivity, dynamic range and stability of the light curtain system. The amplification factor of the amplifier in a high-speed measurement light curtain refers to the ratio of the input signal amplified by the amplifier. The amplification factor is usually determined according to the system design and requirements to ensure that the output signal can be properly amplified within the dynamic range of the system for accurate measurement and detection. In some embodiments, the amplification factor can be adjusted and optimized according to the signal strength and noise level in actual applications to ensure that the system has good sensitivity and stability.
[0065] In some embodiments, interference is defined for the transmission signal data and the reception signal data according to the magnification to obtain an interference interval of the high-speed measurement light curtain in the optical signal transmission, referring to Figure 2 As described above, the figure is a schematic diagram of a process for determining an interference interval in some embodiments of the present application. In this embodiment, determining the interference interval can be implemented by the following steps:
[0066] In step 1021, for each transmission signal in the transmission signal data, a transmission signal value of the transmitter is obtained through the transmission signal and the amplification factor;
[0067] In step 1022, a received light signal corresponding to the transmitted signal in the received light signal data is determined;
[0068] In step 1023, a received light signal value is obtained by using the received light signal and the amplification factor;
[0069] In step 1024, a filtering interference value corresponding to the transmitting signal is determined according to the transmitting signal value and the receiving light signal value, and then all filtering interference values are obtained;
[0070] In step 1025, the interference interval of the high-speed measurement light curtain in the optical signal transmission is obtained from all filtered interference values.
[0071] It should be noted that the interference interval is an interval composed of multiple filter interference values. The filter interference value is used to indicate the degree of interference of the external environment in which the high-speed measurement light curtain is currently located on the photoelectric signal. The larger the filter interference value, the greater the interference of the current external environment on the photoelectric signal.
[0072] In specific implementation, the product of the original signal strength value and the amplification factor of each transmitted signal can be used as the transmitted signal value; the received signal corresponding to the transmitted signal can be screened out in the received signal data according to the signal reception time; the ratio of the signal strength of the received signal to the amplification factor can be used as the received signal value; the difference between the received signal value and the transmitted signal value can be used as the filtered interference value corresponding to the transmitted signal, and then the filtered interference values corresponding to all transmitted signals can be obtained; the maximum value among all filtered interference values is screened out as the upper bound, and the minimum value is screened out as the lower bound to obtain the interference interval.
[0073] In step 103, the spectral response information of the high-speed measurement light curtain when the object passes through is collected, and the saturation detection distance of the optical signal transmission of the high-speed measurement light curtain is obtained through the interference interval and the spectral response information.
[0074] It should be noted that the spectral response information in the present application represents the response characteristic information of the high-speed measurement light curtain to photoelectric signals of different wavelengths within different transmission distances, and is used to describe the sensitivity or response degree of the photoelectric sensor to light signals of different wavelengths, which can facilitate understanding of the detection performance and sensitivity of the sensor under light signals of different wavelengths. The sensor includes the transmitter and receiver in the high-speed measurement light curtain, which will not be repeated here.
[0075] In specific implementation, the spectral response curves corresponding to different wavelengths can be used as spectral response information. In a laboratory or appropriate experimental environment, the transmitter in the high-speed measurement light curtain can be used to generate photoelectric signals of different wavelengths. The change curve of the signal intensity of the photoelectric signal received by the light receiver in the high-speed measurement light curtain within a fixed time period can be monitored in real time. The change curve can be used as the spectral response curve corresponding to the photoelectric signal of the wavelength, thereby obtaining all the spectral response curves. All spectral response curves can be used as spectral response information. In order to obtain parameters that are more in line with the external environment in which the high-speed measurement light curtain is located, the spectral response curves corresponding to the photoelectric signals of different wavelengths can also be obtained by debugging the high-speed measurement light curtain after installation using the same method as above.
[0076] In some embodiments, the saturation detection distance of the high-speed measurement light curtain light signal transmission is obtained by using the interference interval and the spectral response information, referring to Figure 3 The figure is a schematic diagram of a process for determining a saturation detection distance in some embodiments of the present application. In this embodiment, determining the saturation detection distance can be implemented by the following steps:
[0077] In step 1031, the ambient temperature refractive index of the current external environment where the high-speed measurement light curtain is located is determined;
[0078] In step 1032, a transmission loss entropy is determined according to the ambient temperature refractive index and the interference interval;
[0079] In step 1033, the emission signal wavelength corresponding to the emitter in the high-speed measurement light curtain is obtained, and then the spectral response curve corresponding to the emission signal wavelength in the spectral response information is determined;
[0080] In step 1034, an excess gain curve is obtained by using the transmission loss entropy and the spectral response curve;
[0081] In step 1035, a saturation vicinity of the excess gain curve is determined to obtain a saturation detection distance.
[0082] It should be noted that the excess gain curve in the present application represents a measure of the light intensity received by the optical receiver in the high-speed measuring light curtain exceeding the light energy intensity required to start the amplifier of the optical receiver. When the received light intensity reaches the light energy intensity required by the amplifier of the optical receiver, the optical receiver in the high-speed measuring light curtain will convert the received optical signal into an electrical signal; the ambient temperature refractive index represents the refractive index change of the transmission medium caused by a unit temperature change. The density of the transmission medium changes due to the temperature change of the external environment, thereby affecting the transmission speed and refractive index of the optical signal in the transmission medium. As the temperature increases, the density of the transmission medium will decrease, which will cause the propagation speed of the optical signal in the transmission medium to increase, so the refractive index will also be smaller; the transmission loss entropy represents the degree of signal loss of the optical signal during the transmission process under the current external environment.
[0083] In specific implementation, the temperature of the existing external environment can be monitored in real time, and the ambient temperature refractive index corresponding to the temperature can be determined according to the refractive index formula in the prior art; the ambient temperature refractive index can be used to describe the signal attenuation caused by the change of the medium refractive index during the transmission of the optical signal, and the interference interval is obtained by monitoring the real-time data and can describe the high-energy attenuation of the photoelectric signal during the transmission process. Therefore, in this application, the average value of the product of the ambient temperature refractive index and each filtered interference value in the interference interval can be used as the transmission loss entropy; the wavelength of the emission signal corresponding to the transmitter in the high-speed measurement light curtain depends on the type of light source, therefore, the wavelength range of the selected light source can be used as the emission signal wavelength, and the emission signal wavelength can be used as the wavelength of the photoelectric signal in the spectral response information, and the spectral response curve corresponding to the emission signal wavelength can be screened out in the spectral response information; each value in the spectral response curve can be multiplied by the value in the transmission loss entropy to obtain a new curve, which can be used as an excess gain curve; a region with a large slope and not yet saturated (that is, the gain shows a relatively fast change rate with the change of the optical signal, but has not yet reached the maximum gain effect) can be obtained in the excess gain curve, and the region is used as a saturation adjacent region, and the average value of all detection distances in the saturation adjacent region can be calculated as the saturation detection distance.
[0084] It should be noted that the saturation detection distance in the present application refers to the detection distance when the gain gradually reaches a stable state; the saturation adjacent area refers to the area in the excess gain curve with a larger slope and has not yet been saturated, which is used to describe that when the light signal intensity is low, the linear relationship between the output signal intensity of the photoelectric sensor and the light signal intensity is better, and the gain in the light signal transmission process shows a relatively fast rate of change with the change of the light signal, but has not yet reached the maximum gain effect, that is, the gain gradually tends to stabilize with the increase of the input signal.
[0085] In step 104, the idle luminous fluxes of the transmitter and the light receiver at different signal intensities are extracted from the transmission signal data and the reception signal data, and correction coefficients of the detection distances of the transmitter and the light receiver at different signal intensities are obtained based on all the idle luminous fluxes and the magnification.
[0086] In some embodiments, extracting the idle luminous flux of the transmitter and the light receiver under different signal strengths from the transmission signal data and the light receiving signal data can be achieved by using the following steps:
[0087] Determine preset idle parameters for high-speed measurement light curtains;
[0088] Classifying the transmission signal data according to different signal strengths to obtain a signal strength data set;
[0089] The idle luminous flux corresponding to each signal strength in the signal strength data set is determined according to the preset idle parameter, so as to obtain the idle luminous flux under different signal strengths.
[0090] It should be noted that the preset idle parameter represents a density threshold parameter for idle determination of the luminous flux; the idle luminous flux represents the intensity of the light signal after being transmitted at a fixed distance without any obstruction.
[0091] In specific implementation, idle detection is performed on the luminous flux in different time periods under the current external environment where the high-speed measuring light curtain is located, and the average value of all idle detection results can be used as the preset idle parameter, wherein the idle detection is to compare the signal strength of the transmitting signal of the transmitter and the signal strength of the receiving signal of the light receiver in the absence of any object in between, and the difference between the signal strength of the transmitting signal of the transmitter and the signal strength of the receiving signal of the light receiver is used as the idle detection result of each idle detection; the machine learning algorithm in the prior art can be used to automatically learn the data features and data patterns of the historical usage data of the high-speed measuring light curtain in the current environment and divide the intervals to obtain different signal strengths. degree interval, the transmitted signal data is placed in the corresponding signal strength interval according to the different signal strengths, the average value of the data in each signal strength interval is used as the signal strength corresponding to the current interval, and the set of all signal strengths is used as the signal strength data set. It should be noted that in actual use, the signal strength corresponding to the signal strength interval can be approximated as the signal strength of all transmitted signals in the signal strength interval to reduce the complexity and redundancy of the algorithm. If more precise adjustment is required, the set of signal strengths of all transmitted signals can also be used as the signal strength data set to process each transmitted signal separately to improve the accuracy of the final adjustment. This is not limited in the present application.
[0092] In the above embodiment, determining the idle luminous flux corresponding to each signal strength in the signal strength data set according to the preset idle parameter can be implemented by the following steps:
[0093] For each signal strength in the signal strength data set, obtaining all transmission signals corresponding to the signal strength in the transmission signal data;
[0094] Obtain the light receiving signal corresponding to each transmitted signal in the light receiving signal data, and then obtain all the light receiving signals;
[0095] Determine all luminous flux change values between the transmitter and the light receiver according to all transmission signals and all light receiving signals;
[0096] The idle luminous flux corresponding to the signal strength is obtained from the preset idle parameter and the luminous flux change value, and then the idle luminous flux corresponding to each signal strength in the signal strength data set is obtained.
[0097] In specific implementation, the difference in signal strength between each received light signal and the transmitted signal corresponding to the received light signal can be used as the luminous flux change value between the transmitter and the receiver to obtain all luminous flux change values; among all luminous flux change values, luminous flux change values that are smaller than the preset idle parameters are screened, and the average of the screened luminous flux change values can be used as the idle luminous flux corresponding to the signal strength.
[0098] In some embodiments, obtaining the correction coefficient of the detection distance of the transmitter and the light receiver at different signal intensities according to all idle light fluxes and the magnification can be implemented by the following steps:
[0099] Get signal strength data set;
[0100] For each signal strength in the signal strength data set, screening out the idle light flux corresponding to the signal strength from all idle light fluxes;
[0101] Determine the theoretical signal strength of the photoelectric signal of the signal strength after transmission at different distances according to the idle luminous flux and the magnification;
[0102] Determine an effective transmission distance corresponding to the transmission signal of the signal strength, and then obtain a threshold signal strength received by the optical receiver through the effective transmission distance;
[0103] The threshold signal intensity is compared with the theoretical signal intensity to obtain a correction coefficient.
[0104] It should be noted that the correction coefficient represents the correction ratio of the maximum detection distance of the transmitter and the light receiver in the high-speed measurement light curtain to the effective detection distance. The effective detection distance represents the maximum distance allowed between the transmitter and the light receiver in the current environment of the high-speed measurement light curtain while ensuring that the photoelectric signal can be stably transmitted and received.
[0105] In specific implementation, the value of idle luminous flux can be used as the loss of the spatial path, the amplification factor of the amplifier can be used as the gain factor of the transmitter and the receiver, and the Friis transmission equation in the prior art can be used to determine the signal attenuation value in the transmission process. The result of subtracting the signal attenuation value from the signal intensity corresponding to the idle luminous flux can be used as the theoretical signal intensity. The path loss of spatial transmission can be calculated by the Friis transmission equation in the prior art, and the difference between the signal intensity and the effective photoelectric signal that the receiver needs to receive can be used as the effective path loss. The effective path loss can be substituted into the Friis transmission equation to obtain the effective transmission distance. The signal strength of the optical fiber after transmitting the effective transmission distance in the current environment can be obtained, and the signal strength can be used as the threshold signal strength. The ratio of the threshold signal strength to the theoretical signal strength can be used as a correction coefficient.
[0106] In step 105, the distance between the emitter and the light receiver in the high-speed measurement light curtain is adjusted according to the saturation detection distance and the correction coefficient.
[0107] In some embodiments, adjusting the distance between the emitter and the light receiver in the high-speed measurement light curtain by using the saturation detection distance and the correction coefficient can be achieved by using the following steps:
[0108] Get the current detection distance between the transmitter and the receiver in the high-speed measurement light curtain;
[0109] Correcting the saturated detection distance according to the correction coefficient to obtain an effective detection distance;
[0110] The distance between the transmitter and the light receiver in the high-speed measurement light curtain is adjusted according to the effective detection distance and the current detection distance.
[0111] In specific implementation, the distance between the emitter and the light receiver in the high-speed measurement light curtain can be used as the current detection distance; the distance between the emitter and the light receiver in the high-speed measurement light curtain at the current monitoring moment can be used as the current detection distance; the product of the correction coefficient and the saturation detection distance can be used as the effective detection distance; if the current detection distance is greater than the effective detection distance, the effective detection distance can be used as the detection distance of the emitter and the light receiver in the high-speed measurement light curtain.
[0112] In the present application, firstly, the interference interval is obtained by combining the transmission signal data and the received light signal data with the amplification factor of the amplifier in the high-speed measurement light curtain, and then the saturation detection distance is determined according to the spectral response information of the high-speed measurement light curtain when the object passes through and the interference interval, so that the light intensity received by the light receiver in the high-speed measurement light curtain exceeds the light energy intensity required to start the amplifier of the light receiver at different transmission distances. The interference interval is used to indicate the degree of interference of the external environment currently in which the high-speed measurement light curtain is located on the photoelectric signal. The spectral response information indicates the response characteristic information of the high-speed measurement light curtain to photoelectric signals of different wavelengths within different transmission distances. By combining the response characteristic information of the photoelectric signal with the degree of interference of the external environment on the photoelectric signal, a more accurate photoelectric signal loss during transmission can be obtained, and then the saturation detection distance can be obtained. Then, the correction coefficient of the detection distance under different signal intensities is obtained by combining the idle light flux with the amplification factor of the amplifier in the high-speed measurement light curtain, so that the actual detection distance of the high-speed measurement light curtain can be obtained. The correction ratio between the maximum detection distance in use and the effective detection distance. The effective detection distance indicates the maximum distance allowed between the transmitter and the receiver under the premise of ensuring that the photoelectric signal can be stably transmitted and received in the current environment of the high-speed measurement light curtain. The idle luminous flux is used to indicate the intensity of the light signal after transmission at a fixed distance without any obstruction. The idle luminous flux combined with the amplification factor of the amplifier in the high-speed measurement light curtain can obtain the correction ratio of the maximum detection distance and the effective detection distance in an empty environment, which is convenient for the subsequent correction of the maximum detection distance when an object passes. Finally, the saturated detection distance is used to determine the maximum detection distance that can receive the photoelectric signal intensity required by the amplifier to start the receiver. The correction coefficient is used to determine different correction ratios. The maximum detection distance is combined with the correction ratio to obtain the effective detection distance between the transmitter and the receiver of the high-speed measurement light curtain under different conditions, thereby realizing the intelligent real-time adjustment of the detection distance of the transmitter and the receiver of the high-speed measurement light curtain.
[0113] In addition, in another aspect of the present application, in some embodiments, the present application provides a high-speed measurement light curtain, the high-speed measurement light curtain also includes a control unit, referring to Figure 4 , which is a schematic diagram of exemplary hardware and / or software of a control unit according to some embodiments of the present application, the control unit includes: a monitoring module 201, a processing module 202 and an adjustment module 203, which are described as follows:
[0114] Monitoring module 201, in the present application, the monitoring module 201 is mainly used to monitor the photoelectric signals of the transmitter and the light receiver in the high-speed measurement light curtain to obtain the transmission signal data and the light receiving signal data;
[0115] Processing module 202, in the present application, the processing module 202 is used to obtain the amplification factor of the amplifier in the high-speed measurement light curtain, and to perform interference definition on the transmission signal data and the received light signal data according to the amplification factor, so as to obtain the interference interval of the high-speed measurement light curtain in the optical signal transmission;
[0116] In addition, the processing module 202 in the present application is also used to collect spectral response information of the high-speed measurement light curtain when an object passes through, and obtain the saturation detection distance of the optical signal transmission of the high-speed measurement light curtain through the interference interval and the spectral response information;
[0117] In addition, the processing module 202 in the present application is also used to extract the idle luminous flux of the transmitter and the light receiver at different signal strengths from the transmission signal data and the received light signal data, and obtain the correction coefficient of the detection distance of the transmitter and the light receiver at different signal strengths according to all the idle luminous fluxes and the magnification;
[0118] The adjustment module 203 in the present application is mainly used to adjust the distance between the transmitter and the light receiver in the high-speed measurement light curtain according to the saturation detection distance and the correction coefficient.
[0119] The above describes in detail the examples of the high-speed measuring light curtain and the control method thereof provided by the embodiments of the present application. It can be understood that in order to realize the above functions, the corresponding device includes hardware structures and / or software modules corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0120] In some embodiments, the present application also provides a computer device, which includes a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the above-mentioned control method of the high-speed measurement light curtain.
[0121] In some embodiments, reference Figure 5 , the dotted line in the figure indicates that the unit or the module is optional, and the figure is a schematic diagram of the structure of a computer device for implementing a control method for a high-speed measurement light curtain according to an embodiment of the present application. The control method for the high-speed measurement light curtain in the above embodiment can be achieved by Figure 5The computer device shown in the figure is implemented, and the computer device includes at least one processor 301, a memory 302 and at least one communication unit 305. The computer device can be a terminal device, a server or a chip.
[0122] The processor 301 may be a general-purpose processor or a special-purpose processor. For example, the processor 301 may be a central processing unit (CPU), which may be used to control the computer device, execute software programs, and process data of the software programs. The computer device may also include a communication unit 305 to implement signal input (reception) and output (transmission).
[0123] For example, the computer device may be a chip, the communication unit 305 may be an input and / or output circuit of the chip, or the communication unit 305 may be a communication interface of the chip, and the chip may be a component of a terminal device, a network device, or other devices.
[0124] For another example, the computer device may be a terminal device or a server, and the communication unit 305 may be a transceiver of the terminal device or the server, or the communication unit 305 may be a transceiver circuit of the terminal device or the server.
[0125] The computer device may include one or more memories 302, on which a program 304 is stored. The program 304 can be executed by the processor 301 to generate instructions 303, so that the processor 301 performs the method described in the above method embodiment according to the instructions 303. Optionally, data (such as a target audit model) can also be stored in the memory 302. Optionally, the processor 301 can also read the data stored in the memory 302, and the data can be stored at the same storage address as the program 304, or the data can be stored at a different storage address from the program 304.
[0126] The processor 301 and the memory 302 may be provided separately or integrated together, for example, integrated on a system on chip (SOC) of the terminal device.
[0127] It should be understood that each step of the above method embodiment can be completed by a hardware-based logic circuit or software-based instructions in the processor 301. The processor 301 can be a CPU, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, such as discrete gates, transistor logic devices, or discrete hardware components.
[0128] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0129] For example, in some embodiments, the present application also provides a computer-readable storage medium, in which instructions or codes are stored. When the instructions or codes are run on a computer, the computer implements the above-mentioned control method of the high-speed measurement light curtain when executing.
[0130] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0131] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A control method for high-speed measurement light curtain, It is characterized in that The steps include: Monitor and measure the photoelectric signals of the transmitter and receiver in the light curtain at high speed to obtain the transmission signal data and the reception signal data; Obtaining the amplification factor of the amplifier in the high-speed measurement light curtain, performing interference definition on the transmission signal data and the reception signal data according to the amplification factor, and obtaining the interference range of the high-speed measurement light curtain in the optical signal transmission; Collecting spectral response information of the high-speed measurement light curtain when an object passes through, and obtaining a saturation detection distance of the optical signal transmission of the high-speed measurement light curtain through the interference interval and the spectral response information; Extracting the idle luminous flux of the transmitter and the light receiver at different signal strengths from the transmission signal data and the light receiving signal data, and obtaining the correction coefficient of the detection distance of the transmitter and the light receiver at different signal strengths according to all the idle luminous fluxes and the magnification; The distance between the emitter and the light receiver in the high-speed measurement light curtain is adjusted according to the saturation detection distance and the correction coefficient; According to the amplification factor, interference is defined between the transmission signal data and the reception signal data, and the interference interval of the high-speed measurement light curtain in the optical signal transmission is obtained, which specifically includes: For each transmission signal in the transmission signal data, obtaining a transmission signal value of the transmitter through each transmission signal and the amplification factor; Determine the light receiving signal corresponding to each transmitted signal in the light receiving signal data; Obtaining a received light signal value through the received light signal and the amplification factor; Determine the filtering interference value corresponding to each transmitting signal according to the transmitting signal value and the receiving light signal value, and then obtain all filtering interference values; The interference range of the high-speed measurement light curtain in the optical signal transmission is obtained by all the filtered interference values; The saturation detection distance of the high-speed measurement light curtain light signal transmission is obtained by using the interference interval and the spectral response information, specifically including: Determine the ambient temperature refractive index of the current external environment where the high-speed measurement light curtain is located; Determining a transmission loss entropy according to the ambient temperature refractive index and the interference interval; Acquire the emission signal wavelength corresponding to the emitter in the high-speed measurement light curtain, and then determine the spectral response curve corresponding to the emission signal wavelength in the spectral response information; Obtaining an excess gain curve through the transmission loss entropy and the spectral response curve; Determine a saturation vicinity of the excess gain curve, and thereby obtain a saturation detection distance; Extracting the idle luminous flux of the transmitter and the light receiver under different signal strengths from the transmission signal data and the light receiving signal data specifically includes: Determine preset idle parameters for high-speed measurement light curtains; Classifying the transmission signal data according to different signal strengths to obtain a signal strength data set; Determine the idle luminous flux corresponding to each signal strength in the signal strength data set according to the preset idle parameter, and then obtain the idle luminous flux under different signal strengths; Determining the idle luminous flux corresponding to each signal strength in the signal strength data set according to the preset idle parameter specifically includes: For each signal strength in the signal strength data set, obtaining all transmission signals corresponding to the signal strength in the transmission signal data; Obtain the light receiving signal corresponding to each transmitted signal in the light receiving signal data, and then obtain all the light receiving signals; Determine all luminous flux change values between the transmitter and the light receiver according to all transmission signals and all light receiving signals; The idle luminous flux corresponding to the signal strength is obtained from the preset idle parameter and the luminous flux change value, and then the idle luminous flux corresponding to each signal strength in the signal strength data set is obtained.
2. The method according to claim 1, It is characterized in that The correction coefficients of the detection distance of the transmitter and the light receiver under different signal strengths obtained according to all idle luminous fluxes and the magnification specifically include: For each idle luminous flux, obtaining a signal strength corresponding to the idle luminous flux; Determine the actual signal strength at different transmission distances according to the signal strength and the amplification factor; Determine the maximum transmission distance corresponding to the transmission signal of the signal strength, and then obtain the threshold signal strength received by the optical receiver through the maximum transmission distance; The threshold signal strength is compared with the actual signal strength to obtain a correction coefficient.
3. The method according to claim 1, It is characterized in that The method of adjusting the distance between the emitter and the light receiver in the high-speed measurement light curtain by using the saturation detection distance and the correction coefficient specifically includes: Get the current detection distance between the transmitter and the receiver in the high-speed measurement light curtain; Correcting the saturated detection distance according to the correction coefficient to obtain an effective detection distance; The distance between the transmitter and the light receiver in the high-speed measurement light curtain is adjusted according to the effective detection distance and the current detection distance.
4. A high-speed measuring light curtain, which is controlled by the method according to any one of claims 1 to 3, It is characterized in that The high-speed measuring light curtain includes a control unit, and the control unit includes: The monitoring module is used to monitor the photoelectric signals of the transmitter and the receiver in the high-speed measurement light curtain to obtain the transmission signal data and the reception signal data; A processing module, used for obtaining the amplification factor of the amplifier in the high-speed measurement light curtain, performing interference definition on the transmission signal data and the reception signal data according to the amplification factor, and obtaining the interference interval of the high-speed measurement light curtain in the optical signal transmission; The processing module is further used to collect spectral response information of the high-speed measurement light curtain when an object passes through, and obtain the saturation detection distance of the optical signal transmission of the high-speed measurement light curtain through the interference interval and the spectral response information; The processing module is further used to extract the idle luminous flux of the transmitter and the light receiver under different signal strengths from the transmission signal data and the light receiving signal data, and obtain the correction coefficient of the detection distance of the transmitter and the light receiver under different signal strengths according to all the idle luminous fluxes and the magnification; An adjustment module, used for adjusting the distance between the transmitter and the light receiver in the high-speed measurement light curtain according to the saturation detection distance and the correction coefficient; According to the amplification factor, interference is defined between the transmission signal data and the reception signal data, and the interference interval of the high-speed measurement light curtain in the optical signal transmission is obtained, which specifically includes: For each transmission signal in the transmission signal data, obtaining a transmission signal value of the transmitter through the transmission signal and the amplification factor; Determine the light receiving signal corresponding to the transmitted signal in the light receiving signal data; Obtaining a received light signal value through the received light signal and the amplification factor; Determine the filtering interference value corresponding to the transmitting signal according to the transmitting signal value and the receiving light signal value, and then obtain all filtering interference values; The interference range of the high-speed measurement light curtain in the optical signal transmission is obtained by all the filtered interference values; The saturation detection distance of the high-speed measurement light curtain light signal transmission is obtained by using the interference interval and the spectral response information, specifically including: Determine the ambient temperature refractive index of the current external environment where the high-speed measurement light curtain is located; Determining a transmission loss entropy according to the ambient temperature refractive index and the interference interval; Acquire the emission signal wavelength corresponding to the emitter in the high-speed measurement light curtain, and then determine the spectral response curve corresponding to the emission signal wavelength in the spectral response information; Obtaining an excess gain curve through the transmission loss entropy and the spectral response curve; Determine a saturation vicinity of the excess gain curve, and thereby obtain a saturation detection distance; Extracting the idle luminous flux of the transmitter and the light receiver under different signal strengths from the transmission signal data and the light receiving signal data specifically includes: Determine preset idle parameters for high-speed measurement light curtains; Classifying the transmission signal data according to different signal strengths to obtain a signal strength data set; Determine the idle luminous flux corresponding to each signal strength in the signal strength data set according to the preset idle parameter, and then obtain the idle luminous flux under different signal strengths; Determining the idle luminous flux corresponding to each signal strength in the signal strength data set according to the preset idle parameter specifically includes: For each signal strength in the signal strength data set, obtaining all transmission signals corresponding to the signal strength in the transmission signal data; Obtain the light receiving signal corresponding to each transmitted signal in the light receiving signal data, and then obtain all the light receiving signals; Determine all luminous flux change values between the transmitter and the light receiver according to all transmission signals and all light receiving signals; The idle luminous flux corresponding to the signal strength is obtained from the preset idle parameter and the luminous flux change value, and then the idle luminous flux corresponding to each signal strength in the signal strength data set is obtained.
5. A computer device, It is characterized in that The computer device includes a memory and a processor, the memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the computer device executes the control method of the high-speed measurement light curtain according to any one of claims 1 to 3.
6. A computer-readable storage medium, wherein instructions or codes are stored in the computer-readable storage medium. When the instructions or codes are executed on a computer, the computer implements the control method of the high-speed measurement light curtain as described in any one of claims 1 to 3.
