Photoelectric Sensors
By designing independent emitters and receivers, and using power line switching and monitoring circuits to detect photoelectric sensor abnormalities, the problem of difficulty in achieving cost advantages and abnormality detection under a single connection is solved, and efficient abnormality detection is achieved.
Patent Information
- Application Number
- CN202110685483.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2017-02-10
- Filing Date
- 2017-11-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2037-11-16
AI Technical Summary
When connecting transmission photoelectric sensors individually, it is difficult to achieve cost advantages and simple abnormality detection.
A photoelectric sensor with independent emitter and light receiver is designed. Through the light-emitting part, power circuit, switching element and detection circuit, the switching of the power line and the monitoring circuit are used to detect the intensity of light to achieve abnormal detection.
The anomaly detection of the transmission photoelectric sensor under a simple structure is realized, and the detection accuracy and cost-effectiveness are improved.
Smart Images

Figure CN113406718B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with application number 201780085390.9 (International application number: PCT / JP2017 / 041301, application date: November 16, 2017, invention name: photoelectric sensor and projector). Technical Field
[0002] The present invention relates to a transmission type photoelectric sensor and a light projector constituting the photoelectric sensor. Background Art
[0003] As an example of a sensor for detecting the presence and intrusion of an object, a photoelectric sensor is known. A photoelectric sensor irradiates light from a light-emitting part, and a light-receiving part detects a change in the irradiated light due to a detection medium. Photoelectric sensors are roughly divided into transmission type, reflection type, distance setting type, etc. Among them, for reflection type and distance setting type photoelectric sensors, the light-emitting part and the light-receiving part are arranged at approximately the same position, while for transmission type photoelectric sensors, the light-emitting part and the light-receiving part are arranged in a separated state.
[0004] Various sensors including photoelectric sensors are key devices for realizing FA (Factory Automation). The actions of various devices and / or equipment are controlled based on the detection results of various sensors. On the other hand, various sensors sometimes produce certain malfunctions. In such cases, it is necessary to detect the occurrence of such malfunctions.
[0005] For example, Japanese Patent Publication No. 2009-098735 (Patent Document 1) discloses a sensor system, which is formed by connecting a plurality of transmission-type photoelectric sensors to a PLC via a slave device, wherein a sensor abnormality diagnosis method using a light-projection light quantity switching is implemented, which reduces the burden of a user program on the PLC side and enables real-time photoelectric sensor abnormality detection. More specifically, a sensor abnormality diagnosis unit installed in a slave device of the PLC disclosed in Patent Document 1 switches the light-projection light quantity, etc., and detects abnormality of the photoelectric sensor based on the relationship between the light-receiving light quantity at this time.
[0006] Prior art literature
[0007] Patent Literature
[0008] Patent Document 1: Japanese Patent Application Publication No. 2009-098735 Summary of the invention
[0009] Problems to be solved by the invention
[0010] In the structure disclosed in the above-mentioned patent document 1, it is necessary to install a sensor abnormality diagnosis unit in the slave device of the PLC. Although it is preferred to connect multiple transmissive photoelectric sensors via a single slave device, it is difficult to obtain cost advantages when connecting the transmissive photoelectric sensors in a single manner.
[0011] An object of the present invention is to realize a structure capable of detecting abnormality with a simple structure in a transmission type photoelectric sensor.
[0012] Means for solving problems
[0013] According to one aspect of the present invention, there is provided a photoelectric sensor having a light projector and a light receiver that are independent of each other. The light projector includes: a light emitting unit that generates a projection beam; and a power supply circuit that receives power supply via a first power supply line connected to the outside of the light projector and supplies the required power to the light emitting unit. The light receiver includes: a first switching element that is connected to a second power supply line connected to the outside of the light receiver and is used to output a first output signal; a second switching element that is connected to the second power supply line and is used to output a second output signal; and a detection circuit that switches the conduction state of each of the first switching element and the second switching element according to the intensity of the detected light. A third power supply line is provided, one end of which is electrically connected to the first power supply line inside the light projector, and the other end of which is electrically connected to the second power supply line outside the light receiver.
[0014] Preferably, the light projector further includes: a third switching element disposed between one end of the third power line and the first power line; and a monitoring circuit that controls a conduction state of the third switching element.
[0015] More preferably, the monitoring circuit operates by receiving power supplied via the first power line.
[0016] More preferably, the light projector further includes a detector that monitors a state of the projection beam irradiated from the light emitting unit, and the monitoring circuit maintains the third switching element in an on state when the projection beam is irradiated in a predetermined state.
[0017] Preferably, the photoelectric sensor further includes a connection portion that receives power from an external power source and outputs a first output signal and a second output signal. The first power line extends from the light projector to the connection portion, and the second power line extends from the light receiver to the connection portion.
[0018] According to another aspect of the present invention, a light projector is provided, which is combined with a light receiver that is independently constructed to form a photoelectric sensor. The light projector includes: a light emitting unit that generates a projection beam; and a power supply circuit that receives power supply via a first power line connected to the outside of the light projector and supplies the required power to the light emitting unit. The light receiver includes: a first switching element that is connected to a second power line connected to the outside of the light receiver and is used to output a first output signal; a second switching element that is connected to the second power line and is used to output a second output signal; and a detection circuit that switches the conduction state of each of the first switching element and the second switching element according to the intensity of the detected light. A third power line is provided, one end of which is electrically connected to the first power line inside the light projector, and the other end of which is electrically connected to the second power line outside the light receiver.
[0019] According to another aspect of the present invention, a photoelectric sensor is provided, which includes a light projector and a light receiver that are independent of each other, wherein the light projector includes: a light emitting unit that generates a projection beam; and a power supply circuit that receives power supply via a first power line connected to the outside of the light projector and supplies required power to the light emitting unit, one end of a third power line is connected between the power supply circuit and the first power line, and the light receiver includes: a first switching element that is connected to the other end of the third power line and is used to output a first output signal; a second switching element that is connected to the other end of the third power line and is used to output a second output signal; and a detection circuit that switches the conduction state of the first switching element and the second switching element according to the intensity of the detected light.
[0020] Effects of the Invention
[0021] According to the present invention, a transmission type photoelectric sensor capable of detecting abnormality with a simple structure can be realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 1 is a schematic diagram showing a state in which the transmission type photosensor according to the present embodiment is arranged.
[0023] Figure 2 It is a schematic diagram showing the structure of the transmission type photosensor according to the present embodiment.
[0024] Figure 3 1 is a schematic diagram showing an example of a wiring structure of a photoelectric sensor according to a related art of the present invention.
[0025] Figure 4 This is a diagram showing changes in an output signal when a line break occurs in a photoelectric sensor according to a related art of the present invention.
[0026] Figure 5It is a schematic diagram showing an example of the wiring structure of the photoelectric sensor of the present embodiment.
[0027] Figure 6 It is a diagram showing the change in the output signal when a disconnection occurs in the photoelectric sensor of the present embodiment.
[0028] Figure 7 It is a schematic diagram showing an example of the wiring structure of the photoelectric sensor of Modification 1 of the present embodiment.
[0029] Figure 8 It is a schematic diagram showing an example of the wiring structure of the photoelectric sensor of Modification 2 of the present embodiment. Detailed Embodiment
[0030] The embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, the same or corresponding parts in the drawings are denoted by the same reference numerals and will not be described repeatedly.
[0031] <A. Application Example of Photoelectric Sensor>
[0032] First, an application example of the transmissive photoelectric sensor 1 of the present embodiment will be described.
[0033] Figure 1 It is a schematic diagram showing the state of arranging the transmissive photoelectric sensor 1 of the present embodiment. Figure 1 An example of detecting the workpiece 12 conveyed on the conveyor 10 is shown. More specifically, the photoelectric sensor 1 includes a light emitter 2, a light receiver 4, and a controller 6. In addition, the light emitter 2 and the light receiver 4 other than the controller 6 are sometimes referred to as "photoelectric sensors". The light emitter 2 and the light receiver 4 are configured independently of each other, and the light receiver 4 receives the light beam 8 irradiated from the light emitter 2. That is, the light emitter 2 and the light receiver 4 are each composed of a different housing.
[0034] The workpiece 12 shields the light from the light emitter 2, whereby the light receiving state (detected light amount) of the light receiver 4 changes, and it is possible to detect the presence or absence of the workpiece 12 based on this change.
[0035] Regarding the controller 6, as will be described later, an instruction for controlling the timing and irradiation state of irradiating the light beam 8 from the light emitter 2 can also be given from the controller 6.
[0036] <B. Structure of Photoelectric Sensor>
[0037] Next, the structure of the transmissive photoelectric sensor 1 of the present embodiment will be described. Figure 2 It is a schematic diagram showing the structure of the transmissive photoelectric sensor 1 of the present embodiment.
[0038] Refer to Figure 2, the light projector 2 of the photoelectric sensor 1 includes a light emitting part 22 and a power supply circuit 24. The power supply circuit 24 receives the power supplied from an external power supply and supplies the power required for a specified voltage to the light emitting part 22. The light emitting part 22 is composed of a light emitting element such as an LED (Light Emitting Diode) and a lens, etc., and generates a light projection beam 8 that irradiates the detection medium.
[0039] The light receiver 4 of the photoelectric sensor 1 includes a light receiving part 42, a detection circuit 44, and a signal output circuit 46. The light receiving part 42 is composed of a light receiving element such as a photodiode, and when the light projection beam 8 from the light projector 2 is incident, it outputs a signal corresponding to the intensity of the incident light projection beam 8. The detection circuit 44 outputs a signal corresponding to the light incident state / light blocking state according to the signal from the light receiving part 42. The signal output circuit 46 outputs a detection signal to a controller 6 ( Figure 1 ) etc. according to the signal from the light receiving part 42.
[0040] <C. Wiring Structure and Problems Arising in this Wiring Structure>
[0041] Next, the wiring structure of the photoelectric sensor 101 of the related art of the present invention will be described, and the problems arising from this wiring structure will be described.
[0042] Figure 3 is a schematic diagram showing an example of the wiring structure of the photoelectric sensor 101 of the related art of the present invention. Refer to Figure 3 , the photoelectric sensor 101 of the related art of the present invention includes a light projector 102 and a light receiver 104, and power is supplied and signals are output via a connection part 130. That is, the connection part 130 is input with power from an external power supply, and output signals OUT1 and OUT2 (the first and second output signals) are output from the connection part 130.
[0043] The light emitting part 22 of the light projector 102 is substantially the same as the light emitting part 22 of the light projector 2 of the photoelectric sensor 1, and the light receiving part 42, the detection circuit 44, and the signal output circuit 46 of the light receiver 104 are substantially the same as the light receiving part 42, the detection circuit 44, and the signal output circuit 46 of the light receiver 4. On the other hand, the power supply circuit 124 of the light projector 102 receives the power supplied from an external power supply and supplies the power of a specified voltage to the light emitting part 22.
[0044] Both the photoelectric sensor 101 of the related art of the present invention and the photoelectric sensor 1 of the present embodiment (detailed content will be described later) output two signals as detection signals. By using such two signals, it is possible to detect possible malfunctions in the light receiver 104 and the light receiver 4. The detection method for this malfunction will be described in detail later.
[0045] Regarding the wiring structure of the projector 102, the power supply potential VCC provided to the connecting part 130 is connected to one end of the power supply circuit 124 of the projector 102 via the power supply line 131, and the ground potential GND provided to the connecting part 130 is connected to the other end of the power supply circuit 124 of the projector 102 via the ground line 132.
[0046] Regarding the wiring structure of the photoreceiver 104, the power supply potential VCC provided to the connecting part 130 is connected to one end of the signal output circuit 46 of the photoreceiver 104 via the power supply line 133, and the ground potential GND provided to the connecting part 130 is connected to the other end of the signal output circuit 46 of the photoreceiver 104 via the ground line 134.
[0047] Although not shown, the power supplied from the power supply line 133 and the ground line 134 may be supplied to the detection circuit 44. In this case, the power supply line 133 and the ground line 134 are also connected to a power supply circuit not shown.
[0048] The transistor 462 and the transistor 466 are connected in parallel to the power supply potential VCC supplied to the signal output circuit 46 .
[0049] One end of the transistor 462 is connected to the first signal line 135. The potential appearing on the first signal line 135 becomes the output signal OUT1. That is, the transistor 462 is connected to the power line 133 (second power line) connected to the outside of the photoreceiver 104 and corresponds to a first switching element for outputting the output signal OUT1 (first output signal).
[0050] Similarly, one end of the transistor 466 is connected to the second signal line 136. The potential appearing on the second signal line 136 becomes the output signal OUT2. That is, the transistor 466 is connected to the power line 133 (second power line) connected to the outside of the optical receiver 104 and corresponds to a second switching element for outputting the output signal OUT2 (second output signal).
[0051] In the photoelectric sensor 1 according to the present embodiment, an example is shown in which mutually inverted values are output as two output signals corresponding to the intensity of light. That is, two mutually inverted signals are output as detection signals.
[0052] The gate of transistor 462 is connected to drive line 442 from detection circuit 44, and the gate of transistor 466 is input to drive line 446 connected to drive line 442 via inverter circuit 444. Detection circuit 44 drives drive line 442 based on the detection signal from light receiving unit 42. Since drive line 446 is connected to the output of inverter circuit 444 input to drive line 442, drive line 442 and drive line 446 are driven complementarily to each other. As an example, if a specified amount of light is detected in light receiving unit 42, drive line 442 is activated, and on the other hand, drive line 446 is inactivated. On the contrary, if a specified amount of light is not detected in light receiving unit 42, drive line 442 is inactivated, and on the other hand, drive line 446 is activated. In this way, the drive line on one side is activated, and the drive line on the other side is inactivated. That is, the detection circuit 44 switches the transistor 462 (first switching element) and the transistor 466 (second switching element) to different conduction states according to the intensity of the detected light.
[0053] In this way, the detection circuit 44 switches the conduction state of each of the transistor 462 (first switching element) and the transistor 466 (second switching element) according to the intensity of the detected light.
[0054] By adopting such an output logic, for example, when the light receiving unit 42 detects a predetermined amount of received light, the output signal OUT1 is set to Hi (active state / high potential), and the output signal OUT2 is set to Low (inactive state / low potential). Conversely, when the light receiving unit 42 does not detect a predetermined amount of received light, the output signal OUT1 is set to Low, and the output signal OUT2 is set to Hi.
[0055] In addition, the relationship between the output signal OUT1 and the output signal OUT2 and the amount of light received may be reversed. That is, when the light receiving unit 42 detects a predetermined amount of light received, the output signal OUT1 is set to Low (inactive state / low potential), and the output signal OUT2 is set to Hi (active state / high potential).
[0056] In controller 6 (refer to Figure 1 ), the presence or absence of an abnormality can be detected based on the combination of the values of the output signal OUT1 and the output signal OUT2.
[0057] The projector 102 and the light receiver 104 may be connected via a terminal provided in the connection portion 130. A structure in which a plurality of cables are connected may be used as a cable connecting the connection portion 130 and the projector 102 and / or a cable connecting the connection portion 130 and the light receiver 104. In such a case, a cable and the connection portion 130, cables, or a cable and the projector 102 or the light receiver 104 may be connected via an arbitrary connector.
[0058] In such a wiring structure, there is a possibility that the wires connecting the connection part 130 and the light projector 102 or the light receiver 104 may be disconnected. In particular, the longer the distance from the connection part 130 is, the greater the possibility of disconnection.
[0059] right Figure 3 The disconnection detection function in the photoelectric sensor 101 shown will be described. Figure 4 1 is a diagram showing changes in an output signal when a line break occurs in the photoelectric sensor 101 of the related art of the present invention. Figure 4 In the figure, except for the normal state where no disconnection occurs, the output results of the output signal OUT1 and the output signal OUT2 are respectively shown for the case where there is no detection medium (light incident state) and the case where there is a detection medium (light shielding state) for (A) the power line 133 of the light receiver 104 is disconnected, (B) the ground line 134 of the light receiver 104 is disconnected, (C) the first signal line 135 is disconnected, (D) the second signal line 136 is disconnected, (E) the power line 131 of the projector 102 is disconnected, and (F) the ground line 132 of the projector 102 is disconnected.
[0060] In a normal state without any disconnection, when there is no detection medium (light-incoming state: no detection medium), the output signal OUT1 is high (Hi) and the output signal OUT2 is low (Low). On the other hand, when there is a detection medium (light-shielded state: there is a detection medium), the output signal OUT1 is low (Low) and the output signal OUT2 is high (Hi). Whether there is a detection medium is determined based on these output signals.
[0061] (A) When the power line 133 of the light receiver 104 is disconnected, since the power for outputting the output signal OUT1 and the output signal OUT2 is not supplied, the output signal OUT1 and the output signal OUT2 are both maintained at a low potential (Low) regardless of the presence or absence of the detection medium. In this state, since the value of the output signal OUT1 and the value of the output signal OUT2 are not mutually inverted, it can be detected as abnormality.
[0062] (B) When the ground line 134 of the light receiver 104 is disconnected, since power is no longer supplied to the light receiver 104, the transistor 462 and the transistor 466 become non-conductive, and therefore, the output signal OUT1 and the output signal OUT2 are both low potential (Low). Therefore, the value of the output signal OUT1 and the value of the output signal OUT2 do not reverse between the high potential (Hi) and the low potential (Low), and can be detected as abnormality.
[0063] (C) When the first signal line 135 is disconnected, the output signal OUT1 becomes an open circuit in the circuit, so the output signal OUT1 and the output signal OUT2 are both at a low potential (Low). Therefore, the value of the output signal OUT1 and the value of the output signal OUT2 do not reverse between a high potential (Hi) and a low potential (Low), and can be detected as abnormal.
[0064] (D) When the second signal line 136 is disconnected, the output signal OUT2 becomes an open circuit in the circuit, so when there is no detection medium (no detection medium), the output signal OUT1 is a high potential (Hi) and the output signal OUT2 is a low potential (Low). On the other hand, when there is a detection medium (with detection medium), both the output signal OUT1 and the output signal OUT2 are low potentials (Low). When there is no detection medium, it becomes a combination of the same values as in normal state, so it cannot be detected in this state, but when the detection state changes, the value of the output signal OUT1 and the value of the output signal OUT2 will not reverse between the high potential (Hi) and the low potential (Low), so that it can be detected as abnormal.
[0065] As described above, no matter which wire connected to the light receiver 104 is disconnected, the abnormality can be detected. Figure 4 The same relationship also holds true when the logic shown is reversed. In this case, the output signal OUT1 in the table can be changed to the output signal OUT2, and the output signal OUT2 can be changed to the output signal OUT1.
[0066] In contrast, a wire break in the conductor connected to the light projector 102 cannot be detected as abnormal. Specifically, in either case (E) when the power line 131 of the light projector 102 is broken or (F) when the ground line 132 of the light projector 102 is broken, the light projector 102 does not emit the projection beam 8. In this state, the light receiver 104 cannot distinguish whether the projection beam 8 is shielded by the presence of the detection medium or whether the projection beam 8 is not emitted from the light projector 102. This state is constant regardless of the presence or absence of the detection medium.
[0067] That is, even if some adverse conditions occur on the path for supplying power to the light projector 102 and the light beam 8 cannot be irradiated, the normal state and the abnormal state cannot be distinguished because the output signal OUT1 and the output signal OUT2 corresponding to the light shielding state are output from the light receiver 104. In other words, even if the detection state changes, the abnormality cannot be detected.
[0068] In the transmissive photoelectric sensor 1 of the present embodiment, a structure is provided that can also detect a disconnection that may occur in the wire connected to the light emitter 102 as described above.
[0069] <D. Structure for Solving the Problem (One)>
[0070] Next, an example of the wiring structure of the photoelectric sensor 1 of the present embodiment will be described.
[0071] Figure 5 It is a schematic diagram showing an example of the wiring structure of the photoelectric sensor 1 of the present embodiment. Refer to Figure 5 , the photoelectric sensor 1 of the present embodiment includes a light emitter 2 and a light receiver 4, and power is supplied and signals are output via a connection part 30.
[0072] The photoelectric sensor 1 of the present embodiment outputs two signals that are inverted from each other as detection signals. By using these two inverted signals, not only can the light receiver 4 be detected, but also a malfunction that may occur in the light emitter 2 can be detected. The method for detecting this malfunction will be described in detail later. In addition to a light emitting part 22 and a power supply circuit 24, the light emitter 2 also has a signal output circuit 26. The signal output circuit 26 is a circuit that outputs a signal corresponding to the state of the light emitter 2.
[0073] Regarding the wiring structure of the light emitter 2, the power supply potential VCC supplied to the connection part 30 is input to the signal output circuit 26 of the light emitter 2 via a power supply line 31, and is also connected to one end of the power supply circuit 24. The ground potential GND supplied to the connection part 30 is input to the signal output circuit 26 of the light emitter 2 via a ground line 32, and is also connected to the other end of the power supply circuit 24. That is, the power supply circuit 24 of the light emitter 2 receives power supply via the power supply line 31 (first power supply line) and the ground line 32 that are connected to the outside of the light emitter 2. In the photoelectric sensor 1 of the present embodiment, the power supply line 31 and the ground line 32 extend to the connection part 30.
[0074] The power supply potential VCC supplied to the signal output circuit 26 is connected to a transistor 262.
[0075] The power supply circuit 24 of the light emitter 2 includes a monitoring circuit 25, and the monitoring circuit 25 also operates by receiving power supplied via the power supply line 31 (first power supply line) and the ground line 32. A drive line 266 is disposed between the gate of the transistor 262 and the monitoring circuit 25. The monitoring circuit 25 controls the conduction state of the transistor 262 (third switching element). That is, the monitoring circuit 25 activates or deactivates the drive line 266 according to the state of the light emitter 2. More specifically, as long as the light emitter 2 is in a sound state or as long as power is supplied to the power supply circuit 24, the drive line 266 is maintained in an activated state.
[0076] Regarding the wiring structure of the photoreceiver 4, the secondary power line 38 is connected to the power line 33 of the photoreceiver 4 at the connection portion 30. That is, the power supply potential VCC supplied to the signal output circuit 26 passes through the transistor 262 of the signal output circuit 26 and is supplied to the signal output circuit 46 via the secondary power line 38 and the power line 33. In this way, the photoreceiver 4 includes the transistor 262 (third switching element) disposed between one end of the secondary power line 38 (third power line) and the power line 31 (first power line).
[0077] Regarding the circuit structure of the signal output circuit 46 of the optical receiver 4 and the wiring structure between the first signal line 35 and the second signal line 36, Figure 3 The same, so the detailed description will not be repeated.
[0078] like Figure 5 As shown, a secondary power line 38 (third power line) is provided in the photoelectric sensor 1, one end of which is electrically connected to the power line 31 (first power line) inside the projector 2, and the other end is electrically connected to the power line 33 (second power line) outside the photoreceiver 4. In addition, the power line 33 (second power line) and the ground line 34 extend to the connecting portion 30. By adopting such a structure, the accuracy of abnormality detection such as disconnection can be improved compared with the related art described above.
[0079] In controller 6 (refer to Figure 1 ), the presence or absence of abnormality can be detected based on the combination of the values of the output signal OUT1 and the output signal OUT2. As one of such abnormalities detected, there is a break in the wire connecting the connecting portion 30 and the projector 2 or the light receiver 4 as described above.
[0080] The following, Figure 5 A function of detecting a disconnection in the photoelectric sensor 1 shown will be described. Figure 6 2 is a diagram showing changes in an output signal when a line break occurs in the photoelectric sensor 1 of the present embodiment. Figure 6 In the figure, except for the normal state where no line break occurs, the output results of the output signal OUT1 and the output signal OUT2 are shown respectively for the case where there is no detection medium (light incident state) and the case where there is a detection medium (light shielding state) for (A) the power line 33 of the light receiver 4 is broken, (B) the ground line 34 of the light receiver 4 is broken, (C) the first signal line 35 is broken, (D) the second signal line 36 is broken, (E) the power line 31 of the projector 2 is broken, (F) the ground line 32 of the projector 2 is broken, and (G) the secondary power line 38 of the projector 2 is broken.
[0081] like Figure 6 As shown, the photoelectric sensor 1 according to this embodiment, in a normal state without any disconnection, is similar to the above-mentioned photoelectric sensor 101 of the related art, and can determine whether a detection medium exists based on the output signal OUT1 and the output signal OUT2.
[0082] In addition, if Figure 6 As shown, according to the photoelectric sensor 1 of this embodiment, any of the following situations, namely (A) a disconnection of the power line 33 of the photoreceiver 4, (B) a disconnection of the ground line 34 of the photoreceiver 4, (C) a disconnection of the first signal line 35, and (D) a disconnection of the second signal line 36, can be detected as abnormal, similar to the photoelectric sensor 101 of the related technology described above.
[0083] Furthermore, the photoelectric sensor 1 according to the present embodiment is different from the photoelectric sensor 101 of the related art described above and can detect an abnormality in any of the following situations: (E) a disconnection of the power line 31 of the projector 2 and (F) a disconnection of the ground line 32 of the projector 2.
[0084] More specifically, (E) when the power line 31 of the light projector 2 is disconnected, since power is no longer supplied to either the light projector 2 or the light receiver 4, power for outputting the output signal OUT1 and the output signal OUT2 will no longer exist. As a result, regardless of whether the detection medium is present, the output signal OUT1 and the output signal OUT2 are both maintained at a low potential (Low). In this state, since the value of the output signal OUT1 and the value of the output signal OUT2 are not mutually inverted values, it can be detected as abnormality.
[0085] (F) When the ground line 32 of the light projector 2 is disconnected, since power is no longer supplied to the power supply circuit 24 of the light projector 2, the monitoring circuit 25 for activating the transistor 262 also stops operating. As a result, the path for supplying power to the light receiver 4 via the secondary power line 38 is cut off, and the output signal OUT1 and the output signal OUT2 are both maintained at a low potential (Low) regardless of whether the detection medium is present. In this state, since the value of the output signal OUT1 and the value of the output signal OUT2 are not mutually inverted values, it can be detected as an abnormality.
[0086] In the photoelectric sensor 1 of this embodiment, Figure 3 Compared with the photoelectric sensor 101 shown, a secondary power line 38 is added as a conductor connecting the connection portion 30 and the light projector 2. The secondary power line 38 may be disconnected, but the disconnection of the secondary power line 38 can also be detected.
[0087] (G) When the secondary power supply line 38 of the light projector 2 is disconnected, the power supply path from the light projector 2 to the light receiver 4 is cut off, and regardless of the presence or absence of the detection medium, both the output signal OUT1 and the output signal OUT2 are maintained at a low potential (Low). In this state, since the values of the output signal OUT1 and the output signal OUT2 are not inverted with respect to each other, an abnormality can be detected.
[0088] In addition, even if the Figure 6 shown logic is reversed, the same relationship holds. In this case, it is only necessary to rename the output signal OUT1 in the table to the output signal OUT2, and rename the output signal OUT2 to the output signal OUT1.
[0089] As described above, in the photoelectric sensor 1 of the present embodiment, even if any one of the wires connecting the connecting portion 30 and the light projector 2 and the wire connecting the connecting portion 30 and the light receiver 4 is disconnected, this abnormality can be reliably detected.
[0090] <E. Modification Example>
[0091] Regarding the photoelectric sensor 1 of the above-described present embodiment, the following modification examples can also be adopted.
[0092] (e1: Monitoring Circuit)
[0093] In Figure 5 the monitoring circuit 25 of the power supply circuit 24 shown, the state of the light projector 2 can also be monitored more precisely. For example, assume a situation where dirt adheres to the lens surface (light irradiation surface) of the light emitting portion 22 of the light projector 2, or the luminous flux amount of the light emitting element constituting the light emitting portion 22 decreases due to the service life. A function for detecting such an abnormal situation can also be provided in the monitoring circuit 25.
[0094] Figure 7 is a schematic diagram showing an example of the wiring structure of the photoelectric sensor 1A of Modification Example 1 of the present embodiment. Referring to Figure 7 , in the photoelectric sensor 1A of Modification Example 1 of the present embodiment, an irradiation state detection sensor 23 is arranged at a position close to the light emitting portion 22 of the light projector 2A. The irradiation state detection sensor 23 corresponds to a detector for monitoring the state of the light beam 8 irradiated from the light emitting portion 22. More specifically, the irradiation state detection sensor 23 is composed of a photodiode or the like, determines whether the intensity or illuminance of the light beam 8 irradiated from the light emitting portion 22 of the light projector 2A is above a specified value, and outputs its detection result to the monitoring circuit 25A.
[0095] In the monitoring circuit 25A, when the projection light beam 8 is irradiated in a predetermined state, the transistor 262 (third switching element) is maintained in the on state. More specifically, in the monitoring circuit 25A, regardless of the predetermined power supplied from the power supply circuit 24 to the light emitting unit 22, when the detection result from the irradiation state detection sensor 23 indicates that the intensity of the projection light beam 8 is lower than the predetermined value, the drive line 266 is turned into a non-activated state (Low). As a result, since the transistor 262 becomes non-conductive, the path for supplying power to the light receiver 4 is cut off. As a result, regardless of whether the detection medium is present, the output signal OUT1 and the output signal OUT2 both become low potential (Low) and are detected as abnormalities.
[0096] exist Figure 7 , as a typical example, an example of monitoring the intensity of the projection beam 8 irradiated from the light emitting unit 22 of the projector 2A is shown, but the present invention is not limited to this, and any state of the projector 2 may be monitored. Examples of monitoring objects include ambient temperature, internal temperature, quality of external power supply (voltage value, voltage variation rate, etc.), and capacity of an electrolytic capacitor mounted on the power supply circuit 24.
[0097] Furthermore, the voltage of the light-projection circuit may be monitored. When a light-emitting element such as an LED is turned off, the driving voltage of the light-projection circuit decreases, and thus the voltage decrease may be monitored to set the output signal of the light-projector to Low.
[0098] (e2: simplified structure)
[0099] In the photoelectric sensor 1 of the present embodiment described above, the following structure is adopted: by including the light projector 2 and the light receiver 4 in the path until the output signal OUT1 and the output signal OUT2 are output, an abnormality such as a disconnection is detected. Under such a technical concept, the circuit structure in the light projector 2 can be further simplified. An example of simplifying the circuit structure of the light projector 2 is described below.
[0100] Figure 8 Schematic diagram showing an example of a wiring structure of a photoelectric sensor 1B according to a second modification of the present embodiment. Figure 8 In the photoelectric sensor 1B of the second modification of the present embodiment, the circuit structure of the signal output circuit 26B of the light projector 2B is simplified. More specifically, the transistor 262 and the like are omitted, and one end of the secondary power line 38 is electrically connected to the power line 31. Even with such a simple circuit structure, a disconnection in the power line 31 and the like can be detected.
[0101] (e3: short circuit detection function)
[0102] In the above description, the function of detecting a possible disconnection in the conductive wires connecting the connection portion 30 and the light projector 2 or the light receiver 4 has been described. However, a possible short circuit between these conductive wires can also be detected.
[0103] Generally, a short circuit between a wire of the power supply potential VCC and a wire of the ground potential GND can be detected based on the magnitude of the current supplied, etc. In addition, regarding a short circuit between a wire of the power supply potential VCC or the ground potential GND and a wire of the output signal OUT1 or the output signal OUT2, in most cases, the output signal OUT1 or the output signal OUT2 indicates a value corresponding to the state, and therefore, the occurrence of an abnormality can be detected based on the values of these output signals OUT1 and OUT2.
[0104] Furthermore, an additional circuit for facilitating the detection of a short circuit may be provided in one or both of the signal output circuit 26 of the light projector 2 and the signal output circuit 46 of the light receiver 4 .
[0105] (e4: Shading command input)
[0106] In the above Figure 5 , Figure 7 , Figure 8 In the structure of the photoelectric sensor shown, there are three wires connected between the projectors 2, 2A, 2B and the connecting portion 30, which is one less than the four wires connecting the photoreceiver 4 and the connecting portion 30. It is reasonable and economical to use the same cable for the number of wires from the connecting portion 30 to 2, 2A, 2B and the number of wires from the connecting portion 30 to the photoreceiver 4. In the above example, it is also possible to connect the connecting portion 30 to each of the projectors 2, 2A, 2B and the photoreceiver 4 using a cable containing four wires.
[0107] When such a cable including four conductors is used, the remaining one conductor can be used for other purposes for the light projectors 2, 2A, and 2B.
[0108] As an example, a command for controlling the timing or irradiation state of the projection beam 8 from the projectors 2, 2A, 2B may be given from the controller 6 or the like. For example, when the command from the controller 6 is activated, a command (light shielding command input) such as masking the irradiation of the projection beam 8 from the projectors 2, 2A, 2B may be considered. By using such a light shielding command input, it is possible to prevent situations such as erroneous detection of the detection medium in certain operations.
[0109] (e5: output signal)
[0110] In the above description, a structure in which the output signal OUT1 and the output signal OUT2 take mutually inverted values is illustrated, but it is not necessary to be limited to such a structure. For example, the output signal OUT1 and the output signal OUT2 may also output the same value. In addition, a signal having a predetermined operation frequency may be output as a single output signal.
[0111] When the output signal OUT1 and the output signal OUT2 both output the same value, due to a disconnection of the signal line, different values will be output, so an abnormality can be detected. For example, when one of them is disconnected in a state where the output signal OUT1 is at a low potential (Low) and the output signal OUT2 is at a low potential (Low), since the low potential and the state of maintaining the low potential, an abnormal state cannot be detected, but an abnormal state can be detected by detecting a change in the state of the medium.
[0112] <F. Advantages>
[0113] According to the photoelectric sensor of the present embodiment, compared with the photoelectric sensor of the related art, by adding only one wire between the connection part and the light projector, a disconnection occurring in either the light projector or the light receiver can be reliably detected.
[0114] According to the photoelectric sensor of the present embodiment, the presence or absence of an abnormality can be detected in real time according to the combination of the values of the output signals. Therefore, it is not necessary to install a complicated logic for detecting an abnormality in a controller or the like.
[0115] According to the photoelectric sensor of the present embodiment, in addition to being able to detect an abnormality caused by a disconnection of the wire from the connection part to the light projector, an abnormality inside the light projector can also be detected. For example, by using the irradiation state detection sensor as described above, a state in which the light beam amount is reduced due to the service life of the light emitting element or the lens is contaminated and the light projection beam cannot be properly irradiated can be detected, and the abnormal state can be externally output.
[0116] Generally, in a structure that uses an input line such as light projection stop to confirm normal operation at an arbitrary timing, five terminals including a power supply line, a ground line, a light projector input line, a light receiver signal line, and a light receiver signal line are required. However, according to the photoelectric sensor of the present embodiment, only four terminals are used, so the ports can be used effectively and efficiently.
[0117] It should be considered that the embodiments disclosed this time are illustrative in all aspects and not restrictive. The scope of the present invention is shown not by the above description but by the claims, and includes meanings equivalent to the claims and all modifications within the scope.
[0118] Reference Numeral Explanation
[0119] 1, 1A, 1B, 101: photoelectric sensor; 2, 2A, 2B, 102: light projector; 4, 104: light receiver; 6: controller; 8: light beam; 10: conveyor; 12: workpiece; 22: light emitting unit; 23: irradiation state detection sensor; 24, 124: power supply circuit; 25, 25A: monitoring circuit; 26, 26B, 46: signal output circuit; 30, 130: connection unit; 31, 33 , 131, 133: power supply line; 32, 34, 132, 134: ground line; 35, 135: first signal line; 36, 136: second signal line; 38: secondary power supply line; 42: light receiving part; 44: detection circuit; 262, 462, 466: transistor; 266, 442, 446: drive line; 444: inverter circuit; GND: ground potential; OUT1, OUT2: output signal.
Claims
1. A photoelectric sensor comprising a light projector and a light receiver which are independent of each other, wherein: The light projector has: a light emitting portion that generates a projection beam; and a power supply circuit that receives power supply via a first power supply line connected to the outside of the projector and supplies required power to the light emitting unit, One end of a third power line is connected between the power circuit and the first power line. The light receiver comprises: a first switching element connected to the other end of the third power line and configured to output a first output signal; a second switch element connected to the other end of the third power line and configured to output a second output signal; as well as The detection circuit switches the conductive state of each of the first switching element and the second switching element according to the intensity of the detected light.
2. The photoelectric sensor according to claim 1, wherein: The photoelectric sensor further includes a connection portion to which power from an external power source is input and which outputs the first output signal and the second output signal. The first power line extends from the light projector to the connection portion.
3. The photoelectric sensor according to claim 1 or 2, wherein: The detection circuit switches the first switching element and the second switching element to different conduction states according to the intensity of the detected light.
