Optical interference dynamic processing method and device
By setting multiple preset rules in the light receiving circuit of the safety light curtain, the intensity of light interference is judged and the fault signal is output, the detection inaccurate problem caused by strong light interference is solved, and the stability and accuracy of the safety light curtain are improved. .
Patent Information
- Application Number
- CN202411180673.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-12-06
AI Technical Summary
When the existing safety light curtain faces strong light interference, the detection effect is greatly reduced. Especially when the interference light intensity is extremely high, the receiver light receiving circuit reaches a saturation state and cannot recover the effective optical signal, resulting in inaccurate detection results.
By setting multiple preset rules in the light receiving circuit, the light interference intensity is judged, if the saturation state is reached, the signal is filtered, and the light intensity of some interfering light is counted within the early warning threshold. If the threshold exceeds the fault signal, it is output to remind the user in the environment There is strong light interference.
It realizes stable detection under strong light interference, reduces the error rate, improves the stability and accuracy of the safety light curtain, and avoids misjudgment caused by environmental fluctuations.
Smart Images

Figure CN119085842A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of optical interference processing, and in particular relates to a method and device for dynamic processing of optical interference. Background Art
[0002] Safety light curtain is a device used to protect the safety of operators. It is widely used in various mechanical equipment, such as stamping machinery, shearing equipment, metal cutting equipment, automated assembly lines, etc. Safety light curtain consists of a transmitter and a receiver. The transmitter emits infrared light and the receiver receives the light beam. When the receiver cannot receive the infrared light, the light curtain will send out an alarm signal.
[0003] However, the detection effect of the safety light curtain may be greatly reduced when it is interfered by light. The light interference usually comes from environmental interference or mutual interference between adjacent light curtains. In the prior art, anti-interference algorithms are often used to correct the effects of light interference, such as Figure 1(a)-Figure 1(b) As shown in the figure, due to the influence of interference light, the intensity of effective light B and the intensity of interference light C are superimposed, which raises the signal baseline. At this time, filtering is usually used to filter out the intensity of the interference light to obtain an effective light signal. Figure 1(a) shows the original signal waveform received by the safety light curtain receiving circuit, and Figure 1(b) shows the signal waveform after filtering out the interference light.
[0004] However, this processing method cannot cope with the situation where the interference light intensity is strong. When the interference light intensity is extremely high, the light receiving circuit in the receiver will reach saturation, and the collected optical signal will always maintain the saturation threshold. At this time, the original waveform collected by the light receiving circuit cannot be used to restore the effective light, resulting in inaccurate detection results of the safety light curtain, affecting subsequent processes.
[0005] Based on the above, this application provides a technical solution to solve the above technical problems. Summary of the invention
[0006] In view of the defect that the light interference of the safety light curtain in the prior art lacks the ability to deal with strong light interference, the present invention provides a method for dynamically processing light interference, including:
[0007] Step S1, receiving a light signal through a light receiving circuit;
[0008] Step S2, extracting light interference intensity based on the collected light signal;
[0009] Step S3, judging whether the light interference intensity meets the first preset rule, if it meets the first preset rule, proceeding to step S4, if it does not meet the first preset rule, proceeding to step S5;
[0010] Step S4: If the collected light signal meets the second preset rule, filter the collected light signal to obtain a valid light signal;
[0011] Step S5: If the collected optical signal conforms to the third preset rule, an interference fault signal is output.
[0012] In a specific embodiment of the present invention, the first preset rule in step S3 includes: the optical interference intensity U2 is greater than or equal to the saturation threshold U of the optical receiving circuit. When the optical interference intensity U2 is greater than or equal to the saturation threshold U, the optical receiving circuit reaches the saturation state. At this time, an effective optical signal cannot be calculated from the collected optical signal.
[0013] In a specific embodiment of the present invention, when the optical receiving circuit does not reach the saturation state, L = U1 + U2, and when the optical receiving circuit reaches the saturation state, L = U, where U1 represents the optical intensity of the effective optical signal and L is the optical intensity of the collected optical signal.
[0014] In a specific embodiment of the present invention, the second preset rule includes: obtaining an optical interference warning threshold U3, where U3 < U, U3 = x% × U, and x is a preset value based on the optical receiving circuit; if L < U3 in the current period, the collected optical signal is processed based on the interference filtering algorithm to obtain and output an effective optical signal.
[0015] In a specific embodiment of the present invention, the third preset rule includes:
[0016] If L ≥ U3 in the i-th period, then sum i = sum i-1 + 1, where sum i represents the count value of the i-th period;
[0017] If L ≥ U3 for n consecutive periods, continuous counting is performed. If L < U3 or the optical receiving circuit does not reach the saturation state in a certain period, the count value is cleared and re-counted. i represents the period number, and i is a positive integer.
[0018] In a specific embodiment of the present invention, it further includes: when sum i ≥ n, an interference fault signal is output, where n is a preset value of the optical receiving circuit and n is a positive integer.
[0019] In a specific embodiment of the present invention, it further includes an initialization step: let sum1 = 0. If L ≥ U3 in the first period, then sum1 = 1, otherwise sum1 = 0;
[0020] Circularly monitor the optical intensity L of the collected optical signal in each period.
[0021] In a specific embodiment of the present invention, the collected optical signal is obtained by filtering the original optical receiving signal, and the signals to be filtered include switching signals.
[0022] In a specific embodiment of the present invention, the light receiving circuit includes a scanning transmitting module, a scanning receiving module, an optical signal processing module and an optical signal analyzing module.
[0023] The present invention further provides a light interference dynamic processing device, the processing device is used to implement any of the above-mentioned light interference dynamic processing methods, including:
[0024] A light receiving circuit, through which a light collecting light signal is received;
[0025] An optical path analysis module, which extracts the optical interference intensity based on the collected optical signal;
[0026] A first judging module, judging whether the light interference intensity meets a first preset rule;
[0027] The second judgment module outputs an interference fault signal if the collected light signal meets a second preset rule.
[0028] The present invention can bring at least one of the following beneficial effects: The present invention proposes a method for dynamically processing optical interference, including: receiving and collecting optical signals and extracting the intensity of optical interference, judging whether the intensity of optical interference causes the optical receiving circuit to reach a saturated state, if the optical receiving circuit reaches a saturated state within a certain period or the optical receiving circuit does not reach a saturated state, but the intensity of the interference light is within the warning threshold, then the count value is +1, and when the count value exceeds the fault threshold, a fault signal is output to remind the user that strong optical interference continues to exist in the environment at this time. The method for dynamically processing optical interference provided by the present invention can dynamically select a response method based on the intensity of optical interference, has high stability, low error rate, and a wider range of application scenarios, and reports an error when strong optical interference exists in multiple consecutive periods, avoiding false warnings due to environmental fluctuations and other reasons, further reducing accidental misjudgments, and improving the stability of the safety light curtain. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The preferred implementation scheme will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and their implementation methods.
[0030] FIG. 1( a ) is a waveform of an original signal received by a light receiving circuit in the background art;
[0031] FIG. 1( b ) is a signal waveform restored from the original signal waveform after filtering out interference light in the background art;
[0032] Figure 2 A schematic diagram of the steps of a method for dynamically processing light interference in Embodiment 1 of the present invention;
[0033] FIG3( a ) is a schematic diagram of the waveform of the original light receiving signal received when the light receiving circuit reaches saturation;
[0034] FIG3( b ) is a schematic diagram of a collected light signal waveform restored from the original collected light signal waveform collected by the light collecting circuit in a saturated state;
[0035] FIG3( c ) is a schematic diagram of an interference light waveform and an effective light waveform obtained by filtering out the collected light signal waveform collected by the light receiving circuit in a saturated state. DETAILED DESCRIPTION
[0036] Various aspects of the present invention are described in further detail below.
[0037] Unless otherwise defined or indicated, all professional and scientific terms used herein have the same meanings as those familiar to those skilled in the art. In addition, any methods and materials similar or equivalent to those described herein can be applied to the present invention.
[0038] The following is an explanation of the terms.
[0039] It is to be understood that although the terms "first", "second", etc. may be used herein to describe different elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. Therefore, the first element may be referred to as the second element without departing from the teachings of the present invention.
[0040] Other aspects of the present invention will be apparent to those skilled in the art in view of the disclosure herein.
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0042] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. The drawings only show the components related to the present application and are not drawn according to the number, shape and size of the components in actual implementation. The type, quantity and proportion of each component in actual implementation may be changed arbitrarily, and the component layout may also be more complicated. For example, the thickness of the components in the drawings may be exaggerated for the sake of clarity.
[0043] Embodiment 1
[0044] In view of the defects of existing technology in safety light curtain light interference, such as lack of strong light interference Figure 2 As shown, the present invention provides a method for dynamically processing light interference, comprising:
[0045] Step S1: Receive the collected optical signal through a light-receiving circuit;
[0046] Step S2: Extract the optical interference intensity based on the collected optical signal;
[0047] Step S3: Determine whether the optical interference intensity conforms to a first preset rule. If it conforms to the first preset rule, proceed to step S4; if it does not conform to the first preset rule, proceed to step S5;
[0048] Step S4: If the collected optical signal conforms to a second preset rule, filter the collected optical signal to obtain an effective optical signal;
[0049] Step S5: If the collected optical signal conforms to a third preset rule, output an interference fault signal.
[0050] Among them, the first preset rule in step S3 includes: the optical interference intensity U2 is greater than or equal to the saturation threshold U of the light-receiving circuit. When the optical interference intensity U2 is greater than or equal to the saturation threshold U, the light-receiving circuit reaches the saturation state. At this time, an effective optical signal B cannot be calculated from the collected optical signal. When the optical interference intensity is too strong and the light-receiving circuit reaches the saturation state, the waveform of the optical signal collected by the light-receiving circuit is shown in Figure 3(b), and the effective optical signal B restored from the waveform of the collected optical signal is shown in Figure 3(c). As can be seen from the figure, at this time, the effective optical signal B is the same as the interference optical signal C, that is, the effective optical signal B cannot be calculated from the collected optical signal B.
[0051] Specifically, when the light-receiving circuit is not in the saturation state, L = U1 + U2, and when the light-receiving circuit reaches the saturation state, L = U, where U1 represents the optical intensity of the effective optical signal and L is the optical intensity of the collected optical signal.
[0052] Preferably, the second preset rule includes: obtaining an optical interference warning threshold U3, U3 < U, U3 = x% × U, where x is a preset value based on the light-receiving circuit; if L < U3 in the current period, process the original collected optical signal based on an interference filtering algorithm to obtain and output an effective optical signal B.
[0053] In a preferred embodiment, 80 ≤ x ≤ 100, and more preferably, x = 90.
[0054] Preferably, the third preset rule includes:
[0055] If L ≥ U3 in the i-th period, then sum i = sum i-1 + 1, where sum i represents the count value of the i-th period;
[0056] If the consecutive n periods satisfy L≥U3, continuous counting is performed. If L<U3 in a certain period or the light receiving circuit does not reach the saturation state, the count value is cleared and re-counted. Here, i represents the period number and i is a positive integer.
[0057]
[0058] Table 1
[0059] As shown in Table 1, the count value sum i Accumulation example: Only when the light intensity L of the collected optical signal in consecutive multiple periods (such as the 7th to 10th periods in Table 1) is greater than or equal to the warning threshold U3, the count value sum i Continues to accumulate. If the light intensity L of the collected optical signal in the current period does not reach the warning threshold U3 (such as the 1st, 3rd, and 6th periods in Table 1), then the count value sum i Is cleared and re-counted.
[0060] In a preferred embodiment of the present invention, it further includes: when sum i ≥n, an interference fault signal is output. Here, n is a preset value of the light receiving circuit and n is a positive integer. Preferably, it further includes an initialization step: let sum1 = 0. If L≥U3 in the first period, then sum1 = 1; otherwise, sum1 = 0;
[0061] Circularly monitor the light intensity L of the collected optical signal in each period.
[0062] In a preferred embodiment of the present invention, the collected optical signal is obtained by filtering the original light receiving signal. The signals to be filtered include switching signals. The waveform of the original light receiving signal is shown in Fig. 3(a), the waveform of the switching signal A is shown as A in Fig. 3(a), and the waveform of the collected optical signal obtained after filtering is shown in Fig. 3(b).
[0063] In a preferred embodiment of the present invention, the light receiving circuit includes a scanning transmission module, a scanning reception module, an optical signal processing module, and an optical signal analysis module. Preferably, the scanning transmission module is used to emit infrared light, the infrared light is collected by the scanning reception module, and after being processed such as amplified or shaped by the optical signal processing module, it is then supplied to the optical signal analysis module for filtering processing to obtain an effective optical waveform.
[0064] Embodiment 2
[0065] The present invention also provides another specific embodiment: An optical interference dynamic processing device, which is used to implement any one of the optical interference dynamic processing methods in Embodiment 1, including:
[0066] A light receiving circuit, which receives the collected optical signal through the light receiving circuit;
[0067] An optical path analysis module, which extracts the optical interference intensity based on the collected optical signal;
[0068] A first judging module, judging whether the light interference intensity meets a first preset rule;
[0069] The second judgment module outputs an interference fault signal if the collected light signal meets a second preset rule.
[0070] In summary, the present invention has achieved the following effects:
[0071] The present invention proposes a method for dynamically processing optical interference, including: receiving and collecting optical signals and extracting the intensity of optical interference, determining whether the intensity of optical interference causes the optical receiving circuit to reach a saturated state, if the optical receiving circuit reaches a saturated state within a certain period or the optical receiving circuit does not reach a saturated state, but the intensity of the interference light is within the warning threshold, then the count value is +1, and when the count value exceeds the fault threshold, a fault signal is output to remind the user that strong optical interference continues to exist in the environment at this time. The method for dynamically processing optical interference provided by the present invention can dynamically select a response method based on the intensity of optical interference, has high stability, low error rate, and a wider range of application scenarios, and reports an error when strong optical interference exists in multiple consecutive periods, avoiding false warnings due to environmental fluctuations and other reasons, further reducing accidental misjudgments, and improving the stability of the safety light curtain.
[0072] Based on this application, it should be understood by those skilled in the art that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0073] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.
[0074] It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.
[0075] All documents mentioned in the present invention are cited as references in this application, just as each document is cited as reference separately. In addition, it should be understood that after reading the above content of the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms also fall within the scope defined by the claims attached to this application.
Claims
1. A method for dynamic processing of optical interference, characterized in that: Including: Step S1: Receive the collected optical signal through a light-receiving circuit; Step S2: Extract the optical interference intensity based on the collected optical signal; Step S3: Determine whether the optical interference intensity conforms to a first preset rule. If it conforms to the first preset rule, go to step S4; if it does not conform to the first preset rule, go to step S5; Step S4: If the collected optical signal conforms to a second preset rule, filter the collected optical signal to obtain an effective optical signal; Step S5: If the collected optical signal conforms to a third preset rule, output an interference fault signal.
2. The method for dynamic processing of optical interference according to claim 1, characterized in that: The first preset rule in step S3 includes: the optical interference intensity U2 is greater than or equal to the saturation threshold U of the light-receiving circuit. When the optical interference intensity U2 is greater than or equal to the saturation threshold U, the light-receiving circuit reaches the saturation state, and at this time, an effective optical signal cannot be calculated from the collected optical signal.
3. The method for dynamic processing of optical interference according to claim 2, characterized in that: When the light-receiving circuit is not in the saturation state, L = U1 + U2, and when the light-receiving circuit reaches the saturation state, L = U. U1 represents the optical intensity of the effective optical signal, and L is the optical intensity of the collected optical signal.
4. The method for dynamic processing of optical interference according to claim 3, characterized in that: The second preset rule includes: Obtain the optical interference warning threshold U3, U3 < U, U3 = x% × U, where x is a preset value based on the light-receiving circuit; if L < U3 in the current cycle, process the collected optical signal based on the interference filtering algorithm to obtain and output an effective optical signal.
5. The method for dynamic processing of optical interference according to claim 4, characterized in that: The third preset rule includes: If L ≥ U3 in the i-th cycle, then sum i =sum i-1 +1, sum i Represents the count value of the i-th cycle; If L ≥ U3 for n consecutive cycles, continue counting. If L < U3 or the light-receiving circuit is not in the saturation state in a certain cycle, clear the count value and start counting again. i represents the cycle number, and i is a positive integer.
6. The method for dynamic processing of optical interference according to claim 5, characterized in that: Also including: When sum i ≥n, an interference fault signal is output, where n is a preset value of the light receiving circuit and n is a positive integer.
7. The method for dynamic processing of optical interference according to claim 5, characterized in that: Also including an initialization step: Let sum1 = 0. If L ≥ U3 in the first cycle, then sum1 = 1; otherwise, sum1 = 0; Cyclically monitor the optical intensity L of the collected optical signal in each cycle.
8. The method for dynamic processing of optical interference according to claim 1, characterized in that: The collected optical signal is obtained by filtering the original light-receiving signal, and the filtered signals include switching signals.
9. The method for dynamic processing of optical interference according to claim 1, characterized in that: The light-receiving circuit includes a scanning transmission module, a scanning reception module, an optical signal processing module, and an optical signal analysis module.
10. A light interference dynamic processing device, the processing device is used to implement the light interference dynamic processing method according to any one of claims 1 to 9, characterized in that: Including: A light-receiving circuit for receiving the collected optical signal through the light-receiving circuit; An optical path analysis module for extracting the optical interference intensity based on the collected optical signal; A first judgment module for judging whether the optical interference intensity conforms to the first preset rule; A second judgment module for outputting an interference fault signal if the collected optical signal conforms to the second preset rule.
Citation Information
Cited By
Shading judgment method and device for safety grating, computer equipment and storage medium
CN121611842A
