Optical synchronization method and apparatus for safety light curtain, and device and storage medium

By determining and calibrating the light-shielding scanning period in the safety light grating, the problem of signal interference and loss in the grating synchronization head was solved, and the light-shielding timing synchronization between the transmitter and receiver was achieved, ensuring the stability and accurate light-shielding detection of the safety light grating.

WO2026016745A1PCT designated stage Publication Date: 2026-01-22SHENZHEN WONSOR TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/103102
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-16
Filing Date
2025-06-24
Publication Date
2026-01-22

AI Technical Summary

Technical Problem

When existing safety light curtains are installed close together, the synchronization head signals of the transmitter and receiver are easily interfered with, leading to synchronization loss or misjudgment, which causes the light blocking detection function to fail.

Method used

By determining the light-blocking scanning period at the transmitter and receiver of the safety light curtain, the transmitter sends a synchronization head signal, and the receiver determines the light source type and calibrates the scanning period to ensure that scanning is performed according to the calibrated period when the synchronization head signal is lost. Synchronization is maintained by resetting using a timer.

Benefits of technology

It achieves synchronization of the light-shielding timing between the transmitter and receiver after the synchronization head signal is lost due to interference, ensuring the stability and continuity of the safety grating and reducing the error and misjudgment of light-shielding detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025103102_22012026_PF_FP_ABST
    Figure CN2025103102_22012026_PF_FP_ABST
Patent Text Reader

Abstract

An optical synchronization method for a safety light curtain. The method comprises: an emitter and receiver of a safety light curtain determining a beam interruption scan cycle of a timer (S11); the emitter triggering the emission of a synchronization header signal according to the beam interruption scan cycle (S12); the receiver determining a light source type on the basis of a pulse cycle time of the synchronization header signal, and determining whether the light source type of the synchronization header signal is a preset light source type (S13); and if so, the receiver executing beam interruption detection, and performing calibration on the beam interruption scan cycle of the timer, so as to perform scanning according to the calibrated beam interruption scan cycle when the receiver does not detect a synchronization header signal of the preset light source type, thereby realizing the synchronization between the emitter and the receiver (S14). A beam interruption scan cycle of a timer is calibrated after each instance of successful identification of an optical synchronization header, so as to ensure that when a synchronization header signal is lost due to interference, a timing time remains consistent with a time which is last synchronized by a synchronization header, and the timer may serve as a backup functional device for the beam interruption timing synchronization between the emitter and the receiver. Further disclosed are an optical synchronization apparatus for a safety light curtain, and a device and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Light synchronization method, device and equipment of safety light barrier and storage medium TECHNICAL FIELD

[0001] The present application relates to the technical field of industrial safety, in particular to a light synchronization method, device and equipment of safety light barrier and storage medium. BACKGROUND

[0002] The safety light barrier, also known as photoelectric safety protection device, safety protector, punch protector, infrared safety protection device, etc., emits infrared rays to generate a protection light curtain. When the light curtain is blocked, the device sends a light blocking signal to control the potentially dangerous mechanical equipment to stop working. Therefore, the safety light barrier is usually applied to some potentially dangerous mechanical equipment or dangerous areas in modern factories where people work with machines, which can effectively prevent accidents and reduce the comprehensive cost of accidents. The existing safety light barrier can also be installed on both sides of the elevator door or subway door to prevent the elevator door and subway door from causing personal injury to people.

[0003] According to various assembly scenarios of the safety light barrier, one light barrier includes a transmitting end and a receiving end. When two light barriers are installed very close to each other, both the transmitting end and the receiving end have two. Since the safety light barrier is installed on the door, for example, when the door is opened and coincides or approaches the light barrier of the next door, the light emitted by the transmitting end may be received by the receiving end of the same light barrier. Understandably, the synchronization head of the A light barrier may be disturbed by the light of the B light barrier, resulting in loss or misjudgment of the synchronization head signal of the A light barrier, so that the receiving end of the A light barrier cannot be synchronized with the lighting timing sequence of the transmitting end, causing the receiving end to mistakenly detect the light blocking state, or the response time is lengthened, thereby causing the light blocking detection function of the light barrier to fail randomly. SUMMARY

[0004] The present application provides a light synchronization method, device and equipment of safety light barrier and storage medium, which aims to solve at least one of the above technical problems.

[0005] The present application provides a light synchronization method of safety light barrier, comprising: determining a light blocking scanning period of a timer by a transmitting end and a receiving end of the safety light barrier; triggering a synchronization head signal by the transmitting end according to the light blocking scanning period; determining a light source type based on a pulse period time of the synchronization head signal by the receiving end, and judging whether the light source type of the synchronization head signal belongs to a preset light source type; if yes, performing light blocking detection by the receiving end, and calibrating the light blocking scanning period of the timer, so that the receiving end scans according to the calibrated light blocking scanning period after detecting no synchronization head signal of the preset light source type, to realize synchronization between the transmitting end and the receiving end.

[0006] According to the light synchronization method of the safety grating provided by the application, when the receiving end cannot detect the synchronization head signal of the preset light source type, scanning is performed according to the calibrated light blocking scanning period, which comprises: determining the number of continuous signal losses of the synchronization head signal; if the number of continuous signal losses is less than a preset number, scanning is performed according to the calibrated light blocking scanning period; if the number of continuous signal losses is not less than the preset number, light blocking detection is stopped and a light blocking state signal is output.

[0007] According to the light synchronization method of the safety grating provided by the application, if the receiving end performs light blocking detection, the receiving end further comprises: the receiving end closes the identification of the synchronization head signal; after the period of light blocking detection ends, the receiving end reopens the identification of the synchronization head signal.

[0008] According to the light synchronization method of the safety grating provided by the application, the calibration of the light blocking scanning period of the timer comprises: resetting the timer after successfully detecting the synchronization head signal each time, so that the timer starts counting again.

[0009] According to the light synchronization method of the safety grating provided by the application, the determination of the light blocking scanning period of the timer comprises: determining the number of lamp beads and the execution time of each lamp; determining the period time corresponding to A light and B light in the safety grating respectively, wherein A light and B light are different pulse lights; determining the light blocking scanning period corresponding to A light and the light blocking scanning period corresponding to B light based on the number of lamp beads, the execution time, the preset task detection time and the period time corresponding to A light and B light respectively.

[0010] According to the light synchronization method of the safety grating provided by the application, the light blocking detection comprises: the receiving end analyzes the detected light intensity data to determine whether there is a light blocking event based on the analysis result, wherein the light blocking event refers to an event in which an article blocks light; if there is a light blocking event, the receiving end outputs a light blocking state signal.

[0011] According to the light synchronization method of the safety grating provided by the application, the duration of the first period of the synchronization head signal pulse of A light in the safety grating is 220us; the duration of the second period of the synchronization head signal pulse of A light is 280us; the duration of the first period of the synchronization head signal pulse of B light is 180us; and the duration of the second period of the synchronization head signal pulse of B light is 320us.

[0012] The application further provides a light synchronization device of a safety grating, comprising: a first determination module configured to determine a light-shield scanning period of a timer at a transmitting end and a receiving end of the safety grating; a transmitting module configured to trigger a transmitting synchronization head signal at the transmitting end according to the light-shield scanning period; a second determination module configured to determine a light source type based on a pulse period time of the synchronization head signal at the receiving end, and determine whether the light source type of the synchronization head signal at the receiving end belongs to a preset light source type; and a detection module configured to perform light-shield detection at the receiving end if the light source type belongs to the preset light source type, and calibrate the light-shield scanning period of the timer, so that the receiving end performs scanning according to the calibrated light-shield scanning period when the receiving end fails to detect the synchronization head signal of the preset light source type, thereby realizing synchronization between the transmitting end and the receiving end.

[0013] The application further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the light synchronization method of the safety grating according to any one of the above-mentioned methods when executing the program.

[0014] The application further provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program is executable on a processor to implement the light synchronization method of the safety grating according to any one of the above-mentioned methods.

[0015] The application provides a light synchronization method, device, equipment, and storage medium of a safety grating, comprising: determining a light-shield scanning period of a timer at a transmitting end and a receiving end of the safety grating; triggering a transmitting synchronization head signal at the transmitting end according to the light-shield scanning period; determining a light source type based on a pulse period time of the synchronization head signal at the receiving end, and determining whether the light source type of the synchronization head signal belongs to a preset light source type; performing light-shield detection at the receiving end if the light source type belongs to the preset light source type, and calibrating the light-shield scanning period of the timer, so that the receiving end performs scanning according to the calibrated light-shield scanning period when the receiving end fails to detect the synchronization head signal of the preset light source type, thereby realizing synchronization between the transmitting end and the receiving end. By calibrating the light-shield scanning period of the timer after each successful identification of the light synchronization head, it is ensured that the timing time is consistent with the time of the last synchronization head signal after the synchronization head signal is lost, so that the timer can serve as a backup transmitting end and receiving end light-shield timing synchronization function, thereby realizing synchronization of the light-shield timing of the transmitting end and the receiving end. BRIEF DESCRIPTION OF DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without any creative effort.

[0017] Fig. 1 is a flowchart of a light synchronization method of a safety grating according to the present application; Fig. 2 is a flowchart of a transmitting end of an embodiment of the present application; Fig. 3 is a flowchart of a receiving end of an embodiment of the present application; Fig. 4 is a structural diagram of a light synchronization device of a safety grating according to the present application; and Fig. 5 is a structural diagram of an electronic device according to the present application. DETAILED DESCRIPTION

[0018] In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the drawings of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0019] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms "a", "an" and "the" used in one or more embodiments of the present application are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of the present application means and includes any or all possible combinations of one or more associated listed items.

[0020] It should be understood that although the terms first, second, etc. can be used in one or more embodiments of the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of one or more embodiments of the present application, first can also be referred to as second, and similarly, second can also be referred to as first. Depending on the context, the word "if" as used herein can be interpreted as "when" or "upon".

[0021] Fig. 1 is a flowchart of a light synchronization method of a safety grating according to the present application. As shown in Fig. 1, the light synchronization method of the safety grating comprises: step S11, determining a light shielding scanning period of a timer by a transmitting end and a receiving end of the safety grating; and step S12, triggering a transmitting synchronization head signal by the transmitting end according to the light shielding scanning period. It should be noted that after the number of light-emitting beads is initialized, the light shielding scanning period of the timer is determined according to the number of light-emitting beads.

[0022] Specifically, when the light blocking scanning period of the timer arrives, the transmitting end starts to execute the light-on timing of the light synchronization to trigger the transmitting end to transmit the synchronization head signal. For example, the light blocking scanning period of the timer is 7.2 ms, and the transmitting synchronization head signal is triggered when 7.2 ms arrives. Optionally, a set of synchronization head timing is sent in the light synchronization process. The synchronization functions as follows: (1) to distinguish whether the light synchronization type is A light or B light; and (2) to serve as the light blocking scanning synchronization timing of the transmitting end and the receiving end.

[0023] In addition, after the transmitting end synchronization head signal is sent, the transmitting lamp starts to light up from the first one and light up one by one to the last one. Optionally, the execution time of each lamp is set as 200 us (lighting up for 30 us and off for 170 us) in advance. After all the lamps are lighted up one by one, the transmitting end fault detection, such as the power supply detection and the driving slice selection detection, is executed.

[0024] In step S13, the receiving end determines the light source type based on the pulse period time of the synchronization head signal and judges whether the light source type of the synchronization head signal belongs to the preset light source type. Specifically, the synchronization timing of the light synchronization is initiated by the transmitting end. If the receiving end does not receive the synchronization head signal, the receiving end does not execute the light blocking detection function and directly enters the light blocking state. In addition, when the receiving end identifies the synchronization head signal, the receiving end of the safety light grid determines the light source type according to the pulse period time of the synchronization head signal, and further judges whether the light source type of the synchronization head signal belongs to the preset light source type. For example, whether it is A light or B light is judged according to the pulse period time of the synchronization head, so that the receiving end can filter out different types of light through the synchronization head timing of the AB light. For example, if the transmitting is A light and the receiving is B light, the receiving end does not execute the light blocking detection timing. The light blocking timing is executed only when A light is identified.

[0025] It should be noted that A light and B light are different pulses. In a specific embodiment, the duration of the synchronization head signal pulse of A light and B light is determined according to the execution time of each lamp. The execution time of each lamp is 200 us. The duration of the first period of the synchronization head signal pulse of A light in the safety light grid is 220 us. The duration of the second period of the synchronization head signal pulse of A light is 280 us. The duration of the first period of the synchronization head signal pulse of B light is 180 us. The duration of the second period of the synchronization head signal pulse of B light is 320 us. Optionally, since the execution time of each lamp is 200 us, the recognition accuracy error is ±5 us, and the period time is as far as possible to be staggered with the execution time of the single lamp, but it cannot be too short. For example, if it is less than 180 us, the whole period is in the full high level state, which leads to the failure of correctly identifying the complete period and the failure of identifying the synchronization head signal. However, the time cannot be set too long, and the implementation of setting too long will affect the response speed of the light blocking.

[0026] If yes, the receiving end performs light blocking detection and calibrates the light blocking scanning period of the timer, so as to scan according to the calibrated light blocking scanning period when the receiving end fails to detect the synchronization head signal of the preset light source type, thereby realizing the synchronization between the transmitting end and the receiving end.

[0027] Specifically, if the light source belongs to the preset light source type, the receiving end performs the light blocking detection function to detect whether there is an event of blocking light by an article. In addition, after successfully identifying the synchronization head signal, the light blocking scanning period of the corresponding timer of the receiving end needs to be calibrated. In more detail, after successfully detecting the synchronization head signal each time, the timer is reset, and the count is reset to 0, so that the counting is restarted. It should be noted that due to the periodicity of the light signal, the timer will reach 0 again at the same time in the next period. If the transmitting end transmits data according to the same period, the timer should be able to accurately indicate the receiving time when the next light synchronization head appears. Therefore, even if the light synchronization head is lost in a certain period, since the timer has been calibrated, the count value of the timer is consistent with the count value when the last synchronization head appears, and therefore, the timer can serve as a backup light blocking time sequence synchronization function between the transmitting end and the receiving end, thereby ensuring the continuity and stability of the communication system. When the receiving end fails to detect the synchronization head signal of the preset light source type, scanning is performed according to the calibrated light blocking scanning period, thereby realizing the synchronization between the transmitting end and the receiving end.

[0028] For example, assuming that the period of the light signal is T, and the position of the synchronization head signal in each period is t. When the synchronization head signal is detected at time t, the timer is reset to 0. Next, at the same time t+T in the next period, the timer points to 0 again. If the transmitting end transmits data at the beginning of each period t, when the next synchronization head signal appears at time t+2T, the timer points to 0 again, thereby maintaining synchronization, and even if the synchronization head is lost in a certain period, since the timer has been calibrated, the accuracy of data transmission can be ensured.

[0029] In addition, after successful identification of the synchronization head signal, the receiving end closes the identification of the synchronization head signal to prevent the received light blocking data from causing frequent interruption, thereby affecting the time sequence accuracy of light blocking. When the period of light blocking detection ends, the receiving end reopens the identification of the synchronization head signal.

[0030] The embodiment of the present application calibrates the light blocking scanning period of the timer after each successful identification of the light synchronization head, so that when the synchronization head signal is lost due to interference, the timing time is consistent with the time of the last synchronization head signal, thereby enabling the timer to serve as a backup light blocking time sequence synchronization function between the transmitting end and the receiving end, and thereby realizing the synchronization of the light blocking time sequence between the transmitting end and the receiving end.

[0031] In one embodiment of the present application, when the receiving end cannot detect the synchronization head signal of the preset light source type, scanning is performed according to the calibrated light-shield scanning period, comprising: determining the number of consecutive signal losses of the synchronization head signal; if the number of consecutive signal losses is less than a preset number, scanning is performed according to the calibrated light-shield scanning period; and if the number of consecutive signal losses is not less than the preset number, light-shield detection is stopped and a light-shield state signal is output.

[0032] It should be noted that the number of consecutive signal losses refers to the number of consecutive losses of the synchronization head signal, wherein, when the synchronization head signal is successfully identified, the number of consecutive signal losses is reset to 0. The preset number can be set according to actual conditions, for example, set to 100 times.

[0033] It should be noted that when the synchronization head of the safety light barrier A device is disturbed by the light signal of the B device, the light synchronization head of the A device is lost due to the disturbance, at which time the periodic synchronization light-shield is performed by relying on the backup timer. Specifically, when the receiving end cannot detect the synchronization head signal of the preset light source type, the number of consecutive signal losses of the synchronization head signal is determined, and then the number of consecutive signal losses is compared with the preset number; if the number of consecutive signal losses is less than the preset number, scanning is performed according to the calibrated light-shield scanning period. Optionally, since the timer is also calibrated last time, the light-shield scanning period is fixed, therefore, as long as the timer maintains the light-shield scanning period to perform light-shield scanning, the light-shield timing of the transmitting end and the receiving end is also synchronized. At this time, as long as there is no obstacle to block, the light barrier can still maintain the light-transmitting state. In addition, if the number of consecutive signal losses is not less than the preset number, light-shield detection is stopped, and it should be noted that as the number of executions increases, the light-shield timing error of the transmitting end and the receiving end will also become larger, at which time the timer will no longer perform light-shield detection and output a light-shield state signal, and the safety light barrier enters a safety output state.

[0034] Through the above scheme, the embodiment of the present application realizes that after the synchronization head of the receiving end is lost due to disturbance, the number of consecutive signal losses of the lost synchronization head signal is counted, if the number of consecutive signal losses is less than a preset number, scanning is performed according to the calibrated light-shield scanning period, at this time, the light-shield timing of the transmitting end and the receiving end is also synchronized, so that the safety light barrier works normally.

[0035] In one embodiment of the present application, the determination of the light-shield scanning period of the timer comprises: determining the number of light beads and the execution time of each light; determining the period time corresponding to A light and B light in the safety light barrier respectively, wherein A light and B light are different pulse lights; determining the light-shield scanning period corresponding to A light and the light-shield scanning period corresponding to B light based on the number of light beads, the execution time, the preset task detection time, and the period time corresponding to A light and B light respectively.

[0036] It should be noted that, in order to reduce the problem of continuous long-time interference of light interference, for example, if the period time of A light and B light is the same (for example, the light-shield scanning period of A light and B light is 7.1 ms), as the time deviation, when the two period times collide, the synchronization head signal will continuously interfere for many times, and it may take 10 seconds to avoid interference, so that the receiving end is easy to appear the light-shield state for 10 seconds, and the above-mentioned standby execution of the timer for many times cannot solve this problem.

[0037] Therefore, in order to reduce the problem of continuous loss of synchronization signal caused by the same frequency interference of the synchronization pulse of the two sets of light barriers (two sets of light barriers are used together), when the synchronization heads of the two sets of light barriers collide with the passage of time, the next two periods can easily avoid the timing, so that the anti-interference is more stable.

[0038] Specifically, the number of light beads and the execution time of each light are determined, for example, the number of light beads is 20, and the execution time of each light is 200us. In addition, the period time corresponding to A light and B light in the safety light barrier is determined, for example, A light is set to 100us, and B light is set to 200us: the preset task detection time is determined, for example, it is set to 3ms, including the time of light synchronization and fault detection. Further, based on the number of light beads, the execution time, the preset task detection time, and the period time corresponding to A light and B light respectively, the light-shield scanning period corresponding to A light and the light-shield scanning period corresponding to B light are calculated.

[0039] For example, in a specific example, the formula of the light-shield period is executed: 3ms+100us+(20*200us)=7.1ms 3ms+200us+(20*200us)=7.2ms Parameter description: 7.1ms represents the light-shield scanning period of A light; 7.2ms represents the light-shield scanning period of B light, which is 100us longer than the light-shield scanning period of A light; 3ms represents the preset task detection time; 100us and 200us represent the period time of A light and B light respectively. 20*200us: 20 represents 20 lights, and 200us represents the execution time of one light.

[0040] The embodiment of the present application sets a time difference in the execution cycle of A light and B light, so that when the two sets of grating synchronization heads collide over time, the subsequent execution cycle can be quickly staggered in time, making it more stable against interference, thereby reducing the case that the light interference is continuously disturbed for a long time when multiple sets of gratings are stacked together for use.

[0041] In an embodiment of the present application, the execution of the light blocking detection comprises: the receiving end analyzes the detected light intensity data to determine whether there is a light blocking event based on the analysis result, wherein the light blocking event refers to an event in which an article blocks light; and if there is a light blocking event, the receiving end outputs a light blocking state signal.

[0042] Specifically, the receiving end continuously analyzes the light intensity data collected by the light sensor or other optical devices. These data reflect whether the light beam is blocked or otherwise affected. In an embodiment, a light intensity threshold can be set, and if the light intensity data is below the light intensity threshold, it is determined that there is a light blocking event, wherein the light blocking event refers to the time when an article or obstacle blocks the light, which may mean that the safety of the grating system is threatened or needs to trigger a safety response. If the receiving end confirms that there is a light blocking event, the receiving end will output a light blocking state signal to inform other systems or controllers of the current light blocking condition. Optionally, after the receiving end outputs the light blocking state signal, the system can take appropriate measures according to the pre-set safety strategy. This may include shutdown, alarm, or other necessary safety responses to ensure the safety of the operating environment and the continuity of the work process.

[0043] Referring to FIG. 2, FIG. 2 is a flowchart of the transmitting end of the embodiment of the present application; the transmitting end specifically executes the following process: determining the light blocking scanning period of the timer, and then when the light blocking scanning period arrives, the transmitting end sends a synchronization head signal, after the synchronization head signal is sent, the transmitting lamps are lit from the first one to the last one. After all the lamps are lit one by one, the transmitting end fault detection is executed, such as power detection and driving piece selection detection.

[0044] Referring to FIG. 3, FIG. 3 is a flowchart of the receiving end of the embodiment of the present application; the receiving end specifically executes the following process: the synchronization timing of the light synchronization is initiated by the transmitting end, and when the receiving end recognizes the synchronization head signal, the receiving end starts to execute the light blocking detection to detect whether there is a light blocking event. After detecting the light blocking, the receiving end outputs a light blocking state signal, and the OSSD output signal switching device enters a safety state. In addition, after the receiving end recognizes the synchronization head signal, the light blocking scanning period of the timer needs to be reset, and the detection of the synchronization head signal needs to be closed, and when the period of the light blocking detection ends, the receiving end reopens the recognition of the synchronization head signal.

[0045] In addition, when the receiving end fails to identify the synchronization head signal, the number of continuous signal losses is counted, and if the number of continuous signal losses is less than a preset number, scanning is continued according to the calibrated light shielding scanning period, so as to realize synchronization between the transmitting end and the receiving end. If the number of continuous signal losses is not less than the preset number, the light shielding timing error between the transmitting end and the receiving end will also become larger and larger, the timer will no longer perform light shielding detection, and a light shielding state signal is output, so that the safety light barrier enters a safety output state.

[0046] The light synchronization device of the safety light barrier provided by the present application is described below, and the light synchronization device of the safety light barrier described below can be correspondingly referred to the light synchronization method of the safety light barrier described above.

[0047] Fig. 4 is a structural schematic diagram of the light synchronization device of the safety light barrier provided by the present application. As shown in Fig. 4, the light synchronization device of the safety light barrier provided by the present application comprises: a first determination module 21 configured to determine a light shielding scanning period of a timer of a transmitting end and a receiving end of a safety light barrier; a transmitting module 22 configured to trigger a transmitting synchronization head signal according to the light shielding scanning period of the timer; a second determination module 23 configured to determine a light source type based on a pulse period time of the synchronization head signal, and determine whether the light source type determined by the receiving end is a preset light source type; and a detection module 24 configured to, if yes, perform light shielding detection, and calibrate the light shielding scanning period of the timer, so as to, when the receiving end fails to detect the synchronization head signal of the preset light source type, scan according to the calibrated light shielding scanning period, so as to realize synchronization between the transmitting end and the receiving end.

[0048] The detection module 24 is further configured to: count a number of continuous signal losses of the synchronization head signal; if the number of continuous signal losses is less than a preset number, scan according to the calibrated light shielding scanning period; and if the number of continuous signal losses is not less than the preset number, stop scanning, perform light shielding detection, and output a light shielding state signal.

[0049] The detection module 24 is further configured to: turn off identification of the synchronization head signal by the receiving end; and when a period of light shielding detection ends, turn on identification of the synchronization head signal by the receiving end again.

[0050] The detection module 24 is further configured to: reset the timer after successfully detecting the synchronization head signal each time, so that the timer starts counting again.

[0051] The first determination module 21 is further configured to: determine the number of lamp beads and the execution time of each lamp; determine the cycle time corresponding to A light and B light in the safety light barrier respectively, wherein the A light and the B light are different pulsed lights; and determine the light-shield scanning cycle corresponding to the A light and the light-shield scanning cycle corresponding to the B light based on the number of lamp beads, the execution time, the preset task detection time, and the cycle time corresponding to the A light and the B light respectively.

[0052] The detection module 24 is further configured to: analyze the detected light intensity data at the receiving end, to determine whether there is a light-shield event based on the analysis result, wherein the light-shield event refers to an event in which an article shields light; and output a light-shield state signal if there is a light-shield event.

[0053] The light synchronization device of the safety light barrier further comprises: the duration of the first cycle of the A light synchronization head signal pulse in the safety light barrier is 220us; the duration of the second cycle of the A light synchronization head signal pulse is 280us; the duration of the first cycle of the B light synchronization head signal pulse is 180us; and the duration of the second cycle of the B light synchronization head signal pulse is 320us.

[0054] It should be noted that the above device provided by the embodiment of the present application can realize all the method steps achieved by the above method embodiment, and achieve the same technical effects. Therefore, the same parts and beneficial effects of the method embodiment will not be described in detail.

[0055] FIG. 5 is a structural schematic diagram of an electronic device provided by the present application. As shown in FIG. 5, the electronic device can include a processor 310, a memory 320, a communications interface 330, and a communications bus 340. The processor 310, the memory 320, and the communications interface 330 can communicate with each other through the communications bus 340. The processor 310 can invoke the logical instructions in the memory 320 to execute the light synchronization method of the safety light barrier.

[0056] In addition, the logic instructions in the memory 320 described above can be implemented in the form of software functional units and sold or used as independent products, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.

[0057] In another aspect, the present application also provides a non-transitory computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the light synchronization method of the safety grating provided by the above-mentioned methods.

[0058] The device embodiments described above are only schematic, wherein the units described as separate components can or can not be physically separated, and the components displayed as units can or can not be physical units, i.e., they can be located in one place, or distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment. Those skilled in the art can understand and implement without creative labor.

[0059] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software and necessary universal hardware platforms, and of course, can also be realized by hardware. Based on such understanding, the above technical solutions essentially or the parts that contribute to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

[0060] It should be noted that the above examples are only used to illustrate the technical solutions of the present application, and are not intended to limit the present application; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that the technical solutions recorded in the foregoing examples can be modified, or some technical features can be replaced by equivalent features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method of optical synchronization of a safety barrier, characterized in that, include: The transmitter and receiver of the safety light curtain determine the light-blocking scanning period of the timer; The transmitting end triggers the transmission synchronization head signal according to the light-blocking scanning cycle; The receiving end determines the light source type based on the pulse period of the synchronization head signal, and determines whether the light source type of the synchronization head signal belongs to a preset light source type. If so, the receiving end performs shading detection and calibrates the shading scanning period of the timer so that when the receiving end does not detect the synchronization head signal of the preset light source type, it scans according to the calibrated shading scanning period to achieve synchronization between the transmitting end and the receiving end.

2. The light synchronization method of a safety grating according to claim 1, characterized by, When the receiving end fails to detect a synchronization head signal of the preset light source type, scanning is performed according to the calibrated light-blocking scanning cycle, including: Determine the number of consecutive signal losses of the synchronization head signal; If the number of consecutive signal losses is less than the preset number, then scanning is performed according to the calibrated light-blocking scanning cycle; If the number of consecutive signal loss is not less than a preset number, the scanning will stop, shading detection will be performed, and a shading status signal will be output.

3. The method of light synchronization of a safety grating according to claim 2, characterized in that, If so, after performing shading detection, the receiving end further includes: The receiving end disables the recognition of the synchronization header signal; After the shading detection period ends, the receiver restarts the recognition of the synchronization head signal.

4. The light synchronization method of a safety grating according to claim 1, characterized by, The calibration of the light-shielding scanning period of the timer includes: After each successful detection of the synchronization head signal, the timer is reset so that it restarts counting.

5. The light synchronization method of a safety grating according to claim 1, characterized by, The determination of the light-blocking scanning period of the timer includes: Determine the number of LEDs and the execution time for each LED; Determine the period times corresponding to light A and light B in the safety light grating, where light A and light B are light with different pulses; Based on the number of LED beads, the execution time, the preset task detection time, and the cycle times corresponding to light A and light B respectively, the shading scanning cycle corresponding to light A and the shading scanning cycle corresponding to light B are determined.

6. The light synchronization method of a safety grating according to claim 1, wherein, The shading detection includes: The receiving end analyzes the detected light intensity data to determine whether there is a light-blocking event based on the analysis results. The light-blocking event refers to an event in which an object blocks the light. If a light-blocking event occurs, the receiver will output a light-blocking status signal.

7. The light synchronization method of a safety grating according to claim 5, wherein, The duration of the first cycle of the A-optical synchronization head signal pulse in the safety light grating is 220µs; The duration of the second cycle of the synchronization head signal pulse of optical A is 280µs; The duration of the first cycle of the B-type optical synchronization head signal pulse is 180µs; The duration of the second cycle of the B-type optical synchronization head signal pulse is 320µs.

8. A light synchronization device for a safety barrier, characterized in that include: The first determining module is used to determine the light-blocking scanning period of the timer at the transmitter and receiver of the safety light curtain; The transmitting module is used to trigger the transmitting synchronization head signal at the transmitting end according to the light-blocking scanning cycle; The second determining module is used for the receiving end to determine the light source type based on the pulse period time of the synchronization head signal, and to determine whether the light source type of the synchronization head signal determined by the receiving end belongs to a preset light source type. The detection module is configured to perform light-shield detection if the receiving end, and calibrate the light-shield scanning period of the timer, so as to scan according to the calibrated light-shield scanning period when the receiving end fails to detect the synchronization head signal of the preset light source type, thereby realizing the synchronization between the transmitting end and the receiving end.

9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, The processor implements the light synchronization method of the safety light barrier according to any one of claims 1 to 7 when executing the program. 10.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program implements the light synchronization method of the safety light barrier according to any one of claims 1 to 7 when executed by the processor.

Citation Information

Patent Citations

  • Safety grating synchronization method

    CN104421598A

  • Light curtain detection method and equipment without special synchronous lines

    CN111829564A

  • Light curtain light beam alignment correction method, light curtain receiver, emitter and storage medium

    CN112363238A

  • Optical synchronization method, device and equipment of safety grating and storage medium

    CN118915179A

  • Multiple optical axis photoelectric sensor

    JP2006242572A