Photoelectric sensing circuit
By combining different number of light curtain transmitting and receiving units in the photoelectric sensing circuit and adopting cascade connection method, the applicability of the existing light curtain sensing system in terms of limited installation space and detection coverage is solved, and the more Flexible and efficient detection effect.
Patent Information
- Application Number
- CN202421329467.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2034-06-11
AI Technical Summary
The existing light curtain sensing system has poor applicability in terms of detection coverage requirements and limited installation space. The 8-point combination is difficult to install due to its long size, while the 4-point combination is too short and the coverage is not ideal.
By combining the light curtain emitting units and the light curtain receiving units with different light curtain points, a cascade connection method is adopted to form a photoelectric sensing circuit suitable for installation spaces and detection coverages of different sizes.
Improves the applicability and flexibility of photoelectric sensing circuits, and can achieve ideal detection coverage in installation spaces of different sizes.
Smart Images

Figure CN222482436U_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of photoelectric sensing technology, and in particular, to a photoelectric sensing circuit. Background Art
[0002] At present, in the on-the-spot light curtain sensor system on the market, each light curtain transmitter and light curtain receiver are either 8-point or 4-point, and the cascade combination is either a cascade between 8-point transmitter / receiver devices or a cascade between 4-point transmitter / receiver devices. However, in actual application scenarios, such as narrow structures and limited space, the 8-point light curtain combination cascade is difficult to install due to its long size, and the 4-point light curtain cascade combination is too short and the coverage is not ideal. Utility Model Content
[0003] One purpose of the embodiments of the present application is to provide a photoelectric sensor circuit to solve the technical problems of the light curtain sensor system in the prior art facing the poor applicability to detection coverage requirements and limited installation space.
[0004] An embodiment of the present application provides a photoelectric sensor circuit, comprising:
[0005] A light curtain transmitting circuit, wherein the light curtain transmitting circuit comprises at least two cascaded light curtain transmitting units, and at least two of the light curtain transmitting units are respectively configured with different numbers of transmitting points;
[0006] A light curtain receiving circuit, the light curtain receiving circuit comprising at least two cascaded light curtain receiving units, at least two of the light curtain transmitting units being respectively configured with different numbers of receiving points, the light curtain receiving units being used to receive sensing light beams emitted by the light curtain transmitting units at the same level to form a sensing light curtain, and the light curtain receiving circuit being used to generate sensing signals based on the receiving state of the sensing light beams; and
[0007] A conversion circuit, wherein the conversion circuit is respectively connected to the light curtain transmitting circuit and the light curtain receiving circuit, and is used to establish communication transmission between the light curtain transmitting circuit and the light curtain receiving circuit, obtain the sensing signal, and convert the sensing signal into an output signal.
[0008] Optionally, the at least two light curtain emission units are serially cascaded, and the light curtain emission unit at the first stage is connected to the conversion circuit;
[0009] The at least two light curtain receiving units are serially cascaded, and the light curtain receiving unit at the first stage is connected to the conversion circuit.
[0010] Optionally, the at least two light curtain emission units are cascaded in parallel and are respectively connected to the conversion circuit;
[0011] The at least two light curtain receiving units are cascaded in parallel and are respectively connected to the conversion circuit.
[0012] Optionally, the conversion circuit includes:
[0013] A light curtain interface module, the light curtain interface module is connected to the light curtain transmitting circuit and the light curtain receiving circuit respectively, and is used to establish communication transmission between the light curtain transmitting circuit and the light curtain receiving circuit, and obtain the sensing signal;
[0014] A first communication module, wherein the first communication module is connected to the light curtain interface module;
[0015] A level interface module; and
[0016] A first main control module, wherein the first main control module is respectively connected to the first communication module and the level interface module, and is used to control the first communication module to parse the sensing signal, and based on the parsed sensing signal, respectively control the first communication module to generate a communication output signal and control the level interface module to generate the level output signal.
[0017] Optionally, the first communication module includes an RS485 communication unit, the RS485 communication unit is connected to the first main control module, the RS485 communication unit is controlled by the first main control module, and is used to generate the communication output signal in the form of an RS485 signal.
[0018] Optionally, the level interface module includes a PNP interface unit, which is controlled by the first main control module and is used to generate the level output signal in the form of a PNP signal.
[0019] Optionally, the conversion circuit further includes a power supply module, which is respectively connected to the light curtain interface module and the first main control module, and is used to obtain an external power supply and convert it into a working current that meets the working requirements of the light curtain transmitting circuit, the light curtain receiving circuit and the conversion circuit;
[0020] The light curtain interface module is also used to output the working current to the light curtain transmitting circuit and the light curtain receiving circuit respectively.
[0021] Optionally, the light curtain emitting unit comprises:
[0022] Transmitter cascade input interface;
[0023] A transmitting end cascade output interface, wherein the transmitting end cascade output interface is connected to the transmitting end cascade input interface of the light curtain transmitting unit of the next stage, and the transmitting end cascade input interface is connected to the transmitting end cascade output interface of the light curtain transmitting unit of the previous stage, wherein the transmitting end cascade input interface of the light curtain transmitting unit of the first stage is connected to the conversion circuit;
[0024] A second communication module, the second communication module is connected to the transmitting end cascade output interface;
[0025] Light curtain transmitter module; and
[0026] A second main control module, wherein the second main control module is respectively connected to the light curtain transmitting module and the second communication module, and is used to control the light curtain transmitting module to transmit the sensing light beam, and to communicate and transmit with the conversion circuit, the light curtain receiving circuit and at least one of the remaining light curtain transmitting units through the second communication module.
[0027] Optionally, the light curtain receiving unit includes:
[0028] Receiver cascade input interface;
[0029] A receiving end cascade output interface, wherein the receiving end cascade output interface is connected to the receiving end cascade input interface of the light curtain receiving unit of the next stage, and the receiving end cascade output interface is connected to the receiving end cascade output interface of the light curtain receiving unit of the next stage, wherein the receiving end cascade input interface of the light curtain receiving unit of the first stage is connected to the conversion circuit;
[0030] A third communication module, the third communication module is connected to the receiving end cascade output interface;
[0031] Light curtain receiver module; and
[0032] A third main control module, wherein the third main control module is respectively connected to the light curtain receiving module and the third communication module, and is used to control the light curtain receiving module to receive the sensing light beam, generate the sensing signal based on the receiving state of the sensing light beam, and send the sensing signal to the conversion circuit through the third communication module.
[0033] The embodiments of the present application can achieve the following technical effects: the embodiments of the present application use light curtain transmitting units and light curtain receiving units with different numbers of light curtain points in combination to be suitable for installation spaces and detection coverage areas of different sizes, thereby improving the applicability and flexibility of the photoelectric sensor circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application 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 any creative labor.
[0035] Figure 1 A principle block diagram of a photoelectric sensor circuit provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of a light curtain transmitting circuit and a light curtain receiving circuit of a photoelectric sensor circuit provided in an embodiment of the present application, respectively, being cascaded in parallel;
[0037] Figure 3 A schematic diagram of a light curtain transmitting circuit and a light curtain receiving circuit of a photoelectric sensor circuit provided in an embodiment of the present application respectively adopting serial cascade connection;
[0038] Figure 4 A first principle block diagram of a conversion circuit of a photoelectric sensor circuit provided in an embodiment of the present application;
[0039] Figure 5 A second principle block diagram of a conversion circuit of a photoelectric sensor circuit provided in an embodiment of the present application;
[0040] Figure 6 A principle block diagram of a light curtain transmitting circuit and a light curtain receiving circuit of a photoelectric sensor circuit provided in an embodiment of the present application.
[0041] The reference numerals are as shown in the following table:
[0042] 100 Photoelectric sensor circuit 222 Receiver cascade output interface 10 Light curtain transmitting circuit 223 The third communication module 12 Light curtain transmitting unit 224 Light curtain receiving module 121 Transmitter cascade input interface 225 The third main control module 122 Transmitter cascade output interface 30 Conversion circuit 123 Second communication module 31 Light Curtain Interface Module 124 Light curtain transmitter module 312 Transmitter interface 125 Second main control module 314 Receiver interface 20 Light curtain receiving circuit 32 First communication module 22 Light curtain receiving unit 33 The first main control module 221 Receiver cascade input interface 34 Level interface module 35 Power Module DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0044] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional module division is performed in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a sequence different from the module division in the device or the flow chart. Furthermore, the words "first", "second", "third", etc. used in this application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same functions and effects.
[0045] An embodiment of the present application provides a photoelectric sensor circuit, which can be applied to a variety of different application scenarios, including but not limited to object detection in industrial automation, pedestrian gate monitoring, etc. The embodiment of the present application takes the pedestrian gate as an example to explain the technical content of the utility model in detail.
[0046] See also Figures 1 to 3 In the embodiment of the present application, the photoelectric sensor circuit 100 includes a light curtain transmitting circuit 10, a light curtain receiving circuit 20 and a conversion circuit 30. The light curtain transmitting circuit 10 includes at least two cascaded light curtain transmitting units 12, and the at least two light curtain transmitting units 12 are respectively configured with different numbers of transmitting points. The light curtain receiving circuit 20 includes at least two cascaded light curtain receiving units 22, and the at least two light curtain transmitting units 12 are respectively configured with different numbers of receiving points. The light curtain receiving unit 22 is used to receive the sensing light beams emitted by the light curtain transmitting units 12 at the same level to form a sensing light curtain, and the light curtain receiving circuit 20 is used to generate a sensing signal based on the receiving state of the sensing light beam.
[0047] The conversion circuit 30 is connected to the light curtain transmitting circuit 10 and the light curtain receiving circuit 20 respectively, and is used to establish communication transmission between the light curtain transmitting circuit 10 and the light curtain receiving circuit 20, obtain the sensing signal, and convert the sensing signal into an output signal.
[0048] The photoelectric sensor circuit 100 provided in the embodiment of the present application can independently constitute a light curtain sensor system or be a part of a light curtain sensor system. It generates a sensing signal in response to the state of the sensing light beam by emitting and receiving the sensing light beam, and generates an output signal based on the sensing signal.
[0049] The working principle of the photoelectric sensor circuit 100 of the embodiment of the present application is: the light curtain transmitting circuit 10 is provided with a light curtain transmitting unit 12 that can emit a plurality of sensing light beams, the light curtain receiving circuit 20 is used in conjunction with the light curtain transmitting circuit 10, and the light curtain receiving circuit 20 is provided with a light curtain receiving unit 22 for receiving the sensing light beams to form a sensing light curtain, and the light curtain receiving circuit 20 also generates different sensing signals when the sensing light curtain is blocked and when it is not blocked.
[0050] Among them, between the light curtain emitting units 12 and the light curtain receiving units 22 at the same level, the light curtain receiving units 22 are used to receive the sensing light beam emitted by the light curtain emitting units 12. The light curtain emitting units 12 and the light curtain receiving units 22 are connected in a cascade manner, and the system can form a dense light curtain network. In addition, the number of light beam emitting points between different light curtain emitting units 12 is different, and the number of light beam receiving points between different light curtain receiving units 22 is different. Units with different numbers of light beam points are matched and combined. On the one hand, the matching and combination can be adjusted according to the size of the installation space, and on the other hand, it can also meet the requirements of detection coverage, so as to be suitable for installation spaces and detection coverage of different sizes.
[0051] The conversion circuit 30 is respectively connected to the light curtain transmitting circuit 10 and the light curtain receiving circuit 20, so that a communication connection is established between the light curtain transmitting circuit 10 and the light curtain receiving circuit 20, and the sensing signal is converted. For example, in a pedestrian access gate, the sensing light curtain is arranged in front of the pedestrian access gate. When the sensing light curtain is not blocked, the light curtain receiving circuit 20 generates a corresponding sensing signal according to the state of the sensing light beam. Based on the sensing signal, the conversion circuit 30 generates an output signal that can be used to feedback the state of the light curtain or indicate that the gate is closed, so as to control the gate to be closed. When a pedestrian is in front of the gate, the sensing light curtain will be blocked. The light curtain receiving circuit 20 generates a corresponding sensing signal according to the state of the sensing light beam, and the conversion circuit 30 generates an output signal that can feedback the state of the light curtain or indicate that the gate is open based on the sensing signal.
[0052] It can be understood that the embodiment of the present application combines the light curtain transmitting units 12 and the light curtain receiving units 22 with different numbers of light curtain points to be suitable for installation spaces and detection coverage areas of different sizes, thereby improving the applicability and flexibility of the photoelectric sensor circuit 100.
[0053] In one embodiment, the output signal includes a communication output signal and a level output signal. The conversion circuit 30 converts the sensing signal into the signal form of the communication output signal and the level output signal respectively to be applicable to different external devices. In one embodiment, the external device can determine the state of the light curtain or perform a corresponding operation according to at least one of the communication output signal and the level output signal.
[0054] For example, the external device is a relay that controls the gate switch, and controls the opening and closing of the gate according to the received level output signal. The conversion circuit 30 can also be connected to the host computer of other systems, and send the communication output signal to the host computer. The host computer can obtain the state of at least one of the sensing light curtain and the device to be controlled through the communication output signal, for example, determine whether the sensing light curtain is blocked, whether the pedestrian passage gate performs the door opening action, etc., so as to realize the monitoring of the photoelectric sensor circuit 100 and the execution device.
[0055] In the photoelectric sensor circuit 100 of the embodiment of the present application, the conversion circuit 30 can generate different types of output signals according to the sensing signal. Compared with the traditional photoelectric sensor system, it has higher scalability and can be applied to more application scenarios.
[0056] Exemplarily, this embodiment adopts a 6-level combined light curtain of "8+4+4+8+4+4", wherein in the first-level light curtain, the light curtain emitting unit 12 and the light curtain receiving unit 22 both adopt 8 beam points; in the second-level light curtain, the light curtain emitting unit 12 and the light curtain receiving unit 22 adopt 4 beam points, and so on. Preferably, in this embodiment, the sensing light beam of the sensing light curtain adopts infrared light, and in other embodiments, sensing light beams of other wavelengths or a combination of sensing light beams of other wavelengths may be adopted.
[0057] See also Figure 2 In one embodiment, at least two light curtain transmitting units 12 are cascaded in parallel and are respectively connected to the conversion circuit 30. At least two light curtain receiving units 22 are cascaded in parallel and are respectively connected to the conversion circuit 30.
[0058] Exemplarily, at least two light curtain emitting units 12 and at least two light curtain receiving units 22 are configured in parallel working mode. This means that each light curtain emitting unit 12 will independently emit a sensing light beam, and the corresponding light curtain receiving unit 22 will independently receive a light beam from the light curtain emitting unit 12 of the same level. In order to achieve parallel cascading, each light curtain emitting unit 12 and light curtain receiving unit 22 will be directly connected to the conversion circuit 30. The conversion circuit 30 will receive and analyze the signals from each light curtain emitting unit 12 and each light curtain receiving unit 22. For example, the conversion circuit 30 respectively obtains and analyzes each sensing signal sent by each light curtain receiving unit 22, and converts at least one sensing signal into a corresponding output signal.
[0059] See also Figure 3 In another embodiment, at least two light curtain transmitting units 12 are serially cascaded, and the light curtain transmitting unit 12 at the first stage is connected to the conversion circuit 30. At least two light curtain receiving units 22 are serially cascaded, and the light curtain receiving unit 22 at the first stage is connected to the conversion circuit 30.
[0060] Exemplarily, each light curtain transmitting unit 12 is cascaded in sequence to share a communication link, each light curtain receiving unit 22 is cascaded in sequence to share another communication link, and the two communication links are linked through the conversion circuit 30 to form a communication bus, and the communication bus is relied on to realize the communication between the light curtain transmitting circuit 10, the light curtain receiving circuit 20, and the conversion circuit 30. It can be understood that the photoelectric sensor circuit 100 adopts a serial cascade connection mode, and the signal is transmitted from the current unit to the next level unit, thereby realizing the connection of multiple units without each unit being directly connected to the conversion circuit 30, which is beneficial to the photoelectric sensor circuit 100 to save wires and simplify installation.
[0061] See also Figure 4 In some embodiments, the conversion circuit 30 includes a light curtain interface module 31 , a first communication module 32 , a first main control module 33 and a level interface module 34 .
[0062] The light curtain interface module 31 is respectively connected to the light curtain transmitting circuit 10 and the light curtain receiving circuit 20, and is used to establish communication transmission between the light curtain transmitting circuit 10 and the light curtain receiving circuit 20, and obtain the sensing signal. The first communication module 32 is connected to the light curtain interface module 31. The first main control module 33 is respectively connected to the first communication module 32 and the level interface module 34, and is used to control the first communication module 32 to parse the sensing signal, and based on the parsed sensing signal, respectively control the first communication module 32 to generate a communication output signal and control the level interface module 34 to generate a level output signal.
[0063] In the conversion circuit 30 of this embodiment, the light curtain interface module 31 not only realizes the communication connection between the light curtain transmitting circuit 10 and the light curtain receiving circuit 20, but also receives the sensing signal. The first main control module 33 controls the first communication module 32 to parse the sensing signal to obtain the parsed sensing signal, and converts the parsed sensing signal into a communication output signal through the first communication module 32, and converts the parsed sensing signal into a level output signal through the level interface module 34, so as to realize communication interaction with other systems, thereby improving the expansion capability of the overall sensing system.
[0064] In some embodiments, the light curtain interface module 31 includes a transmitter interface 312 and a receiver interface 314, the transmitter interface 312 is connected to the light curtain transmitting circuit 10, and the receiver interface 314 is connected to the light curtain receiving circuit 20. When the light curtain transmitting circuit 10 and the light curtain receiving circuit 20 are both cascaded in parallel, the receiver interface 314 and the transmitter interface 312 are respectively connected to the first communication module 32, so as to communicate with the first main control module 33; when the light curtain transmitting circuit 10 and the light curtain receiving circuit 20 are both cascaded in serial, the transmitter interface 312 is connected to the receiver interface 314, and one of the transmitter interface 312 and the receiver interface 314 is connected to the first communication module 32 to achieve communication with the first main control module 33.
[0065] In some embodiments, the first communication module 32 includes an RS485 communication unit, which is connected to the first main control module 33 , is controlled by the first main control module 33 , and is used to generate a communication output signal in the form of an RS485 signal.
[0066] It can be understood that the conversion circuit 30 of this embodiment sends a communication output signal to other systems in the form of RS485 signals to a host computer applicable to the RS485 communication protocol. In one embodiment, the light curtain transmitting circuit 10 and the light curtain receiving circuit 20 both use the RS485 communication protocol for signal transmission, that is, the light curtain receiving circuit 20 sends the sensing signal in the form of RS485 signals, and the first communication module 32 receives the sensing signal and directly outputs it or re-converts it and outputs it. Among them, the RS485 communication unit can use an existing communication unit or an existing integrated circuit with corresponding functions.
[0067] In other embodiments, the first communication module 32 may also include at least one of an SPI (Serial Peripheral Interface) communication unit and a CAN (Controller Area Network) communication unit, and be controlled by the main control module to generate a corresponding communication output signal. The settings of the relevant circuits and systems involved may refer to the relevant existing technologies and are not limited here.
[0068] In some embodiments, the level interface module 34 includes a PNP interface unit, which is controlled by the first main control module 33 and is used to generate a level output signal in the form of a PNP signal.
[0069] In some other embodiments, the level interface module 34 may further include an NPN interface unit, which is controlled by the first main control module 33 and is used to generate a level output signal in the form of an NPN signal.
[0070] It can be understood that PNP signal and NPN signal are two types of output signals. They are two basic transistor configuration forms used in digital logic circuits to produce different logic level outputs.
[0071] In the PNP configuration, when the device to be controlled requires a high level to be activated, the first main control module 33 will control the PNP transistor in the level interface module 34 to be turned on, causing the output end to present a high level relative to the ground. It is often used to output to a system that requires a positive logic level. For example, when the light curtain is blocked, the first main control module 33 controls the level interface module 34 to output a high level signal.
[0072] Correspondingly, in the NPN configuration, when the device to be controlled requires a first low level activation, the first main control module 33 turns on the NPN transistor in the level interface module 34, causing the output terminal to present a low level relative to the ground, which is often used to output to a system that requires a negative logic level. For example, when the light curtain is blocked, the first main control module 33 controls the level interface module 34 to output a low level signal.
[0073] For example, in this embodiment, the first main control module 33 receives the sensing signal through the first communication module 32, analyzes it, and then generates a level output signal based on the analyzed sensing signal using the PNP interface unit. For example, the level output signal can trigger the access control system, alarm system or other system of the pedestrian passage gate.
[0074] In some embodiments, the PNP interface unit of the level interface module 34 includes a light curtain PNP interface unit and a system PNP interface unit, and the light curtain PNP interface unit corresponds to the light curtain receiving unit 22 one by one, and outputs a corresponding level output signal based on the sensing signal sent by the corresponding light curtain receiving unit 22. The system PNP interface unit is a system PNP interface unit that outputs based on the state of the entire photoelectric sensing system. Further, the sensing signal includes address information recording the source of the sensing signal, and the address information is the address of the light curtain receiving unit 22. The first main control module 33 analyzes the sensing signal through the first communication module 32, determines the light curtain receiving unit 22 that sends the sensing signal, and controls the corresponding light curtain PNP interface unit to output the corresponding level output signal. For example, when the first-level sensing light curtain is blocked, the first-level light curtain receiving unit 22 sends a sensing signal, and the first main control module 33 controls the first group of light curtain PNP interface units to output a level output signal according to the sensing signal.
[0075] It can be understood that, through the above-mentioned configuration, this embodiment improves the sensing capability of the photoelectric sensor circuit 100 to various areas within the detection coverage area, and can make more specific and comprehensive signal outputs for more detection sensing situations to meet the monitoring requirements of the sensor system.
[0076] See also Figure 5 In some embodiments, the conversion circuit 30 further includes a power module 35, which is connected to the light curtain interface module 31 and the first main control module 33, respectively, and is used to obtain an external power supply and convert it into a working current that meets the working requirements of the light curtain transmitting circuit 10, the light curtain receiving circuit 20 and the conversion circuit 30. The light curtain interface module 31 is also used to output the working current to the light curtain transmitting circuit 10 and the light curtain receiving circuit 20, respectively.
[0077] It can be understood that the conversion circuit 30 of this embodiment obtains external power supply through the power module 35 to realize its own power supply, and at the same time, converts the power supply into a working current for powering the light curtain transmitting module 124 and the light curtain receiving module 224 to ensure that the sensor system can work stably. Among them, the power module 35 can adopt an existing power module, and the power module 35 can include various functional units such as an existing voltage conversion unit and a voltage stabilizing unit, which are not limited here.
[0078] In some embodiments, the connection cable between the conversion circuit 30 and any one of the light curtain transmitting circuit 10 and the light curtain receiving circuit 20 integrates the power line, RS485 signal line, and clock synchronization signal line, so that the light curtain sensing system has the necessary communication and signal synchronization functions.
[0079] See also Figure 6 In some embodiments, the light curtain transmitting units 12 are serially cascaded, and the light curtain transmitting units 12 include a transmitting end cascade input interface 121, a transmitting end cascade output interface 122, a second communication module 123, a light curtain transmitting module 124 and a second main control module 125.
[0080] The transmitting end cascade output interface 122 is connected to the transmitting end cascade input interface 121 of the next-level light curtain transmitting unit 12, and the transmitting end cascade input interface 121 is connected to the transmitting end cascade output interface 122 of the previous-level light curtain transmitting unit 12, wherein the transmitting end cascade input interface 121 of the first-level light curtain transmitting unit 12 is connected to the conversion circuit 30. Exemplarily, the transmitting end cascade input interface 121 of the first-level light curtain transmitting unit 12 is connected to the transmitting end interface 312 of the conversion circuit 30.
[0081] The second communication module 123 is connected to the transmitting end cascade output interface 122. Exemplarily, the light curtain transmitting module 124 adopts an existing infrared transmitting module. The second main control module 125 is connected to the light curtain transmitting module 124 and the second communication module 123, respectively, and is used to control the light curtain transmitting module 124 to transmit the sensing light beam, and communicate and transmit with at least one of the conversion circuit 30, the light curtain receiving circuit 20 and other light curtain transmitting units 12 through the second communication module 123.
[0082] In this embodiment, the second main control module 125 of each light curtain emitting unit 12 controls the light curtain emitting module 124 to emit a sensing light beam, and each light curtain emitting unit 12 can communicate with the conversion circuit 30 and the light curtain receiving circuit 20 through a shared communication link.
[0083] Correspondingly, the light curtain receiving unit 22 includes a receiving end cascade input interface 221 , a receiving end cascade output interface 222 , a third communication module 223 , a light curtain receiving module 224 and a third main control module 225 .
[0084] The receiving end cascade output interface 222 is connected to the receiving end cascade input interface 221 of the next-stage light curtain receiving unit 22, and the receiving end cascade output interface 222 is connected to the receiving end cascade output interface 222 of the next-stage light curtain receiving unit 22, wherein the receiving end cascade input interface 221 of the first-stage light curtain receiving unit 22 is connected to the conversion circuit 30. Exemplarily, the receiving end cascade input interface 221 of the first-stage light curtain receiving unit 22 is connected to the receiving end interface 314 of the conversion circuit 30.
[0085] The third communication module 223 is connected to the receiving end cascade output interface 222. Exemplarily, the light curtain receiving module 224 adopts an existing infrared receiving module. The third main control module 225 is connected to the light curtain receiving module 224 and the third communication module 223, respectively, and is used to control the light curtain receiving module 224 to receive the sensing light beam, and generate a sensing signal based on the receiving state of the sensing light beam, and send the sensing signal to the conversion circuit 30 through the third communication module 223, and can also be used to communicate and transmit with the light curtain transmitting circuit 10 and the remaining light curtain receiving units 22 through the third communication module 223.
[0086] It is understandable that the light curtain transmitting unit 12 needs to transmit the sensing light beams in a specific order, and the light curtain receiving unit 22 needs to accurately receive these sensing light beams. When the light curtain transmitting module 124 on the light curtain transmitting unit 12 transmits the sensing light beams, the second main control module 125 generates a synchronization signal, and this synchronization signal is transmitted to the light curtain receiving unit 22 in a cascade manner. After receiving the synchronization signal, the third main control module 225 of the light curtain receiving unit 22 triggers the light curtain receiving module 224 to start detecting the corresponding sensing light beam state according to a predetermined timing to maintain the synchronous operation of the entire sensing system.
[0087] In some embodiments, the second communication module 123 and the third communication module 223 both use existing RS485 communication modules. In other embodiments, the second communication module 123 and the third communication module 223 communicate and transmit based on at least one of the SPI communication protocol and the CAN communication protocol, and the settings of the related circuits and systems involved can refer to the relevant prior art, which is not limited here.
[0088] In the embodiment of the present application, any one of the first main control module 33, the second main control module 125 and the third main control module 225 is a processor with corresponding functions, and the processor is configured to support the corresponding functions in the above embodiments. The processor can be a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof. The above hardware chip can be an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above PLD can be a complex programmable logic device (CPLD), a field programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0089] In one embodiment, at least one of the first main control module 33 , the second main control module 125 , and the third main control module 225 uses a Cortex-M0 or higher performance processor.
[0090] It should be noted that what is disclosed above is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.
Claims
1. A photoelectric sensor circuit, characterized in that: include: A light curtain transmitting circuit, wherein the light curtain transmitting circuit comprises at least two cascaded light curtain transmitting units, and at least two of the light curtain transmitting units are respectively configured with different numbers of transmitting points; A light curtain receiving circuit, the light curtain receiving circuit comprising at least two cascaded light curtain receiving units, at least two of the light curtain transmitting units being respectively configured with different numbers of receiving points, the light curtain receiving units being used to receive sensing light beams emitted by the light curtain transmitting units at the same level to form a sensing light curtain, and the light curtain receiving circuit being used to generate sensing signals based on the receiving state of the sensing light beams; as well as A conversion circuit, wherein the conversion circuit is respectively connected to the light curtain transmitting circuit and the light curtain receiving circuit, and is used to establish communication transmission between the light curtain transmitting circuit and the light curtain receiving circuit, obtain the sensing signal, and convert the sensing signal into an output signal.
2. The photoelectric sensor circuit according to claim 1, characterized in that: The at least two light curtain emitting units are serially cascaded, and the light curtain emitting unit at the first stage is connected to the conversion circuit; The at least two light curtain receiving units are serially cascaded, and the light curtain receiving unit at the first stage is connected to the conversion circuit.
3. The photoelectric sensor circuit according to claim 1, characterized in that: The at least two light curtain emission units are cascaded in parallel and are respectively connected to the conversion circuit; The at least two light curtain receiving units are cascaded in parallel and are respectively connected to the conversion circuit.
4. The photoelectric sensor circuit according to claim 1, characterized in that: The conversion circuit comprises: A light curtain interface module, the light curtain interface module is connected to the light curtain transmitting circuit and the light curtain receiving circuit respectively, and is used to establish communication transmission between the light curtain transmitting circuit and the light curtain receiving circuit, and obtain the sensing signal; A first communication module, wherein the first communication module is connected to the light curtain interface module; A level interface module; and A first main control module, wherein the first main control module is respectively connected to the first communication module and the level interface module, and is used to control the first communication module to parse the sensing signal, and based on the parsed sensing signal, respectively control the first communication module to generate a communication output signal and control the level interface module to generate the level output signal.
5. The photoelectric sensor circuit according to claim 4, characterized in that: The first communication module includes an RS485 communication unit, the RS485 communication unit is connected to the first main control module, the RS485 communication unit is controlled by the first main control module, and is used to generate the communication output signal in the form of an RS485 signal.
6. The photoelectric sensor circuit according to claim 4, characterized in that: The level interface module includes a PNP interface unit, which is controlled by the first main control module and is used to generate the level output signal in the form of a PNP signal.
7. The photoelectric sensor circuit according to claim 4, characterized in that: The conversion circuit also includes a power supply module, which is connected to the light curtain interface module and the first main control module respectively, and is used to obtain an external power supply and convert it into a working current that meets the working requirements of the light curtain transmitting circuit, the light curtain receiving circuit and the conversion circuit respectively; The light curtain interface module is also used to output the operating current to the light curtain transmitting circuit and the light curtain receiving circuit respectively.
8. The photoelectric sensor circuit according to claim 2, characterized in that: The light curtain emitting unit comprises: Transmitter cascade input interface; A transmitting end cascade output interface, wherein the transmitting end cascade output interface is connected to the transmitting end cascade input interface of the light curtain transmitting unit of the next stage, and the transmitting end cascade input interface is connected to the transmitting end cascade output interface of the light curtain transmitting unit of the previous stage, wherein the transmitting end cascade input interface of the light curtain transmitting unit of the first stage is connected to the conversion circuit; A second communication module, the second communication module is connected to the transmitting end cascade output interface; Light curtain transmitter module; and A second main control module, wherein the second main control module is respectively connected to the light curtain transmitting module and the second communication module, and is used to control the light curtain transmitting module to transmit the sensing light beam, and to communicate and transmit with the conversion circuit, the light curtain receiving circuit and at least one of the remaining light curtain transmitting units through the second communication module.
9. The photoelectric sensor circuit according to claim 2, characterized in that: The light curtain receiving unit comprises: Receiver cascade input interface; A receiving end cascade output interface, wherein the receiving end cascade output interface is connected to the receiving end cascade input interface of the light curtain receiving unit of the next stage, and the receiving end cascade output interface is connected to the receiving end cascade output interface of the light curtain receiving unit of the next stage, wherein the receiving end cascade input interface of the light curtain receiving unit of the first stage is connected to the conversion circuit; A third communication module, the third communication module is connected to the receiving end cascade output interface; Light curtain receiver module; and A third main control module, wherein the third main control module is respectively connected to the light curtain receiving module and the third communication module, and is used to control the light curtain receiving module to receive the sensing light beam, generate the sensing signal based on the receiving state of the sensing light beam, and send the sensing signal to the conversion circuit through the third communication module.