Photoelectric Sensor
Patent Information
- Application Number
- JP2021023499
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-02-17
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2041-02-17
Smart Images

Figure 0007561373000001 
Figure 0007561373000002 
Figure 0007561373000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to photoelectric sensors. [Background technology]
[0002] Conventionally, a photoelectric sensor used for detecting an object has a sensor unit, and a light-projecting section and a light-receiving section connected to the sensor unit. The light-projecting section and the light-receiving section are arranged on either side of an area through which an object passes. The sensor unit outputs a detection signal indicating the presence or absence of an object in a detection area between the light-projecting section and the light-receiving section based on the amount of light received by the light-receiving section. The photoelectric sensor is equipped with an indicator that displays the amount of light received by the light-receiving section (see, for example, Patent Document 1). In addition to the above-mentioned transmission-type photoelectric sensor, there is also a reflection-type photoelectric sensor in which the light-projecting section and the light-receiving section are integrally provided and which outputs a detection signal indicating the presence or absence of an object based on the amount of light received that is reflected by the object. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2013-076681 A Summary of the Invention [Problem to be solved by the invention]
[0004] Incidentally, the amount of light received by the light receiving section decreases due to the influence of the surrounding environment, such as the adhesion of dust and the like to the light projecting section and the light receiving section. The decrease in the amount of received light can cause erroneous detection. For this reason, as with the above-mentioned photoelectric sensor, it is necessary to check the amount of received light on a display provided in the sensor unit and perform processing such as removing dust and changing the threshold value for detecting the amount of received light. However, this requires going to the sensor unit to check, and depending on the installation state of the sensor unit, the display may be installed in an invisible place, making it difficult to check. [Means for solving the problem]
[0005] The photoelectric sensor disclosed herein includes a light-projecting unit that projects detection light, a light-receiving unit that receives the detection light, a detection unit that detects the presence or absence of an object to be detected based on the amount of the detection light received by the light-receiving unit and outputs a detection signal, and a signal generation unit that generates a received light amount signal having a pulse width corresponding to the amount of light based on the amount of the detection light received by the light-receiving unit and outputs the received light amount signal. Effect of the Invention
[0006] The photoelectric sensor of the present disclosure makes it easy to confirm the amount of received light based on the pulse width. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a schematic block diagram of a photoelectric sensor. [Diagram 2] FIG. [Diagram 3] Block diagram of a photoelectric sensor. [Figure 4] 4 is a flowchart showing the operation of a controller. [Diagram 5] FIG. 4 is a waveform diagram showing the operation of a controller. [Figure 6] FIG. 4 is a waveform diagram showing the operation of a controller. [Figure 7] FIG. 11 is a block diagram of a photoelectric sensor according to a modified example. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, one embodiment will be described with reference to FIGS. 1, a photoelectric sensor 10 detects the presence or absence of a detection object W. The detection object W is an object such as a circuit board or a resin molded product.
[0009] The photoelectric sensor 10 includes a light projector 11, a light receiver 12, and a controller 20. The light projector 11 includes a light projecting head 11a and a fiber optic cable 11b. The fiber optic cable 11b is connected to the controller 20. The controller 20 is configured to allow the fiber optic cable 11b to be detachably attached. The light receiver 12 includes a light receiving head 12a and a fiber optic cable 12b. The fiber optic cable 12b is connected to the controller 20. The controller 20 is configured to allow the fiber optic cable 12b to be detachably attached.
[0010] The controller 20 is connected to the processing device 100. For example, the processing device 100 has a general-purpose I / O port, and the controller 20 is connected to the general-purpose I / O port. The processing device 100 processes a detection object W. When the detection object W is a circuit board, the processing device 100 controls the transport of the detection object W (circuit board), mounts electronic components on the circuit board, and so on.
[0011] The light projecting head 11a and the light receiving head 12a are arranged so that the detection object W passes between them. For example, the light projecting head 11a and the light receiving head 12a are arranged across a transport path that transports the detection object W. The light projecting head 11a and the light receiving head 12a are fixed so as to face each other. The light receiving head 12a receives the detection light LW emitted from the light projecting head 11a. The detection object W blocks at least a part of the detection light LW traveling from the light projecting head 11a toward the light receiving head 12a. The amount of the detection light LW at the light receiving head 12a, that is, the amount of received light, changes (decreases) depending on the presence or absence of the detection object W. The controller 20 detects the presence or absence of the detection object W based on this change in the amount of received light. Then, the controller 20 outputs a detection signal K1 indicating the presence or absence of the detection object W.
[0012] The controller 20 inputs a predetermined external input signal CNX from the processing device 100. The external input signal CNX is an instruction (processing command) from the processing device 100 to perform a predetermined process on the photoelectric sensor 10. The controller 20 executes the process based on the external input signal CNX.
[0013] The processes in the photoelectric sensor 10 include, for example, a detection process, a teaching process, and a process for confirming the amount of incident light. The detection process is for performing normal detection operation and detection output. The teaching process is for avoiding saturation and for limit teaching. The process for confirming the amount of incident light is for outputting the amount of received light.
[0014] As described above, the normal detection operation and detection output involves emitting detection light LW from the light-projecting head 11a toward the light-receiving head 12a, detecting the presence or absence of a detection target W based on the amount of light received by the light-receiving head 12a, and outputting a detection signal K1. Saturation avoidance involves adjusting the amount of light projected by the light-projecting head 11a, i.e., the amount of detection light LW, so that the level of the light-receiving signal DW does not become saturated in the light-receiving circuit 23. Limit teaching involves setting a threshold value for determining the presence or absence of a detection target W. The amount of light received of the detection light LW set by saturation avoidance is set as a reference level, and a value lower than the reference level by a predetermined value (shift amount) is set as the threshold value.
[0015] The teaching process is performed, for example, when the distance between the light projecting head 11a and the light receiving head 12a (head distance) is changed. If the detection object W is small compared to the head distance, the change in the amount of detection light LW due to the detection object W, that is, the change in the amount of received light, is small. In this case, the detection object W between the light projecting head 11a and the light receiving head 12a may not be detected, that is, erroneous detection may occur. For this reason, the head distance is adjusted according to the size of the detection object W, that is, the head distance is reduced. Then, the amount of incident light of the detection light LW at the light receiving head 12a increases, and the light receiving signal DW becomes saturated. For this reason, the amount of light projected by the light projecting head 11a of the detection light LW is adjusted.
[0016] As shown in FIG. 2, the controller 20 includes an operation unit 26 and a display unit 27. The operation unit 26 includes a plurality of switches 26a, 26b, 26c, and 26d. The switch 26a is a switch for, for example, selecting a mode. The switches 26b to 26d are switches for changing a set value, etc. The controller 20 displays the amount of incident light (amount of received light) of the detection light LW at the light-receiving head 12a, a set value (threshold value), etc., on the display unit 27. Based on the amount of received light displayed on the display unit 27, it is possible to check the amount of incident light (amount of received light), adjust the positions of the light-projecting head 11a and the light-receiving head 12a, etc.
[0017] As shown in FIG. 3, the controller 20 includes a control circuit 21, a light projecting circuit 22, a light receiving circuit 23, an input circuit 24, an output circuit 25, a display unit 27, an operation unit 26, and a terminal unit . The light-projecting circuit 22 includes a light-projecting element 22a. The light-projecting circuit 22 drives the light-projecting element 22a to emit light corresponding to a light-projecting signal CW. The driven light-projecting element 22a emits light. The light emitted from the light-projecting element 22a is sent to the light-projecting head 11a via the fiber cable 11b. The light-projecting head 11a includes a lens of a predetermined shape and emits a strip-shaped light (detection light LW).
[0018] The light received by the light-receiving head 12a is sent to the light-receiving circuit 23 via the fiber cable 12b. The light-receiving circuit 23 includes a light-receiving element 23a. The light-receiving element 23a photoelectrically converts the light transmitted by the fiber cable 12b to generate a voltage signal. The light-receiving circuit 23 amplifies the voltage signal generated by the light-receiving element 23a and outputs the amplified signal as a light-receiving signal DW. This light-receiving signal DW is an analog signal at a level (voltage) corresponding to the amount of light received by the light-receiving head 12a and the amplification factor by which the voltage signal is amplified. The light-projecting head 11a, the fiber cable 11b, and the light-projecting circuit 22 (light-projecting element 22a) constitute a light-projecting section, and the light-receiving head 12a, the fiber cable 12b, and the light-receiving circuit 23 (light-receiving element 23a) constitute a light-receiving section.
[0019] The terminal unit 28 includes four terminals 28a, 28b, 28c, and 28d. The terminal unit 28 is configured as a connector for connecting a signal line, for example. The first terminal 28a and the fourth terminal 28d supply power to the controller 20. The first terminal 28a is supplied with an operating voltage VS, and the fourth terminal 28d is ground (GND). The operating voltage VS is supplied to the control circuit 21, the light projecting circuit 22, the light receiving circuit 23, the output circuit 25, and the input circuit 24. The second terminal 28b is an output terminal, and the above-mentioned detection signal K1 and the received light amount signal K2 are output toward the outside of the controller 20. The third terminal 28c is an input terminal, and the above-mentioned external input signal CNX is supplied from the outside of the controller 20, the processing device 100 shown in FIG. 1. The input circuit 24 is connected to the third terminal 28c. The input circuit 24 receives the external input signal CNX, and outputs an external command signal CNI corresponding to the external input signal CNX to the control circuit 21. The external input signal CNX is a pulse signal, and the input circuit 24 outputs an external command signal CNI with a pulse width equal to that of the external input signal CNX. Note that when the external command signal CNI (external input signal CNX) contains a pulse, it is considered that there is a signal input, and when it does not contain a pulse, it is considered that there is no signal input.
[0020] The control circuit 21 includes a control unit 31, a light projection control unit 32, a detection unit 33, a signal generation unit 34, a switching unit 35, and an input signal determination unit 36. The control circuit 21 can also be configured by an arithmetic processing unit such as a CPU.
[0021] The light-projection control unit 32 includes a storage unit 32a. The storage unit 32a stores the amount of light projection. The amount of light projection is set by operating the operation unit 26 and by a teaching process. The light-projection control unit 32 outputs a light-projection signal CW so that light according to the amount of light projection is emitted from the light-projecting element 22a of the light-projecting circuit 22.
[0022] The detection unit 33 inputs the light receiving signal DW. The detection unit 33 includes a storage unit 33a. The storage unit 33a stores a threshold value for judgment. This threshold value is set by the operation of the operation unit 26, a teaching process. The detection unit 33 compares the level of the light receiving signal DW (light receiving level DL) with the threshold value to detect the presence or absence of the detection target W. For example, the detection unit 33 includes an AD converter (analog-digital converter) and compares the level value of the light receiving signal DW with the threshold value. Then, the detection unit 33 outputs a detection signal K1 according to the detection result. For example, as shown in FIG. 5, the detection unit 33 outputs a detection signal K1 of a first level (e.g., H level) when the detection target W is detected, and outputs a detection signal K1 of a second level (e.g., L level) different from the first level when the detection target W is not detected.
[0023] The signal generating unit 34 receives the light receiving signal DW. The signal generating unit 34 generates a light receiving amount signal K2 having a pulse width corresponding to the level of the light receiving signal DW (light receiving level DL) and outputs the light receiving amount signal. For example, the signal generating unit 34 includes an AD converter and obtains the level value of the light receiving signal DW. The signal generating unit 34 then generates a light receiving amount signal K2 having a pulse width proportional to the level value. The signal generating unit 34 generates the light receiving amount signal K2 having a pulse width with the basic unit of the level value being 1 ms. For example, when the level value is "3000", the pulse width of the light receiving amount signal K2 is 3000 ms.
[0024] A proportionality coefficient may be set. The signal generating unit 34 has a storage unit 34a, and the proportionality coefficient is stored in the storage unit 34a. The signal generating unit 34 calculates the pulse width based on the level value and the proportionality coefficient. For example, the signal generating unit 34 multiplies the level value by the proportionality coefficient to obtain the pulse width.
[0025] The input signal determination unit 36 measures the pulse width of the external command signal CNI. The input signal determination unit 36 determines a processing command from the processing device 100 shown in FIG. 1 based on the pulse width. Then, the input signal determination unit 36 outputs an internal control signal corresponding to the processing command. The external input signal CNX (external command signal CNI) is generated by the processing device 100 so that the pulse width is identifiable by the input signal determination unit 36. In this embodiment, the pulse width of the external input signal CNX (external command signal CNI) is set to a first width value or a second width value. For example, the first width value is set to 250 ms, and the second width value is set to 150 ms. Note that the first width value and the second width value indicate a standard pulse width. Then, when the measured pulse width is a value within a predetermined range including the standard pulse width, the pulse width is determined to be the first width value or the second width value. The first width value and the second width value may be changed as appropriate.
[0026] For example, when the pulse width of the external command signal CNI (external input signal CNX) is a first width value, the external command signal CNI (external input signal CNX) indicates a received light amount output command. When the pulse width of the external command signal CNI is the first width value, the input signal determination unit 36 outputs a first internal control signal CN1. When the pulse width of the external command signal CNI (external input signal CNX) is a second width value, the external command signal CNI (external input signal CNX) indicates a teaching process command. When the pulse width of the external command signal CNI is the second width value, the input signal determination unit 36 outputs a second internal control signal CN2.
[0027] The control unit 31 outputs a first internal control signal CN1 to the switching unit 35. The switching unit 35 switches between the detection unit 33 and the signal generation unit 34. More specifically, the switching unit 35 switches between a state in which the detection unit 33 outputs a detection signal K1 and a state in which the signal generation unit 34 outputs a received light amount signal K2.
[0028] The switching unit 35 switches its state in response to a first internal control signal CN1. More specifically, when the first internal control signal CN1 is not input, the switching unit 35 sets the detection unit 33 to a state in which it outputs the detection signal K1. This causes the photoelectric sensor 10 to output the detection signal K1, which indicates the detection result of the detection object W, from the second terminal 28b of the terminal unit 28.
[0029] When the switching unit 35 receives the first internal control signal CN1, it switches the signal generating unit 34 to a state in which it outputs the received light amount signal K2. The signal generating unit 34 receives the first internal control signal CN1 and generates the received light amount signal K2 having a pulse width corresponding to the received light level DL at that time. Then, after a predetermined time has elapsed since the input of the first internal control signal CN1, the signal generating unit 34 outputs the received light amount signal K2 having a pulse width corresponding to the received light level DL. The time from the input of the first internal control signal CN1 to the pulse of the received light amount signal K2 is set as a third width value. The third width value is set to, for example, 250 ms. The third width value may be changed as appropriate.
[0030] That is, after the external input signal CNX indicating a received light amount output command is input, the photoelectric sensor 10 outputs, after the third width value has elapsed, a received light amount signal K2 having a pulse width corresponding to the received light level DL from the second terminal 28b of the terminal unit 28. Therefore, after outputting the external input signal CNX having a pulse width indicating the received light amount output command, the processing device 100 shown in Fig. 1 can receive the current received light level DL in the photoelectric sensor 10 based on the pulse width of the signal input after the third width value.
[0031] After a predetermined time has elapsed since the switching unit 35 switched to the signal generating unit 34, the switching unit 35 switches the state so that the detection unit 33 outputs the detection signal K1. The time at this time is set to a time sufficient for the pulse of the received light amount signal K2 to be output to the outside. More specifically, it is set to a time longer than the time corresponding to the maximum value of the received light level DL.
[0032] FIG. 4 shows a flow of processing in the control circuit 21. In step S1, the control circuit 21 determines whether or not there is an external input signal CNX. When the control circuit 21 determines that there is no external input signal CNX (determination: NO), the control circuit 21 proceeds to step S2, executes a normal detection operation and detection output, and outputs a detection signal K1.
[0033] When the control circuit 21 determines in step S1 that the external input signal CNX is present (determination: YES), the control circuit 21 proceeds to step S3 and executes pulse width measurement. The control circuit 21 measures the pulse width of the external input signal CNX, and proceeds to step S4.
[0034] In step S4, it is determined whether the pulse width is 150 ms (second width value). If it is determined that the pulse width is 150 ms (determination: YES), the control circuit 21 proceeds to step S5. In step S5, the control circuit 21 executes saturation avoidance and limit teaching processing.
[0035] In step S4, when it is determined that the pulse width is not 150 ms (determination: NO), the control circuit 21 proceeds to step S6. In step S6, the control circuit 21 determines whether the pulse width is 250 ms (second width value). When it is determined that the pulse width is 250 ms (determination : If the answer is YES, the control circuit 21 proceeds to step S7. In step S7, the control circuit 21 executes a received light amount output process.
[0036] In step S6, when it is determined that the pulse width is not 250 ms (determination: NO), the control circuit 21 proceeds to step S8. In step S8, the control circuit 21 executes a normal detection operation and detection output, and outputs a detection signal K1.
[0037] In FIG. 4, the process executed in step S8 is the same as the process executed in step S2. This is to suppress malfunctions with respect to the external input signal CNX. As shown in FIG. 1, the external input signal CNX is transmitted from the processing device 100 to the controller 20 of the photoelectric sensor 10 through a signal line WX. Depending on the state of the device that processes the detection object W detected by the photoelectric sensor 10, for example, during operation of the device, noise may be mixed into the signal transmitted through the signal line WX. The pulse width of the pulse generated in the external input signal CNX by such noise is different from the first width value (250 ms) and the second width value (150 ms). Therefore, when the first width value and the second width value are different, the normal detection operation and detection output are executed. This makes it possible to more reliably detect the detection object W.
[0038] (action) Next, the operation of the above-mentioned photoelectric sensor 10 will be described. FIG. 6 shows the external input signal CNX and the received light amount signal K2.
[0039] The control circuit 21 of the controller 20 shown in FIG. 3 measures the pulse width PW1 of the external input signal CNX. When the pulse width PW1 is a first width value (250 ms), the control circuit 21 outputs a light-receiving amount signal K2. At this time, after the external input signal CNX is determined, for example, after a predetermined time PW2 has elapsed from the pulse of the external input signal CNX, the control circuit 21 outputs a light-receiving amount signal K2 with a pulse width PW3 according to the light-receiving level. The processing device 100 shown in FIG. 1 measures the pulse width of the light-receiving amount signal K2 to obtain the light-receiving level in the photoelectric sensor 10. That is, in the processing device 100, the light-receiving level of the photoelectric sensor 10 can be confirmed by the pulse width of the light-receiving amount signal K2. This can save the operator the trouble of checking the display unit 27 of the photoelectric sensor 10. In addition, since there is no need to check the display unit 27 of the controller 20, the degree of freedom in arranging the controller 20 is increased. Furthermore, since the light receiving level of the photoelectric sensor 10 can be confirmed in the processing device 100, the processing device 100 can determine the state of dust and other particles adhering to the light projecting head 11a and the light receiving head 12a based on the confirmed light receiving level, and can notify the user of processing such as cleaning.
[0040] Another way to check the amount of light received is to use analog communication with an analog output type controller or serial communication with a communication unit. Return However, these other means require a unit for communication, which increases the cost of the equipment and requires a large space for installation. In this regard, the photoelectric sensor 10 of this embodiment has a simple configuration in which the controller 20 having the output circuit 25 is connected to a general-purpose I / O port of the processing device 100, and is capable of detecting the presence or absence of the detection target W and confirming the amount of received light.
[0041] The control circuit 21 of the controller 20 measures the pulse width of the external input signal CNX, and when the pulse width is the second width value (150 ms), performs saturation processing and limit teaching processing. Therefore, when the positions of the light-projecting head 11a and the light-receiving head 12a are changed according to the detection target W, the light projection amount and the threshold value can be easily set.
[0042] As described above, according to this embodiment, the following effects are achieved. (1) The photoelectric sensor 10 includes a projector 11 that projects a detection light LW, a receiver 12 that receives the detection light LW, and a controller 20. The controller 20 includes a detection unit 33 that detects the presence or absence of a detection target W based on the amount of detection light LW received by the receiver 12 and outputs a detection signal K1, and a signal generation unit 34 that generates a received-light-amount signal K2 having a pulse width according to the amount of light based on the amount of detection light LW received by the receiver 12 and outputs the received-light-amount signal K2. With this configuration, the amount of light received by the receiver 12 can be easily confirmed based on the pulse width of the received-light-amount signal K2.
[0043] (2) The controller 20 isThe controller 20 includes an output circuit 25 that outputs a detection signal K1 and a light-receiving amount signal K2 to the second terminal 28b, and a switching unit 35 that switches between a state in which the detection unit 33 outputs the detection signal K1 and a state in which the signal generation unit 34 outputs the light-receiving amount signal K2. With this configuration, the detection signal K1 and the light-receiving amount signal K2 can be output from the single second terminal 28b without changing the number of terminals. This can prevent the controller 20 from having to be reshaped or become larger due to an increase in the number of terminals.
[0044] (3) The controller 20 is The input circuit 24 is connected to the third terminal 28c and receives the external input signal CNX via the third terminal 28c, and the input signal determination unit 36 measures the pulse width of the external input signal CNX and generates a first internal control signal when the pulse width is a first width value. The switching unit 35 switches the signal generation unit 34 to a state in which the received light amount signal K2 is output in response to the first internal control signal, and switches the detection unit 33 to a state in which the detection signal K1 is output after outputting the received light amount signal K2. With this configuration, the output of the detection signal K1 and the received light amount signal K2 can be easily switched by the external input signal CNX having different pulse widths. By switching between a state in which the detection signal K1 is output and a state in which the received light amount signal K2 is output, both signals can be easily received without determining whether the signal output to the outside is the detection signal K1 or the received light amount signal K2.
[0045] (4) The input signal determination unit 36 generates a second internal control signal CN2 when the pulse width is a second width value. The controller 20 includes a control unit 31 that performs a teaching process in response to the second internal control signal CN2. With this configuration, for example, when the distance between the light-projecting head 11a and the light-receiving head 12a (head-to-head distance) is changed, it is possible to easily avoid saturation in the light-receiving circuit 23 and set a threshold value.
[0046] [Example of change] The description of the embodiments is merely an example of a form that the photoelectric sensor according to the present disclosure can take, and is not intended to limit the form. In addition to the embodiments, the present disclosure can take a form in which, for example, modified examples of the embodiments shown below, and at least two modified examples that are not mutually contradictory, are combined.
[0047] 7 shows a schematic block diagram of a modified photoelectric sensor 10a. The output circuit 25 of this photoelectric sensor 10a includes a first output circuit 25a connected to the detection unit 33 and a second output circuit 25b connected to the signal generation unit 34. By including the first output circuit 25a and the second output circuit 25b, a circuit configuration suitable for outputting a signal can be achieved.
[0048] In the photoelectric sensor 10a of the modified example shown in FIG. 7, the switching unit 35 may be configured to switch between the first output circuit 25a and the second output circuit 25b. The photoelectric sensor 10a of the modified example shown in FIG. 7 may be configured to include a terminal connected to the first output circuit 25a and a terminal connected to the second output circuit 25b.
[0049] The photoelectric sensors 10, 10a may be configured to include a timer unit. The timer unit may be configured to be included in the switching unit 35, a separate unit from the switching unit 35, or a unit included in the control unit 31. The timer unit may cause the signal generating unit 34 to output a light receiving amount signal at a set time. The set time may be set as appropriate to several hours, 24 hours equivalent to one day, a time equivalent to multiple days, or the like.
[0050] Also, the signal generating unit 34 may be set to a state in which it outputs a light receiving amount signal at a predetermined time as a set time by a timer unit. For example, the state may be switched in accordance with the time when the processing device 100 shown in FIG. 1 starts or ends its operation.
[0051] The photoelectric sensor may be configured such that the light-projecting element 22a is mounted on the light-projecting head 11a, and the light-receiving element 23a is mounted on the light-receiving head 12a. The switching unit 35 may be configured to switch between the detection unit 33 and the signal generation unit 34 based on the operation of the operation unit 26. For example, in the case where a plurality of photoelectric sensors are connected to the processing device 100 shown in Fig. 1, the processing device 100 obtains the light receiving level DL by operating the operation unit 26, and it is possible to easily determine whether or not the operated photoelectric sensor requires treatment such as cleaning.
[0052] In contrast to the above embodiment, the light projecting head 11a and the light receiving head 12a may be configured as an integrated light projecting and receiving head, and a photoelectric sensor may be used that outputs a detection signal according to the presence or absence of the detection object W based on the light reflected from the detection object W. Also, a photoelectric sensor may be configured in such a way that the light projecting element 22a and the light receiving element 23a are mounted on the light projecting and receiving head. A photoelectric sensor may be configured in such a way that the light projecting and receiving head and the controller are integrated. (Appendix 1) a light projecting unit that projects detection light; a light receiving unit that receives the detection light; a detection unit that detects the presence or absence of a detection target based on the amount of the detection light received by the light receiving unit and outputs a detection signal; a signal generating unit that generates a received-light-amount signal having a pulse width corresponding to the amount of the detection light received by the light receiving unit based on the amount of the detection light received by the light receiving unit, and outputs the received-light-amount signal; A photoelectric sensor comprising: (Appendix 2) an output circuit that outputs the detection signal and the received light amount signal to an output terminal; a switching unit that switches between a state in which the detection unit outputs the detection signal and a state in which the signal generation unit outputs the light reception amount signal; 2. The photoelectric sensor of claim 1, comprising: (Appendix 3) an input circuit connected to an input terminal and receiving an external input signal via the input terminal; an input signal determination unit that measures a pulse width of the external input signal and generates a first internal control signal when the pulse width is a first width value; Equipped with the switching unit switches to a state in which the signal generating unit outputs the received light amount signal in response to the first internal control signal, and switches to a state in which the detecting unit outputs the detection signal after outputting the received light amount signal. 3. The photoelectric sensor according to claim 2. (Appendix 4) the switching unit switches to a state in which the signal generating unit outputs the received light amount signal after a set time, and switches to a state in which the detecting unit outputs the detection signal after outputting the received light amount signal; 3. The photoelectric sensor according to claim 2. (Appendix 5) the switching unit switches to a state in which the signal generating unit outputs the received light amount signal based on an operation of an operating unit, and switches to a state in which the detecting unit outputs the detection signal after outputting the received light amount signal. 3. The photoelectric sensor according to claim 2. (Appendix 6) an input circuit connected to an input terminal and receiving an external input signal via the input terminal; an input signal determination unit that measures a pulse width of the external input signal and generates a first internal control signal when the pulse width is a first width value; Equipped with The switching unit switches the state in which the signal generating unit outputs the light receiving amount signal in response to the first internal control signal. 6. The photoelectric sensor according to claim 4 or 5. (Appendix 7) the input signal determination unit generates a second internal control signal when the pulse width is a second width value; A control unit that performs a teaching process in response to the second internal control signal. 7. The photoelectric sensor according to claim 3 or 6. (Appendix 8) The output circuit includes: a first output circuit that outputs the detection signal to the output terminal; a second output circuit that outputs the received light amount signal to the output terminal; 8. The photoelectric sensor according to claim 2, further comprising: [Explanation of symbols]
[0053] 10,10a Photoelectric sensor 11 Floodlight 11a Projection head 11b fiber optic cable 12 Receiver 12a Receiving head 12b fiber optic cable 20 Controller 21 Control circuit 22 Light emitter circuit 22a Light emitting element 23 Photoreceiver circuit 23a Photodetector 24 Input circuit 25 Output circuit 25a First output circuit 25b 2nd output circuit 26 Control section 27 Display section 28 Terminal section 28a 1st terminal 28b 2nd terminal 28c 3rd terminal 28d 4th terminal 31 Control Unit 32 Light projection control section 32a Storage section 33 Detection unit 33a Storage section 34 Signal Generation Unit 34a Storage section 35 Switching section 36 Input signal judgement section 100 Processing equipment CN1 First internal control signal CN2 Second internal control signal CNI external command signal CNX external input signal CW light emission signal DL light receiving level DW Light receiving signal K1 detection signal K2 Received light amount signal LW Detected light PW1 Pulse width PW2 Prescribed time PW3 Pulse width S1~S8 steps VS Operating Voltage W Detection target WX signal line
Claims
1. a light projecting unit that projects detection light; a light receiving unit that receives the detection light; a detection unit that detects the presence or absence of a detection target based on the amount of the detection light received by the light receiving unit and outputs a detection signal; a signal generating unit that generates a received-light-amount signal having a pulse width corresponding to the amount of the detection light received by the light receiving unit based on the amount of the detection light received by the light receiving unit, and outputs the received-light-amount signal; an output circuit that outputs the detection signal and the received light amount signal to an output terminal; a switching unit that switches between a state in which the detection unit outputs the detection signal and a state in which the signal generation unit outputs the light reception amount signal; A photoelectric sensor comprising:
2. an input circuit connected to an input terminal and receiving an external input signal via the input terminal; an input signal determination unit that measures a pulse width of the external input signal and generates a first internal control signal when the pulse width is a first width value; Equipped with the switching unit switches to a state in which the signal generating unit outputs the received light amount signal in response to the first internal control signal, and switches to a state in which the detecting unit outputs the detection signal after outputting the received light amount signal. The photoelectric sensor according to claim 1 .
3. the switching unit switches to a state in which the signal generating unit outputs the received light amount signal after a set time, and switches to a state in which the detecting unit outputs the detection signal after outputting the received light amount signal; The photoelectric sensor according to claim 1 .
4. the switching unit switches to a state in which the signal generating unit outputs the received light amount signal based on an operation of an operating unit, and switches to a state in which the detecting unit outputs the detection signal after outputting the received light amount signal. The photoelectric sensor according to claim 1 .
5. an input circuit connected to an input terminal and receiving an external input signal via the input terminal; an input signal determination unit that measures a pulse width of the external input signal and generates a first internal control signal when the pulse width is a first width value; Equipped with the switching unit switches the state in which the signal generating unit outputs the light receiving amount signal in response to the first internal control signal; The photoelectric sensor according to claim 3 or 4.
6. the input signal determination unit generates a second internal control signal when the pulse width is a second width value; A control unit that performs a teaching process in response to the second internal control signal. The photoelectric sensor according to claim 2.
7. The output circuit includes: a first output circuit that outputs the detection signal to the output terminal; a second output circuit that outputs the received light amount signal to the output terminal; The photoelectric sensor of claim 1 , comprising:
Citation Information
Patent Citations
Photoelectric switch
JP1994094843A
Photoelectric sensor
JP1997083333A
Sensor device
JP2009122120A
Photoelectric switch with communication function, and photoelectric switch system
JP2011199448A
Sensor unit and sensor system
JP2013076681A
